Semantically, -1 means "Unknown; don't validate" but it's really only used for derefs because they often need to be flexible. We don't really need that flexibility for image intrinsics but this makes it more consistent. More immediately useful is that this gives us the ability to tell _deref forms of these intrinsics apart from the lowered ones. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11849> |
||
---|---|---|
.. | ||
glsl | ||
nir | ||
spirv | ||
builtin_type_macros.h | ||
glsl_types.cpp | ||
glsl_types.h | ||
meson.build | ||
nir_types.cpp | ||
nir_types.h | ||
shader_enums.c | ||
shader_enums.h | ||
shader_info.h |