Simplify descriptor setup

Refs #1157
This commit is contained in:
Sascha Willems 2024-10-06 15:17:11 +02:00
parent 6b91f3c493
commit a2d5a1fd44
18 changed files with 41 additions and 68 deletions

View file

@ -11,16 +11,12 @@ layout(push_constant) uniform PushConsts {
uint cascadeIndex;
} pushConsts;
layout (binding = 0) uniform UBO {
layout (set = 0, binding = 3) uniform UBO {
mat4[SHADOW_MAP_CASCADE_COUNT] cascadeViewProjMat;
} ubo;
layout (location = 0) out vec2 outUV;
out gl_PerVertex {
vec4 gl_Position;
};
void main()
{
outUV = inUV;