Implement GL_EXT_maximal_reconvergence

This commit is contained in:
Jeff Bolz 2022-01-06 19:47:45 -06:00 committed by arcady-lunarg
parent 7eea61b5a3
commit 8066fa086b
16 changed files with 1452 additions and 1384 deletions

View file

@ -0,0 +1,22 @@
spv.maximalReconvergence.vert
WARNING: 0:5: '' : attribute with arguments not recognized, skipping
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 6
Capability Shader
Extension "SPV_KHR_maximal_reconvergence"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"
ExecutionMode 4 MaximallyReconverges
Source GLSL 460
SourceExtension "GL_EXT_maximal_reconvergence"
Name 4 "main"
2: TypeVoid
3: TypeFunction 2
4(main): 2 Function None 3
5: Label
Return
FunctionEnd

View file

@ -0,0 +1,7 @@
#version 460
#extension GL_EXT_maximal_reconvergence : enable
[[random(4)]] void main() [[maximal_reconvergence]]
{
}