projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spirv: Use nir_var_mem_constant for UniformConstant data in CL
[mesa.git]
/
src
/
compiler
/
spirv
/
nir_spirv.h
diff --git
a/src/compiler/spirv/nir_spirv.h
b/src/compiler/spirv/nir_spirv.h
index 3d6f74e43ca9337952a7f9743c0d999cb805e6ed..dd7b5b36996eea3099861d638d1a34edd891e7f3 100644
(file)
--- a/
src/compiler/spirv/nir_spirv.h
+++ b/
src/compiler/spirv/nir_spirv.h
@@
-64,6
+64,10
@@
struct spirv_to_nir_options {
*/
bool frag_coord_is_sysval;
*/
bool frag_coord_is_sysval;
+ /* Whether to keep ViewIndex as an input instead of rewriting to a sysval.
+ */
+ bool view_index_is_input;
+
struct spirv_supported_capabilities caps;
/* Address format for various kinds of pointers. */
struct spirv_supported_capabilities caps;
/* Address format for various kinds of pointers. */
@@
-74,6
+78,7
@@
struct spirv_to_nir_options {
nir_address_format shared_addr_format;
nir_address_format global_addr_format;
nir_address_format temp_addr_format;
nir_address_format shared_addr_format;
nir_address_format global_addr_format;
nir_address_format temp_addr_format;
+ nir_address_format constant_addr_format;
/* Whether UniformConstant memory should be treated as normal global memory.
* This is usefull for CL 2.0 implementations with fine grain system SVM
/* Whether UniformConstant memory should be treated as normal global memory.
* This is usefull for CL 2.0 implementations with fine grain system SVM