projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b5db1
)
anv/pipeline: Use the right mask for lower_indirect_derefs
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 Apr 2016 22:12:41 +0000
(15:12 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 Apr 2016 22:13:29 +0000
(15:13 -0700)
src/intel/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_pipeline.c
b/src/intel/vulkan/anv_pipeline.c
index 90732dba9615bfcd7e492173dfca819ec2cbbf05..a215a377a967a0eded04f044a5c50102d86057bd 100644
(file)
--- a/
src/intel/vulkan/anv_pipeline.c
+++ b/
src/intel/vulkan/anv_pipeline.c
@@
-174,11
+174,11
@@
anv_shader_compile_to_nir(struct anv_device *device,
nir_shader_gather_info(nir, entry_point->impl);
-
uint32_t
indirect_mask = 0;
+
nir_variable_mode
indirect_mask = 0;
if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
- indirect_mask |=
(1 << nir_var_shader_in)
;
+ indirect_mask |=
nir_var_shader_in
;
if (compiler->glsl_compiler_options[stage].EmitNoIndirectTemp)
- indirect_mask |=
1 <<
nir_var_local;
+ indirect_mask |= nir_var_local;
nir_lower_indirect_derefs(nir, indirect_mask);