mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Test out-of-bounds descriptor access in D3D12 indexing test
This commit is contained in:
@@ -102,7 +102,11 @@ float4 main(v2f IN) : SV_Target0
|
||||
for(int i=0; i < 100; i++)
|
||||
{
|
||||
tex_ref t = buf[i];
|
||||
if(t.tex == 100) break;
|
||||
if(t.tex == 100)
|
||||
{
|
||||
ret += texArray1[t.binding*100].SampleLevel(s, uv.xy, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
if(t.tex == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user