projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: add nir_var_shader_storage
[mesa.git]
/
src
/
glsl
/
nir
/
nir_lower_alu_to_scalar.c
diff --git
a/src/glsl/nir/nir_lower_alu_to_scalar.c
b/src/glsl/nir/nir_lower_alu_to_scalar.c
index 25bba4ef0b6a7f98c219abfb629bcfd3e8826c2e..5d15fb2bc32ff8476c663566f118c2b4859d042a 100644
(file)
--- a/
src/glsl/nir/nir_lower_alu_to_scalar.c
+++ b/
src/glsl/nir/nir_lower_alu_to_scalar.c
@@
-164,7
+164,7
@@
lower_alu_to_scalar_block(nir_block *block, void *data)
{
nir_foreach_instr_safe(block, instr) {
if (instr->type == nir_instr_type_alu)
- lower_alu_instr_scalar(
(nir_alu_instr *)instr
, data);
+ lower_alu_instr_scalar(
nir_instr_as_alu(instr)
, data);
}
return true;