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.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| CMakeLists.txt | Loading commit data... | |
| hlslGrammar.cpp | Loading commit data... | |
| hlslGrammar.h | Loading commit data... | |
| hlslOpMap.cpp | Loading commit data... | |
| hlslOpMap.h | Loading commit data... | |
| hlslParseHelper.cpp | Loading commit data... | |
| hlslParseHelper.h | Loading commit data... | |
| hlslParseables.cpp | Loading commit data... | |
| hlslParseables.h | Loading commit data... | |
| hlslScanContext.cpp | Loading commit data... | |
| hlslScanContext.h | Loading commit data... | |
| hlslTokenStream.cpp | Loading commit data... | |
| hlslTokenStream.h | Loading commit data... | |
| hlslTokens.h | Loading commit data... |