glsl/types: Add a bare "sampler" type

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 13 February 2016 19:22 UTC

This is to be used by SPIR-V for representing a sampler that isn't attached to any particular image. In SPIR-V, all of the interesting bits such as dimensionality, sampled type, etc. come from the image, the bare "sampler" type simply uses a sampled type of VOID and 0 values for the rest.

5ec6a65 glsl/types: Add a bare "sampler" type
src/compiler/builtin_type_macros.h | 1 +
1 file changed, 1 insertion(+)

Upstream: cgit.freedesktop.org


  • Share