| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 11 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability GroupNonUniformArithmetic |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %main "main" |
| OpName %val "val" |
| OpName %subadd "subadd" |
| OpName %submul "submul" |
| %void = OpTypeVoid |
| %3 = OpTypeFunction %void |
| %float = OpTypeFloat 32 |
| %val = OpConstant %float 2 |
| %uint = OpTypeInt 32 0 |
| %uint_3 = OpConstant %uint 3 |
| %main = OpFunction %void None %3 |
| %4 = OpLabel |
| %subadd = OpGroupNonUniformFAdd %float %uint_3 InclusiveScan %val |
| %submul = OpGroupNonUniformFMul %float %uint_3 InclusiveScan %val |
| OpReturn |
| OpFunctionEnd |