SPV: Further refine OpenGL vs. Vulkan differences for SPIR-V.
Includes adding test cases to verify the differences.
This commit is contained in:
parent
2d0cc786f3
commit
91e4aa5900
23 changed files with 305 additions and 27 deletions
8
Test/spv.specConst.vert
Normal file
8
Test/spv.specConst.vert
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#version 450
|
||||
|
||||
layout(constant_id = 11) const int a = 8;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(1.0) / a;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue