HLSL: implement 4 (of 6) structuredbuffer types
This is a partial implemention of structurebuffers supporting: * structured buffer types of: * StructuredBuffer * RWStructuredBuffer * ByteAddressBuffer * RWByteAddressBuffer * Atomic operations on RWByteAddressBuffer * Load/Load[234], Store/Store[234], GetDimensions methods (where allowed by type) * globallycoherent flag But NOT yet supporting: * AppendStructuredBuffer / ConsumeStructuredBuffer types * IncrementCounter/DecrementCounter methods Please note: the stride returned by GetDimensions is as calculated by glslang for std430, and may not match other environments in all cases.
Showing
- SPIRV/SpvBuilder.cpp 2 additions, 1 deletionSPIRV/SpvBuilder.cpp
- Test/baseResults/hlsl.structbuffer.atomics.frag.out 599 additions, 0 deletionsTest/baseResults/hlsl.structbuffer.atomics.frag.out
- Test/baseResults/hlsl.structbuffer.byte.frag.out 476 additions, 0 deletionsTest/baseResults/hlsl.structbuffer.byte.frag.out
- Test/baseResults/hlsl.structbuffer.coherent.frag.out 308 additions, 0 deletionsTest/baseResults/hlsl.structbuffer.coherent.frag.out
- Test/baseResults/hlsl.structbuffer.frag.out 347 additions, 0 deletionsTest/baseResults/hlsl.structbuffer.frag.out
- Test/baseResults/hlsl.structbuffer.rw.frag.out 304 additions, 0 deletionsTest/baseResults/hlsl.structbuffer.rw.frag.out
- Test/baseResults/hlsl.structbuffer.rwbyte.frag.out 1307 additions, 0 deletionsTest/baseResults/hlsl.structbuffer.rwbyte.frag.out
- Test/hlsl.structbuffer.atomics.frag 25 additions, 0 deletionsTest/hlsl.structbuffer.atomics.frag
- Test/hlsl.structbuffer.byte.frag 13 additions, 0 deletionsTest/hlsl.structbuffer.byte.frag
- Test/hlsl.structbuffer.coherent.frag 23 additions, 0 deletionsTest/hlsl.structbuffer.coherent.frag
- Test/hlsl.structbuffer.frag 23 additions, 0 deletionsTest/hlsl.structbuffer.frag
- Test/hlsl.structbuffer.rw.frag 23 additions, 0 deletionsTest/hlsl.structbuffer.rw.frag
- Test/hlsl.structbuffer.rwbyte.frag 15 additions, 0 deletionsTest/hlsl.structbuffer.rwbyte.frag
- glslang/Include/intermediate.h 9 additions, 0 deletionsglslang/Include/intermediate.h
- gtests/Hlsl.FromFile.cpp 6 additions, 0 deletionsgtests/Hlsl.FromFile.cpp
- hlsl/hlslGrammar.cpp 125 additions, 3 deletionshlsl/hlslGrammar.cpp
- hlsl/hlslGrammar.h 1 addition, 0 deletionshlsl/hlslGrammar.h
- hlsl/hlslParseHelper.cpp 330 additions, 34 deletionshlsl/hlslParseHelper.cpp
- hlsl/hlslParseHelper.h 5 additions, 0 deletionshlsl/hlslParseHelper.h
- hlsl/hlslParseables.cpp 29 additions, 0 deletionshlsl/hlslParseables.cpp
Loading
Please register or sign in to comment