Disable bounds testing on inline UBO in descriptor

* Inline UBOs do not have bounds checking/robust access
This commit is contained in:
baldurk
2025-07-09 14:23:07 +01:00
parent d04306bb92
commit 378474d79c
+2 -1
View File
@@ -174,7 +174,8 @@ void main()
// j - rays
#elif TEST == 10
// inline UBO, named 'descbuf' instead of k to match resource name
Color = descbuf.data[1] + descbuf.data[2];
// we don't do a robustness check because inline UBOs don't provide bounds checking
Color = descbuf.data[1];
#elif TEST == 11
Color = textureLod(sampler2D(e, l), uv, 0.0);
#elif TEST == 12