12 May
2023
12 May
'23
5:34 p.m.
Ethan Lee (@flibitijibibo) commented about tests/array-index-expr.shader_test:
+draw quad +probe all rgba (12.0, 12.0, 12.0, 12.0) +uniform 0 float 2 +draw quad +probe all rgba (13.0, 13.0, 13.0, 13.0) +uniform 0 float 3 +draw quad +probe all rgba (14.0, 14.0, 14.0, 14.0) + + +[pixel shader todo] +uniform float2 i; + +float4 main() : sv_target +{ + float4 f[3] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; Does it matter if this is a const array or a uniform? I suppose either way we can obsolete !189 with this MR, whether we need a separate test or not.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/207#note_32663