Commit e7b51b03 by John Kessenich

GLSL Subgroups: Only include 'double' built-in functions for some versions.

Version must be desktop, at least #version 400, to access double-based subgroup built-in functions.
parent 3cf27e00
...@@ -13,7 +13,7 @@ Warning, version 400 is not yet complete; most version-specific features are pre ...@@ -13,7 +13,7 @@ Warning, version 400 is not yet complete; most version-specific features are pre
Source GLSL 400 Source GLSL 400
Name 4 "main" Name 4 "main"
Name 9 "arraySize" Name 9 "arraySize"
Name 14 "foo(vf4[s1518];" Name 14 "foo(vf4[s2153];"
Name 13 "p" Name 13 "p"
Name 17 "builtin_spec_constant(" Name 17 "builtin_spec_constant("
Name 20 "color" Name 20 "color"
...@@ -104,10 +104,10 @@ Warning, version 400 is not yet complete; most version-specific features are pre ...@@ -104,10 +104,10 @@ Warning, version 400 is not yet complete; most version-specific features are pre
Store 20(color) 46 Store 20(color) 46
48: 10 Load 22(ucol) 48: 10 Load 22(ucol)
Store 47(param) 48 Store 47(param) 48
49: 2 FunctionCall 14(foo(vf4[s1518];) 47(param) 49: 2 FunctionCall 14(foo(vf4[s2153];) 47(param)
Return Return
FunctionEnd FunctionEnd
14(foo(vf4[s1518];): 2 Function None 12 14(foo(vf4[s2153];): 2 Function None 12
13(p): 11(ptr) FunctionParameter 13(p): 11(ptr) FunctionParameter
15: Label 15: Label
54: 24(ptr) AccessChain 53(dupUcol) 23 54: 24(ptr) AccessChain 53(dupUcol) 23
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment