KhronosGroup / GLSL

GLSL Shading Language Issue Tracker
328 stars 96 forks source link

Add sampler3DShadow support #153

Closed archimedus closed 3 years ago

archimedus commented 3 years ago

Extending depth texture tests in CTS I noticed that we do not have sampler3DShadow, though Vulkan (and it SPIR-V) allows it.

We have support in GLSL for almost all depth texture types (sampler2DShadow, samplerCubeShadow, sampler2DArrayShadow, sampler1DShadow, sampler1DArrayShadow, and samplerCubeArrayShadow). May be it's worthy to extend GLSL with support of sampler3DShadow?

Also appropriate overloads for functions like texture() will be required.

Internal vk-gl-cts issue 2521.

gnl21 commented 3 years ago

It may be that Vulkan does not intend to allow this. This will be resolved inside Khronos.

gnl21 commented 3 years ago

Vulkan has clarified that this is not allowed, so there's no need for GLSL support.