Yuhang
Yuhang

Reputation: 11

Array access out of bound in dx11 hlsl

what will happen if the shader access an array with error index in hlsl?

where can find dx spec about this?

I wanna know the right behavior that the driver should execute in this situation,

such as

float4 x0[3]; r0 = x0[100];

Upvotes: 0

Views: 33

Answers (0)

Related Questions