Skip to content

vkd3d-shader/hlsl: Add an explicit cast to uint for array index access.

Nikolay Sivov requested to merge nsivov/vkd3d:array_index into master

Parameter copy creates uint1 variable, and later that breaks due to type mismatch (with 'uint'), when offset expression is constructed.

I tried to add a rendering test too, but that for some reason failed for me in d3d12 runner, as soon as I added input parameter.

Merge request reports

Loading