summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-05-06 17:11:29 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-05-06 17:11:29 +0000
commit824b588583406e8db8aa9e7123b9802437eaaf37 (patch)
tree971f39a5a8390c455b3ad51be00c6c159a23fb56 /Graphics/GLSLTools
parentAdded stubs for shader resource layout initialization from pipeline layout (diff)
downloadDiligentCore-824b588583406e8db8aa9e7123b9802437eaaf37.tar.gz
DiligentCore-824b588583406e8db8aa9e7123b9802437eaaf37.zip
Working on VK shader resource layout
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/include/SPIRVShaderResources.h5
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;