Restrict the size of shader arrays.
This prevents overflow issues in the HLSL translator and some drivers. The
limit it hard-coded to 65536 to be larger than the Shader Model 5 register
limit (4096) to account for register allocation optimizations and future
Reviewed-by: Jamie Madill <email@example.com>
Tested-by: Nicolas Capens <firstname.lastname@example.org>
1 file changed