SPV: Implement Vulkan 1.1 features and extensions.
This commit is contained in:
16
Test/spv.vulkan110.storageBuffer.vert
Normal file
16
Test/spv.vulkan110.storageBuffer.vert
Normal file
@@ -0,0 +1,16 @@
|
||||
#version 450
|
||||
|
||||
#pragma use_storage_buffer
|
||||
|
||||
uniform ub {
|
||||
vec4 a;
|
||||
} ubi;
|
||||
|
||||
buffer bb {
|
||||
vec4 b;
|
||||
} bbi;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = ubi.a + bbi.b;
|
||||
}
|
||||
Reference in New Issue
Block a user