HLSL: phase 3a: Add sub-vec4 rwtexture formats (qualifier.layoutFormat)
This PR sets the TQualifier layoutFormat according to the HLSL image type. For instance: RWTexture1D <float2> g_tTex1df2; becomes ElfRg32f. Similar on Buffers, e.g, Buffer<float4> mybuffer; The return type for image and buffer loads is now taken from the storage format. Also, the qualifier for the return type is now (properly) a temp, not a global.
This commit is contained in:
parent
f042e407a9
commit
4f2da27aec
22 changed files with 6033 additions and 192 deletions
2613
Test/baseResults/hlsl.rw.vec2.bracket.frag.out
Normal file
2613
Test/baseResults/hlsl.rw.vec2.bracket.frag.out
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue