projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/spirv: Array lengths are constants not literals
[mesa.git]
/
src
/
glsl
/
ir_builder.cpp
diff --git
a/src/glsl/ir_builder.cpp
b/src/glsl/ir_builder.cpp
index cd03859cac084661b2c67e0e1ad9783c74454fed..c9cf1240dfebca5baefb02ac72b90f4e2b065ae1 100644
(file)
--- a/
src/glsl/ir_builder.cpp
+++ b/
src/glsl/ir_builder.cpp
@@
-566,6
+566,12
@@
csel(operand a, operand b, operand c)
return expr(ir_triop_csel, a, b, c);
}
+ir_expression *
+bitfield_extract(operand a, operand b, operand c)
+{
+ return expr(ir_triop_bitfield_extract, a, b, c);
+}
+
ir_expression *
bitfield_insert(operand a, operand b, operand c, operand d)
{