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.
This commit is contained in:
parent
9065ed83b8
commit
bb0183f817
14 changed files with 2483 additions and 39 deletions
|
|
@ -111,6 +111,7 @@ INSTANTIATE_TEST_CASE_P(
|
|||
{"hlsl.gatherRGBA.offset.dx10.frag", "main"},
|
||||
{"hlsl.gatherRGBA.offsetarray.dx10.frag", "main"},
|
||||
{"hlsl.getdimensions.dx10.frag", "main"},
|
||||
{"hlsl.getdimensions.rw.dx10.frag", "main"},
|
||||
{"hlsl.getdimensions.dx10.vert", "main"},
|
||||
{"hlsl.getsampleposition.dx10.frag", "main"},
|
||||
{"hlsl.if.frag", "PixelShaderFunction"},
|
||||
|
|
@ -133,6 +134,9 @@ INSTANTIATE_TEST_CASE_P(
|
|||
{"hlsl.load.basic.dx10.frag", "main"},
|
||||
{"hlsl.load.basic.dx10.vert", "main"},
|
||||
{"hlsl.load.buffer.dx10.frag", "main"},
|
||||
{"hlsl.load.rwbuffer.dx10.frag", "main"},
|
||||
{"hlsl.load.rwtexture.dx10.frag", "main"},
|
||||
{"hlsl.load.rwtexture.array.dx10.frag", "main"},
|
||||
{"hlsl.load.offset.dx10.frag", "main"},
|
||||
{"hlsl.load.offsetarray.dx10.frag", "main"},
|
||||
{"hlsl.multiEntry.vert", "RealEntrypoint"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue