summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-10-14 15:24:55 -0700
committerKenneth Graunke <kenneth@whitecape.org>2012-10-16 11:24:34 -0700
commit7742952f7eaf0af475aeff28a3ec084762d0ed23 (patch)
tree7981a5a09bdea20cee967df6944bf951dc473004
parent7487b1612824edbef620ea20e5deb1d4f640db31 (diff)
downloadexternal_mesa3d-7742952f7eaf0af475aeff28a3ec084762d0ed23.zip
external_mesa3d-7742952f7eaf0af475aeff28a3ec084762d0ed23.tar.gz
external_mesa3d-7742952f7eaf0af475aeff28a3ec084762d0ed23.tar.bz2
mesa: Remove the EmitNVTempInitialization shader compiler option.
Nobody uses it anymore. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c1
-rw-r--r--src/mesa/main/mtypes.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index c12ebcc..4196e02 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -226,7 +226,6 @@ brwCreateContext(int api,
for (i = 0; i <= MESA_SHADER_FRAGMENT; i++) {
ctx->ShaderCompilerOptions[i].MaxIfDepth = intel->gen < 6 ? 16 : UINT_MAX;
ctx->ShaderCompilerOptions[i].EmitCondCodes = true;
- ctx->ShaderCompilerOptions[i].EmitNVTempInitialization = true;
ctx->ShaderCompilerOptions[i].EmitNoNoise = true;
ctx->ShaderCompilerOptions[i].EmitNoMainReturn = true;
ctx->ShaderCompilerOptions[i].EmitNoIndirectInput = true;
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 77865ee..0bbc553 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2445,7 +2445,6 @@ struct gl_shader_compiler_options
{
/** Driver-selectable options: */
GLboolean EmitCondCodes; /**< Use condition codes? */
- GLboolean EmitNVTempInitialization; /**< 0-fill NV temp registers */
GLboolean EmitNoLoops;
GLboolean EmitNoFunctions;
GLboolean EmitNoCont; /**< Emit CONT opcode? */