aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.cpp
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-07-01 09:51:25 +0200
committerJason Ekstrand <[email protected]>2015-08-03 09:40:50 -0700
commit38fc4a91cd5c04fdd5921b8776f8e203513ab517 (patch)
tree6ad861d305e8f0c48a68e5ec6387f2c08f6e3a50 /src/mesa/drivers/dri/i965/brw_vec4.cpp
parent418c004f802e63ca4e9f3456a46498d2fc543854 (diff)
i965/nir: Enable NIR-vec4 pass on geometry shaders
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 6f6e6271a91..8d83887c2ad 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1721,7 +1721,7 @@ bool
vec4_visitor::run(gl_clip_plane *clip_planes)
{
bool use_vec4_nir =
- compiler->glsl_compiler_options[MESA_SHADER_VERTEX].NirOptions != NULL;
+ compiler->glsl_compiler_options[stage].NirOptions != NULL;
sanity_param_count = prog->Parameters->NumParameters;