diff options
author | Jason Ekstrand <[email protected]> | 2015-08-06 14:26:47 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-08-12 14:12:47 -0700 |
commit | 078aef0e97bf7e0cc8fae4d541d5035ff6c29ad7 (patch) | |
tree | 1d0163d62ac9a1343a4ecf514fb731fe063e86f1 | |
parent | 91698d1206b86ef1710291213145275a2dd06dd7 (diff) |
i965/shader: Don't use OptimizeForAOS for NIR vec4 vertex shaders
Shader-db results for vec4 programs using NIR on HSW:
total instructions in shared programs: 1838157 -> 1828469 (-0.53%)
instructions in affected programs: 275978 -> 266290 (-3.51%)
helped: 2827
HURT: 244
GAINED: 0
LOST: 0
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eduardo Lima Mitev <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 2a1e469fa07..6b928060ef0 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -129,8 +129,8 @@ brw_compiler_create(void *mem_ctx, const struct brw_device_info *devinfo) */ compiler->glsl_compiler_options[MESA_SHADER_VERTEX].EmitNoIndirectOutput = true; compiler->glsl_compiler_options[MESA_SHADER_VERTEX].EmitNoIndirectTemp = true; + compiler->glsl_compiler_options[MESA_SHADER_VERTEX].OptimizeForAOS = false; } - compiler->glsl_compiler_options[MESA_SHADER_VERTEX].OptimizeForAOS = false; compiler->glsl_compiler_options[MESA_SHADER_VERTEX].NirOptions = nir_options; } |