mesa: Remove the EmitNVTempInitialization shader compiler option.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 14 Oct 2012 22:24:55 +0000 (15:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Oct 2012 18:24:34 +0000 (11:24 -0700)
Nobody uses it anymore.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/main/mtypes.h

index c12ebccf067d6fd80c8088b28b4a1375a7537060..4196e021add6b03b0df3cba0743130c3c99425e4 100644 (file)
@@ -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;
index 77865eea9c69a6cdfa19e740d600dba23148869f..0bbc5536f114a5caba9ac68711bfa7824f3cbba5 100644 (file)
@@ -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? */