HLSL: phase 1: add RWTexture and RWBuffer
There's a lot to do for RWTexture and RWBuffer, so it will be broken up into
several PRs. This is #1.
This adds RWTexture and RWBuffer support, with the following limitations:
* Only 4 component formats supported
* No operator[] yet
Those will be added in other PRs.
This PR supports declarations and the Load & GetDimensions methods. New tests are
added.
Showing
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Test/hlsl.getdimensions.rw.dx10.frag
0 → 100644
Test/hlsl.load.rwbuffer.dx10.frag
0 → 100644
Test/hlsl.load.rwtexture.array.dx10.frag
0 → 100644
Test/hlsl.load.rwtexture.dx10.frag
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment