Implement GL_NV_shader_subgroup_partitioned

This commit is contained in:
Jeff Bolz
2018-03-29 22:52:17 -05:00
parent 6b1ede4124
commit 2abe9a4d34
15 changed files with 4659 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[s2148];"
Name 14 "foo(vf4[s2468];"
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[s2148];) 47(param)
49: 2 FunctionCall 14(foo(vf4[s2468];) 47(param)
Return
FunctionEnd
14(foo(vf4[s2148];): 2 Function None 12
14(foo(vf4[s2468];): 2 Function None 12
13(p): 11(ptr) FunctionParameter
15: Label
54: 24(ptr) AccessChain 53(dupUcol) 23

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,326 @@
spv.vulkan100.subgroupPartitioned.comp
ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:23: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:28: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:31: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:32: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:33: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:34: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:36: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:37: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:38: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:39: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:41: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:42: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:43: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:44: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:46: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:47: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:48: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:49: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:51: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:52: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:53: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:54: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:56: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:57: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:58: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:59: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:61: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:62: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:63: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:64: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:66: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:67: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:68: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:69: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:71: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:72: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:73: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:74: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:76: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:77: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:78: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:79: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:81: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:82: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:83: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:84: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:86: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:87: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:88: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:89: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:91: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:92: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:93: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:94: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:96: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:97: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:98: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:99: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:101: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:102: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:103: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:104: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:106: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:107: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:108: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:109: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:111: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:112: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:113: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:114: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:116: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:117: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:118: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:119: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:121: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:122: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:123: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:124: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:126: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:127: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:128: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:129: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:131: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:132: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:133: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:134: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:136: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:137: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:138: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:139: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:141: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:142: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:143: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:144: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:146: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:147: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:148: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:149: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:151: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:152: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:153: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:154: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:156: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:157: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:158: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:159: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:161: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:162: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:163: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:164: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:166: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:167: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:168: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:169: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:171: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:172: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:173: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:174: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:176: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:177: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:178: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:179: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:181: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:182: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:183: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:184: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:186: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:187: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:188: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:189: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:191: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:192: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:193: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:194: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:196: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:197: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:198: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:199: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:201: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:202: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:203: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:204: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:206: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:207: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:208: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:209: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:211: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:212: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:213: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:214: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:216: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:217: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:218: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:219: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:221: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:222: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:223: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:224: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:226: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:227: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:228: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:229: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:231: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:232: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:233: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:234: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:236: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:237: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:238: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:239: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:241: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:242: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:243: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:244: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:246: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:247: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:248: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:249: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:251: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:252: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:253: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:254: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:256: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:257: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:258: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:259: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:261: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:262: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:263: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:264: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:266: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:267: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:268: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:269: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:271: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:272: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:273: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:274: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:276: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:277: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:278: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:279: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:281: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:282: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:283: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:284: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:286: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:287: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:288: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:289: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:291: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:292: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:293: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:294: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:296: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:297: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:298: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:299: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:301: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:302: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:303: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:304: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:306: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:307: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:308: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:309: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:311: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:312: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:313: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:314: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:316: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:317: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:318: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:319: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:321: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:322: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:323: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:324: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:326: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:327: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:328: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:329: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:331: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:332: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:333: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:334: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:336: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:337: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:338: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:339: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:341: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:342: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:343: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:344: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:346: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:347: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:348: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:349: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:351: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:352: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:353: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:354: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:356: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:357: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:358: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:359: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:361: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:362: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:363: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:364: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:366: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:367: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:368: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:369: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:371: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:372: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:373: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:374: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:376: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:377: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:378: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:379: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:381: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:382: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:383: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:384: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:386: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:387: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:388: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:389: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:391: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:392: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:393: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:394: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:396: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:397: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:398: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:399: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:401: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:402: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:403: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:404: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:406: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:407: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:408: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:409: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:411: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:412: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:413: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:414: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:416: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:417: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:418: 'subgroup op' : requires SPIR-V 1.3
ERROR: 0:419: 'subgroup op' : requires SPIR-V 1.3
ERROR: 321 compilation errors. No code generated.
SPIR-V is not generated for failed compile or link

420
Test/spv.subgroupPartitioned.comp Executable file
View File

@@ -0,0 +1,420 @@
#version 450
#extension GL_NV_shader_subgroup_partitioned: enable
layout (local_size_x = 8) in;
layout(binding = 0) buffer Buffers
{
vec4 f4;
ivec4 i4;
uvec4 u4;
dvec4 d4;
} data[4];
void main()
{
uint invocation = (gl_SubgroupInvocationID + gl_SubgroupSize) % 4;
uvec4 ballot = subgroupPartitionNV(invocation);
data[invocation].u4 = subgroupPartitionNV(data[0].f4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].f4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].f4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].f4);
data[invocation].u4 = subgroupPartitionNV(data[0].i4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].i4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].i4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].i4);
data[invocation].u4 = subgroupPartitionNV(data[0].u4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].u4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].u4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].u4);
data[invocation].u4 = subgroupPartitionNV(data[0].d4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].d4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].d4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].d4);
data[invocation].u4 = subgroupPartitionNV(bool(data[0].i4.x));
data[invocation].u4 = subgroupPartitionNV(bvec2(data[0].i4.xy));
data[invocation].u4 = subgroupPartitionNV(bvec3(data[0].i4.xyz));
data[invocation].u4 = subgroupPartitionNV(bvec4(data[0].i4));
data[invocation].f4.x = subgroupPartitionedAddNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedAddNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedAddNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedAddNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedAddNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedAddNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedAddNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedAddNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedAddNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedAddNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedAddNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedAddNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedAddNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedAddNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedAddNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedAddNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedMulNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedMulNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedMulNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedMulNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedMulNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedMulNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedMulNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedMulNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedMulNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedMulNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedMulNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedMulNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedMulNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedMulNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedMulNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedMulNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedMinNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedMinNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedMinNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedMinNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedMinNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedMinNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedMinNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedMinNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedMinNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedMinNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedMinNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedMinNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedMinNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedMinNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedMinNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedMinNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedMaxNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedMaxNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedMaxNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedMaxNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedMaxNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedMaxNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedMaxNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedMaxNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedMaxNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedMaxNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedMaxNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedMaxNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedMaxNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedMaxNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedMaxNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedMaxNV(data[3].d4, ballot);
data[invocation].i4.x = subgroupPartitionedAndNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedAndNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedAndNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedAndNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedAndNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedAndNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedAndNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedAndNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedAndNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedAndNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedAndNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedAndNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedOrNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedOrNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedOrNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedOrNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedOrNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedOrNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedOrNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedOrNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedOrNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedOrNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedOrNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedOrNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedXorNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedXorNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedXorNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedXorNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedXorNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedXorNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedXorNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedXorNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedXorNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedXorNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedXorNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedXorNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].f4.x = subgroupPartitionedInclusiveAddNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveAddNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveAddNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveAddNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveAddNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveAddNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveAddNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveAddNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveAddNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveAddNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveAddNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveAddNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveAddNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveAddNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveAddNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveAddNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedInclusiveMulNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveMulNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveMulNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveMulNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveMulNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveMulNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveMulNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveMulNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveMulNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveMulNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveMulNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveMulNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveMulNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveMulNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveMulNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveMulNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedInclusiveMinNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveMinNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveMinNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveMinNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveMinNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveMinNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveMinNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveMinNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveMinNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveMinNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveMinNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveMinNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveMinNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveMinNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveMinNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveMinNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedInclusiveMaxNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveMaxNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveMaxNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveMaxNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveMaxNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveMaxNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveMaxNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveMaxNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveMaxNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveMaxNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveMaxNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveMaxNV(data[3].d4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveAndNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveAndNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveAndNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveAndNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveAndNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveAndNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveAndNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveAndNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedInclusiveAndNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedInclusiveAndNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedInclusiveAndNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedInclusiveAndNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedInclusiveOrNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveOrNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveOrNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveOrNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveOrNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveOrNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveOrNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveOrNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedInclusiveOrNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedInclusiveOrNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedInclusiveOrNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedInclusiveOrNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedInclusiveXorNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveXorNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveXorNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveXorNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveXorNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveXorNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveXorNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveXorNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedInclusiveXorNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedInclusiveXorNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedInclusiveXorNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedInclusiveXorNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].f4.x = subgroupPartitionedExclusiveAddNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveAddNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveAddNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveAddNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveAddNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveAddNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveAddNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveAddNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveAddNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveAddNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveAddNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveAddNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveAddNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveAddNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveAddNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveAddNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedExclusiveMulNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveMulNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveMulNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveMulNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveMulNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveMulNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveMulNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveMulNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveMulNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveMulNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveMulNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveMulNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveMulNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveMulNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveMulNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveMulNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedExclusiveMinNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveMinNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveMinNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveMinNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveMinNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveMinNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveMinNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveMinNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveMinNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveMinNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveMinNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveMinNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveMinNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveMinNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveMinNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveMinNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedExclusiveMaxNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveMaxNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveMaxNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveMaxNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveMaxNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveMaxNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveMaxNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveMaxNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveMaxNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveMaxNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveMaxNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveMaxNV(data[3].d4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveAndNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveAndNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveAndNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveAndNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveAndNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveAndNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveAndNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveAndNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedExclusiveAndNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedExclusiveAndNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedExclusiveAndNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedExclusiveAndNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedExclusiveOrNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveOrNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveOrNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveOrNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveOrNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveOrNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveOrNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveOrNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedExclusiveOrNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedExclusiveOrNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedExclusiveOrNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedExclusiveOrNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedExclusiveXorNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveXorNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveXorNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveXorNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveXorNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveXorNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveXorNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveXorNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedExclusiveXorNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedExclusiveXorNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedExclusiveXorNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedExclusiveXorNV(lessThan(data[1].i4, ivec4(0)), ballot));
}

View File

@@ -0,0 +1,420 @@
#version 450
#extension GL_NV_shader_subgroup_partitioned: enable
layout (local_size_x = 8) in;
layout(binding = 0) buffer Buffers
{
vec4 f4;
ivec4 i4;
uvec4 u4;
dvec4 d4;
} data[4];
void main()
{
uint invocation = (gl_SubgroupInvocationID + gl_SubgroupSize) % 4;
uvec4 ballot = subgroupPartitionNV(invocation);
data[invocation].u4 = subgroupPartitionNV(data[0].f4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].f4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].f4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].f4);
data[invocation].u4 = subgroupPartitionNV(data[0].i4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].i4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].i4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].i4);
data[invocation].u4 = subgroupPartitionNV(data[0].u4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].u4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].u4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].u4);
data[invocation].u4 = subgroupPartitionNV(data[0].d4.x);
data[invocation].u4 = subgroupPartitionNV(data[0].d4.xy);
data[invocation].u4 = subgroupPartitionNV(data[0].d4.xyz);
data[invocation].u4 = subgroupPartitionNV(data[0].d4);
data[invocation].u4 = subgroupPartitionNV(bool(data[0].i4.x));
data[invocation].u4 = subgroupPartitionNV(bvec2(data[0].i4.xy));
data[invocation].u4 = subgroupPartitionNV(bvec3(data[0].i4.xyz));
data[invocation].u4 = subgroupPartitionNV(bvec4(data[0].i4));
data[invocation].f4.x = subgroupPartitionedAddNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedAddNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedAddNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedAddNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedAddNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedAddNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedAddNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedAddNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedAddNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedAddNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedAddNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedAddNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedAddNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedAddNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedAddNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedAddNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedMulNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedMulNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedMulNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedMulNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedMulNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedMulNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedMulNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedMulNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedMulNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedMulNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedMulNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedMulNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedMulNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedMulNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedMulNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedMulNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedMinNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedMinNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedMinNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedMinNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedMinNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedMinNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedMinNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedMinNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedMinNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedMinNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedMinNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedMinNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedMinNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedMinNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedMinNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedMinNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedMaxNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedMaxNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedMaxNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedMaxNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedMaxNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedMaxNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedMaxNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedMaxNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedMaxNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedMaxNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedMaxNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedMaxNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedMaxNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedMaxNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedMaxNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedMaxNV(data[3].d4, ballot);
data[invocation].i4.x = subgroupPartitionedAndNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedAndNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedAndNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedAndNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedAndNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedAndNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedAndNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedAndNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedAndNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedAndNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedAndNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedAndNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedOrNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedOrNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedOrNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedOrNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedOrNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedOrNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedOrNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedOrNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedOrNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedOrNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedOrNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedOrNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedXorNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedXorNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedXorNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedXorNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedXorNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedXorNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedXorNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedXorNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedXorNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedXorNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedXorNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedXorNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].f4.x = subgroupPartitionedInclusiveAddNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveAddNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveAddNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveAddNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveAddNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveAddNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveAddNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveAddNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveAddNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveAddNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveAddNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveAddNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveAddNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveAddNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveAddNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveAddNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedInclusiveMulNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveMulNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveMulNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveMulNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveMulNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveMulNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveMulNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveMulNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveMulNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveMulNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveMulNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveMulNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveMulNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveMulNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveMulNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveMulNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedInclusiveMinNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveMinNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveMinNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveMinNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveMinNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveMinNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveMinNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveMinNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveMinNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveMinNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveMinNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveMinNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveMinNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveMinNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveMinNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveMinNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedInclusiveMaxNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedInclusiveMaxNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedInclusiveMaxNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveMaxNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveMaxNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveMaxNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveMaxNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveMaxNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveMaxNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedInclusiveMaxNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedInclusiveMaxNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedInclusiveMaxNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedInclusiveMaxNV(data[3].d4, ballot);
data[invocation].i4.x = subgroupPartitionedInclusiveAndNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveAndNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveAndNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveAndNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveAndNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveAndNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveAndNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveAndNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedInclusiveAndNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedInclusiveAndNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedInclusiveAndNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedInclusiveAndNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedInclusiveOrNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveOrNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveOrNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveOrNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveOrNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveOrNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveOrNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveOrNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedInclusiveOrNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedInclusiveOrNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedInclusiveOrNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedInclusiveOrNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedInclusiveXorNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedInclusiveXorNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedInclusiveXorNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedInclusiveXorNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedInclusiveXorNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedInclusiveXorNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedInclusiveXorNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedInclusiveXorNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedInclusiveXorNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedInclusiveXorNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedInclusiveXorNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedInclusiveXorNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].f4.x = subgroupPartitionedExclusiveAddNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveAddNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveAddNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveAddNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveAddNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveAddNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveAddNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveAddNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveAddNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveAddNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveAddNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveAddNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveAddNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveAddNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveAddNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveAddNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedExclusiveMulNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveMulNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveMulNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveMulNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveMulNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveMulNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveMulNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveMulNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveMulNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveMulNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveMulNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveMulNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveMulNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveMulNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveMulNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveMulNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedExclusiveMinNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveMinNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveMinNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveMinNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveMinNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveMinNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveMinNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveMinNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveMinNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveMinNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveMinNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveMinNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveMinNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveMinNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveMinNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveMinNV(data[3].d4, ballot);
data[invocation].f4.x = subgroupPartitionedExclusiveMaxNV(data[0].f4.x, ballot);
data[invocation].f4.xy = subgroupPartitionedExclusiveMaxNV(data[1].f4.xy, ballot);
data[invocation].f4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].f4.xyz, ballot);
data[invocation].f4 = subgroupPartitionedExclusiveMaxNV(data[3].f4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveMaxNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveMaxNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveMaxNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveMaxNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveMaxNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveMaxNV(data[3].u4, ballot);
data[invocation].d4.x = subgroupPartitionedExclusiveMaxNV(data[0].d4.x, ballot);
data[invocation].d4.xy = subgroupPartitionedExclusiveMaxNV(data[1].d4.xy, ballot);
data[invocation].d4.xyz = subgroupPartitionedExclusiveMaxNV(data[2].d4.xyz, ballot);
data[invocation].d4 = subgroupPartitionedExclusiveMaxNV(data[3].d4, ballot);
data[invocation].i4.x = subgroupPartitionedExclusiveAndNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveAndNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveAndNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveAndNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveAndNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveAndNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveAndNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveAndNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedExclusiveAndNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedExclusiveAndNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedExclusiveAndNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedExclusiveAndNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedExclusiveOrNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveOrNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveOrNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveOrNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveOrNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveOrNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveOrNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveOrNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedExclusiveOrNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedExclusiveOrNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedExclusiveOrNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedExclusiveOrNV(lessThan(data[1].i4, ivec4(0)), ballot));
data[invocation].i4.x = subgroupPartitionedExclusiveXorNV(data[0].i4.x, ballot);
data[invocation].i4.xy = subgroupPartitionedExclusiveXorNV(data[1].i4.xy, ballot);
data[invocation].i4.xyz = subgroupPartitionedExclusiveXorNV(data[2].i4.xyz, ballot);
data[invocation].i4 = subgroupPartitionedExclusiveXorNV(data[3].i4, ballot);
data[invocation].u4.x = subgroupPartitionedExclusiveXorNV(data[0].u4.x, ballot);
data[invocation].u4.xy = subgroupPartitionedExclusiveXorNV(data[1].u4.xy, ballot);
data[invocation].u4.xyz = subgroupPartitionedExclusiveXorNV(data[2].u4.xyz, ballot);
data[invocation].u4 = subgroupPartitionedExclusiveXorNV(data[3].u4, ballot);
data[invocation].i4.x = int(subgroupPartitionedExclusiveXorNV(data[0].i4.x < 0, ballot));
data[invocation].i4.xy = ivec2(subgroupPartitionedExclusiveXorNV(lessThan(data[1].i4.xy, ivec2(0)), ballot));
data[invocation].i4.xyz = ivec3(subgroupPartitionedExclusiveXorNV(lessThan(data[1].i4.xyz, ivec3(0)), ballot));
data[invocation].i4 = ivec4(subgroupPartitionedExclusiveXorNV(lessThan(data[1].i4, ivec4(0)), ballot));
}