summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-11-12 13:32:13 -0800
committerKenneth Graunke <kenneth@whitecape.org>2015-11-16 16:24:44 -0800
commit44d6c0c805d2911cc5dfe853e5bc5a505f87775f (patch)
tree1a6dc97e37963b7ceb973cc46a09fc1618f86dfc /src/mesa/drivers/dri/i965/brw_compiler.h
parenta2611ffe4b5f1852c59301f086b988233a1c62f3 (diff)
downloadexternal_mesa3d-44d6c0c805d2911cc5dfe853e5bc5a505f87775f.zip
external_mesa3d-44d6c0c805d2911cc5dfe853e5bc5a505f87775f.tar.gz
external_mesa3d-44d6c0c805d2911cc5dfe853e5bc5a505f87775f.tar.bz2
i965: Convert scalar_* flags to a scalar_stage array.
I was going to add scalar_tcs and scalar_tes flags, and then thought better of it and decided to convert this to an array. Simpler. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index e3a26d6..3f54616 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -89,8 +89,7 @@ struct brw_compiler {
void (*shader_debug_log)(void *, const char *str, ...) PRINTFLIKE(2, 3);
void (*shader_perf_log)(void *, const char *str, ...) PRINTFLIKE(2, 3);
- bool scalar_vs;
- bool scalar_gs;
+ bool scalar_stage[MESA_SHADER_STAGES];
struct gl_shader_compiler_options glsl_compiler_options[MESA_SHADER_STAGES];
};