mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Disable bounds testing on inline UBO in descriptor
* Inline UBOs do not have bounds checking/robust access
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user