blob: 60fa70a6eebbc6fc0236ef30446a269dfb587029 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly -O0
[[vk::push_constant]] float4 *positions;
[shader("vertex")]
float4 main()
{
return positions[0];
}
// NOT %cbuffer__t = OpTypeStruct %_ptr_Function_v4float
// CHECK: %cbuffer__t = OpTypeStruct %_ptr_PhysicalStorageBuffer_v4float
|