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_[iu]shr_imm and nir_udiv_imm helpers and use them.
[mesa.git]
/
src
/
compiler
/
nir
/
nir_builtin_builder.c
diff --git
a/src/compiler/nir/nir_builtin_builder.c
b/src/compiler/nir/nir_builtin_builder.c
index d35542c50a99d9e79c335d46964891035782c78b..3a66eba2c8c4ecb37e36f3eee8480c3216860a9a 100644
(file)
--- a/
src/compiler/nir/nir_builtin_builder.c
+++ b/
src/compiler/nir/nir_builtin_builder.c
@@
-375,7
+375,7
@@
nir_get_texture_size(nir_builder *b, nir_tex_instr *tex)
nir_tex_instr_dest_size(txs), 32, NULL);
nir_builder_instr_insert(b, &txs->instr);
- return
nir_i2f32(b, &txs->dest.ssa)
;
+ return
&txs->dest.ssa
;
}
nir_ssa_def *