projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Use pointers for nir_src_copy and nir_dest_copy
[mesa.git]
/
src
/
glsl
/
nir
/
nir_lower_samplers.cpp
diff --git
a/src/glsl/nir/nir_lower_samplers.cpp
b/src/glsl/nir/nir_lower_samplers.cpp
index 99f31fc028197176eef96cd6d09bcd86549f7022..dca086d709e8286fc88a7254ab79832e68fbd628 100644
(file)
--- a/
src/glsl/nir/nir_lower_samplers.cpp
+++ b/
src/glsl/nir/nir_lower_samplers.cpp
@@
-102,7
+102,7
@@
lower_sampler(nir_tex_instr *instr, struct gl_shader_program *shader_program,
nir_instr_rewrite_src(&instr->instr,
&instr->src[instr->num_srcs - 1].src,
-
nir_src_copy(deref_array->indirect, mem_ctx)
);
+
deref_array->indirect
);
instr->sampler_array_size = glsl_get_length(deref->type);