projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a8c9d
)
nir/intrinsics: Add a load_push_constant intrinsic
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 30 Oct 2015 04:35:27 +0000
(21:35 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 30 Oct 2015 05:26:00 +0000
(22:26 -0700)
src/glsl/nir/nir_intrinsics.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_intrinsics.h
b/src/glsl/nir/nir_intrinsics.h
index e13951081e9eadd557e8c1dc5848128be9082b23..b2ceff566cf4dcd72a0f49d7b41e91062fc1437d 100644
(file)
--- a/
src/glsl/nir/nir_intrinsics.h
+++ b/
src/glsl/nir/nir_intrinsics.h
@@
-252,6
+252,7
@@
LOAD(ubo, 1, 2, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
LOAD(input, 0, 1, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
LOAD(per_vertex_input, 1, 1, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
LOAD(ssbo, 1, 1, NIR_INTRINSIC_CAN_ELIMINATE)
+LOAD(push_constant, 0, 1, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
/*
* Stores work the same way as loads, except now the first register input is