HLSL: allow destination swizzles when writing RWTexture/RWBuffer objects.
Reads and write syntax to UAV objects is turned into EOpImageLoad/Store
operations. This translation did not support destination swizzles,
for example, "mybuffer[tc].zyx = 3;", so such statements would fail to
compile. Now they work.
Parial updates are explicitly prohibited.
New test: hlsl.rw.swizzle.frag
Showing
Test/baseResults/hlsl.rw.swizzle.frag.out
0 → 100644
This diff is collapsed.
Click to expand it.
Test/hlsl.rw.swizzle.frag
0 → 100644
Please
register
or
sign in
to comment