16 May
2023
16 May
'23
9:52 a.m.
Giovanni Mascellani (@giomasce) commented about tests/uav-rwbuffer.shader_test:
+[pixel shader] +struct s +{ + float3 a; +}; + +RWBuffer<float4> u : register(u2); +RWBuffer<float> u1; +RWBuffer<float2x2> u2; +RWBuffer<struct s> u3; + +float4 main() : sv_target1 +{ + u[0] = float4(11.1, 12.2, 13.3, 14.4); + return 0; +} Mostly to validate the parser, could we read and write the `struct` field too?
And the same for structured buffers. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/193#note_32857