diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-05-06 17:11:29 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-05-06 17:11:29 +0000 |
| commit | 824b588583406e8db8aa9e7123b9802437eaaf37 (patch) | |
| tree | 971f39a5a8390c455b3ad51be00c6c159a23fb56 /Graphics/GLSLTools | |
| parent | Added stubs for shader resource layout initialization from pipeline layout (diff) | |
| download | DiligentCore-824b588583406e8db8aa9e7123b9802437eaaf37.tar.gz DiligentCore-824b588583406e8db8aa9e7123b9802437eaaf37.zip | |
Working on VK shader resource layout
Diffstat (limited to 'Graphics/GLSLTools')
| -rw-r--r-- | Graphics/GLSLTools/include/SPIRVShaderResources.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Graphics/GLSLTools/include/SPIRVShaderResources.h b/Graphics/GLSLTools/include/SPIRVShaderResources.h index 504a0b08..300aeada 100644 --- a/Graphics/GLSLTools/include/SPIRVShaderResources.h +++ b/Graphics/GLSLTools/include/SPIRVShaderResources.h @@ -69,13 +69,14 @@ struct SPIRVShaderResourceAttribs { enum ResourceType : Uint8 { - UniformBuffer, + UniformBuffer = 0, StorageBuffer, StorageImage, SampledImage, AtomicCounter, SeparateImage, - SeparateSampler + SeparateSampler, + NumResourceTypes }; const String Name; |
