-
Notifications
You must be signed in to change notification settings - Fork 953
Open
Description
With EXT_descriptor_heap, set decoration is completely virtual and can take any value. However, when compiling this shader
#version 450
layout(set = 300, binding = 400) uniform sampler2D blah;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = texture(blah, vec2(0.5));
}
/tmp/test.frag
ERROR: /tmp/test.frag:3: 'set' : set is too large
ERROR: /tmp/test.frag:3: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point
It would be good to have some way to bypass this limit from the CLI and API. This is causing problems in vkd3d-proton since we use rather large set values to parcel out the set space to tables vs root desc vs root constant, etc.
Reactions are currently unavailable