Add support for extension GL_ARB_shading_language_packing (#2192)

This commit is contained in:
pmistryNV 2020-04-27 01:46:32 -07:00 committed by GitHub
parent bcf6a2430e
commit ea50f6d77e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 96 additions and 9 deletions

View file

@ -11,7 +11,7 @@ spv.specConstant.vert
Source GLSL 400
Name 4 "main"
Name 9 "arraySize"
Name 14 "foo(vf4[s4530];"
Name 14 "foo(vf4[s4534];"
Name 13 "p"
Name 17 "builtin_spec_constant("
Name 20 "color"
@ -102,10 +102,10 @@ spv.specConstant.vert
Store 20(color) 46
48: 10 Load 22(ucol)
Store 47(param) 48
49: 2 FunctionCall 14(foo(vf4[s4530];) 47(param)
49: 2 FunctionCall 14(foo(vf4[s4534];) 47(param)
Return
FunctionEnd
14(foo(vf4[s4530];): 2 Function None 12
14(foo(vf4[s4534];): 2 Function None 12
13(p): 11(ptr) FunctionParameter
15: Label
54: 24(ptr) AccessChain 53(dupUcol) 23