Regenerate SPIR-V tests (#29)

In one of the previous commits we made a change to mark ld/st as aligned. This change was not propagated to test files
This commit is contained in:
Andrzej Janik
2021-01-08 19:06:11 +01:00
committed by GitHub
parent 078ae20c2c
commit 237a6c113a
70 changed files with 425 additions and 423 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[target."x86_64-pc-windows-gnu"]
rustflags = ["-C", "link-self-contained=y"]

View File

@ -28,13 +28,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%19 = OpConvertUToPtr %_ptr_Generic_ulong %13 %19 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %19 %12 = OpLoad %ulong %19 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%14 = OpIAdd %ulong %15 %ulong_1 %14 = OpIAdd %ulong %15 %ulong_1
@ -42,6 +42,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%20 = OpConvertUToPtr %_ptr_Generic_ulong %16 %20 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %20 %17 OpStore %20 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_uint %13 %23 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %23 %12 = OpLoad %uint %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_uint %22 %24 = OpConvertUToPtr %_ptr_Generic_uint %22
%14 = OpLoad %uint %24 %14 = OpLoad %uint %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %uint %6 %17 = OpLoad %uint %6
%18 = OpLoad %uint %7 %18 = OpLoad %uint %7
@ -53,6 +53,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%28 = OpConvertUToPtr %_ptr_Generic_uint %19 %28 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %28 %20 OpStore %28 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -53,9 +53,9 @@
%24 = OpVariable %_ptr_Function_ulong Function %24 = OpVariable %_ptr_Function_ulong Function
OpStore %13 %25 OpStore %13 %25
OpStore %14 %26 OpStore %14 %26
%27 = OpLoad %ulong %13 %27 = OpLoad %ulong %13 Aligned 8
OpStore %15 %27 OpStore %15 %27
%28 = OpLoad %ulong %14 %28 = OpLoad %ulong %14 Aligned 8
OpStore %16 %28 OpStore %16 %28
%53 = OpCopyObject %uint %uint_0 %53 = OpCopyObject %uint %uint_0
%29 = OpCopyObject %uint %53 %29 = OpCopyObject %uint %53
@ -65,34 +65,34 @@
%78 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %77 %ulong_0 %78 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %77 %ulong_0
%43 = OpBitcast %_ptr_Function_ulong %78 %43 = OpBitcast %_ptr_Function_ulong %78
%54 = OpCopyObject %ulong %30 %54 = OpCopyObject %ulong %30
OpStore %43 %54 OpStore %43 %54 Aligned 8
%31 = OpLoad %ulong %15 %31 = OpLoad %ulong %15
%79 = OpBitcast %_ptr_Function_uchar %21 %79 = OpBitcast %_ptr_Function_uchar %21
%80 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %79 %ulong_0_0 %80 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %79 %ulong_0_0
%45 = OpBitcast %_ptr_Function_ulong %80 %45 = OpBitcast %_ptr_Function_ulong %80
%55 = OpCopyObject %ulong %31 %55 = OpCopyObject %ulong %31
OpStore %45 %55 OpStore %45 %55 Aligned 8
%32 = OpLoad %uint %19 %32 = OpLoad %uint %19
%81 = OpBitcast %_ptr_Function_uchar %22 %81 = OpBitcast %_ptr_Function_uchar %22
%82 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %81 %ulong_0_1 %82 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %81 %ulong_0_1
%47 = OpBitcast %_ptr_Function_uint %82 %47 = OpBitcast %_ptr_Function_uint %82
OpStore %47 %32 OpStore %47 %32 Aligned 4
%33 = OpLoad %ulong %15 %33 = OpLoad %ulong %15
%83 = OpBitcast %_ptr_Function_uchar %23 %83 = OpBitcast %_ptr_Function_uchar %23
%84 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %83 %ulong_0_2 %84 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %83 %ulong_0_2
%49 = OpBitcast %_ptr_Function_ulong %84 %49 = OpBitcast %_ptr_Function_ulong %84
%56 = OpCopyObject %ulong %33 %56 = OpCopyObject %ulong %33
OpStore %49 %56 OpStore %49 %56 Aligned 8
%34 = OpLoad %ulong %15 %34 = OpLoad %ulong %15
%85 = OpBitcast %_ptr_Function_uchar %24 %85 = OpBitcast %_ptr_Function_uchar %24
%86 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %85 %ulong_0_3 %86 = OpInBoundsPtrAccessChain %_ptr_Function_uchar %85 %ulong_0_3
%51 = OpBitcast %_ptr_Function_ulong %86 %51 = OpBitcast %_ptr_Function_ulong %86
%57 = OpCopyObject %ulong %34 %57 = OpCopyObject %ulong %34
OpStore %51 %57 OpStore %51 %57 Aligned 8
%87 = OpFunctionCall %void %1 %20 %21 %22 %23 %24 %87 = OpFunctionCall %void %1 %20 %21 %22 %23 %24
%36 = OpLoad %ulong %15 %36 = OpLoad %ulong %15
%58 = OpConvertUToPtr %_ptr_Generic_ulong %36 %58 = OpConvertUToPtr %_ptr_Generic_ulong %36
%35 = OpLoad %ulong %58 %35 = OpLoad %ulong %58 Aligned 8
OpStore %17 %35 OpStore %17 %35
%38 = OpLoad %ulong %17 %38 = OpLoad %ulong %17
%37 = OpIAdd %ulong %38 %ulong_1 %37 = OpIAdd %ulong %38 %ulong_1
@ -100,6 +100,6 @@
%39 = OpLoad %ulong %16 %39 = OpLoad %ulong %16
%40 = OpLoad %ulong %18 %40 = OpLoad %ulong %18
%59 = OpConvertUToPtr %_ptr_Generic_ulong %39 %59 = OpConvertUToPtr %_ptr_Generic_ulong %39
OpStore %59 %40 OpStore %59 %40 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -40,37 +40,37 @@
%8 = OpVariable %_ptr_Function_uint Function %8 = OpVariable %_ptr_Function_uint Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %5 %11 OpStore %5 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %6 %12 OpStore %6 %12
%14 = OpLoad %ulong %5 %14 = OpLoad %ulong %5
%29 = OpConvertUToPtr %_ptr_Generic_uint %14 %29 = OpConvertUToPtr %_ptr_Generic_uint %14
%13 = OpLoad %uint %29 %13 = OpLoad %uint %29 Aligned 4
OpStore %7 %13 OpStore %7 %13
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%26 = OpIAdd %ulong %16 %ulong_4 %26 = OpIAdd %ulong %16 %ulong_4
%30 = OpConvertUToPtr %_ptr_Generic_uint %26 %30 = OpConvertUToPtr %_ptr_Generic_uint %26
%15 = OpLoad %uint %30 %15 = OpLoad %uint %30 Aligned 4
OpStore %8 %15 OpStore %8 %15
%17 = OpLoad %uint %7 %17 = OpLoad %uint %7
%31 = OpBitcast %_ptr_Workgroup_uint %4 %31 = OpBitcast %_ptr_Workgroup_uint %4
OpStore %31 %17 OpStore %31 %17 Aligned 4
%19 = OpLoad %uint %8 %19 = OpLoad %uint %8
%32 = OpBitcast %_ptr_Workgroup_uint %4 %32 = OpBitcast %_ptr_Workgroup_uint %4
%18 = OpAtomicIAdd %uint %32 %uint_1 %uint_0 %19 %18 = OpAtomicIAdd %uint %32 %uint_1 %uint_0 %19
OpStore %7 %18 OpStore %7 %18
%33 = OpBitcast %_ptr_Workgroup_uint %4 %33 = OpBitcast %_ptr_Workgroup_uint %4
%20 = OpLoad %uint %33 %20 = OpLoad %uint %33 Aligned 4
OpStore %8 %20 OpStore %8 %20
%21 = OpLoad %ulong %6 %21 = OpLoad %ulong %6
%22 = OpLoad %uint %7 %22 = OpLoad %uint %7
%34 = OpConvertUToPtr %_ptr_Generic_uint %21 %34 = OpConvertUToPtr %_ptr_Generic_uint %21
OpStore %34 %22 OpStore %34 %22 Aligned 4
%23 = OpLoad %ulong %6 %23 = OpLoad %ulong %6
%24 = OpLoad %uint %8 %24 = OpLoad %uint %8
%28 = OpIAdd %ulong %23 %ulong_4_0 %28 = OpIAdd %ulong %23 %ulong_4_0
%35 = OpConvertUToPtr %_ptr_Generic_uint %28 %35 = OpConvertUToPtr %_ptr_Generic_uint %28
OpStore %35 %24 OpStore %35 %24 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -35,13 +35,13 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%30 = OpConvertUToPtr %_ptr_Generic_uint %13 %30 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %30 %12 = OpLoad %uint %30 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
@ -54,16 +54,16 @@
%18 = OpLoad %ulong %4 %18 = OpLoad %ulong %4
%27 = OpIAdd %ulong %18 %ulong_4_0 %27 = OpIAdd %ulong %18 %ulong_4_0
%34 = OpConvertUToPtr %_ptr_Generic_uint %27 %34 = OpConvertUToPtr %_ptr_Generic_uint %27
%17 = OpLoad %uint %34 %17 = OpLoad %uint %34 Aligned 4
OpStore %7 %17 OpStore %7 %17
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%35 = OpConvertUToPtr %_ptr_Generic_uint %19 %35 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %35 %20 OpStore %35 %20 Aligned 4
%21 = OpLoad %ulong %5 %21 = OpLoad %ulong %5
%22 = OpLoad %uint %7 %22 = OpLoad %uint %7
%29 = OpIAdd %ulong %21 %ulong_4_1 %29 = OpIAdd %ulong %21 %ulong_4_1
%36 = OpConvertUToPtr %_ptr_Generic_uint %29 %36 = OpConvertUToPtr %_ptr_Generic_uint %29
OpStore %36 %22 OpStore %36 %22 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -10,14 +10,14 @@
%47 = OpExtInstImport "OpenCL.std" %47 = OpExtInstImport "OpenCL.std"
OpMemoryModel Physical64 OpenCL OpMemoryModel Physical64 OpenCL
OpEntryPoint Kernel %1 "atom_inc" OpEntryPoint Kernel %1 "atom_inc"
OpDecorate %38 LinkageAttributes "__zluda_ptx_impl__atom_relaxed_gpu_generic_inc" Import
OpDecorate %42 LinkageAttributes "__zluda_ptx_impl__atom_relaxed_gpu_global_inc" Import OpDecorate %42 LinkageAttributes "__zluda_ptx_impl__atom_relaxed_gpu_global_inc" Import
OpDecorate %38 LinkageAttributes "__zluda_ptx_impl__atom_relaxed_gpu_generic_inc" Import
%void = OpTypeVoid %void = OpTypeVoid
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%_ptr_Generic_uint = OpTypePointer Generic %uint
%51 = OpTypeFunction %uint %_ptr_Generic_uint %uint
%_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint %_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint
%53 = OpTypeFunction %uint %_ptr_CrossWorkgroup_uint %uint %51 = OpTypeFunction %uint %_ptr_CrossWorkgroup_uint %uint
%_ptr_Generic_uint = OpTypePointer Generic %uint
%53 = OpTypeFunction %uint %_ptr_Generic_uint %uint
%ulong = OpTypeInt 64 0 %ulong = OpTypeInt 64 0
%55 = OpTypeFunction %void %ulong %ulong %55 = OpTypeFunction %void %ulong %ulong
%_ptr_Function_ulong = OpTypePointer Function %ulong %_ptr_Function_ulong = OpTypePointer Function %ulong
@ -26,14 +26,14 @@
%uint_101_0 = OpConstant %uint 101 %uint_101_0 = OpConstant %uint 101
%ulong_4 = OpConstant %ulong 4 %ulong_4 = OpConstant %ulong 4
%ulong_8 = OpConstant %ulong 8 %ulong_8 = OpConstant %ulong 8
%38 = OpFunction %uint None %51 %42 = OpFunction %uint None %51
%40 = OpFunctionParameter %_ptr_Generic_uint
%41 = OpFunctionParameter %uint
OpFunctionEnd
%42 = OpFunction %uint None %53
%44 = OpFunctionParameter %_ptr_CrossWorkgroup_uint %44 = OpFunctionParameter %_ptr_CrossWorkgroup_uint
%45 = OpFunctionParameter %uint %45 = OpFunctionParameter %uint
OpFunctionEnd OpFunctionEnd
%38 = OpFunction %uint None %53
%40 = OpFunctionParameter %_ptr_Generic_uint
%41 = OpFunctionParameter %uint
OpFunctionEnd
%1 = OpFunction %void None %55 %1 = OpFunction %void None %55
%9 = OpFunctionParameter %ulong %9 = OpFunctionParameter %ulong
%10 = OpFunctionParameter %ulong %10 = OpFunctionParameter %ulong
@ -47,9 +47,9 @@
%8 = OpVariable %_ptr_Function_uint Function %8 = OpVariable %_ptr_Function_uint Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%31 = OpConvertUToPtr %_ptr_Generic_uint %14 %31 = OpConvertUToPtr %_ptr_Generic_uint %14
@ -61,21 +61,21 @@
OpStore %7 %15 OpStore %7 %15
%18 = OpLoad %ulong %4 %18 = OpLoad %ulong %4
%33 = OpConvertUToPtr %_ptr_Generic_uint %18 %33 = OpConvertUToPtr %_ptr_Generic_uint %18
%17 = OpLoad %uint %33 %17 = OpLoad %uint %33 Aligned 4
OpStore %8 %17 OpStore %8 %17
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%34 = OpConvertUToPtr %_ptr_Generic_uint %19 %34 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %34 %20 OpStore %34 %20 Aligned 4
%21 = OpLoad %ulong %5 %21 = OpLoad %ulong %5
%22 = OpLoad %uint %7 %22 = OpLoad %uint %7
%28 = OpIAdd %ulong %21 %ulong_4 %28 = OpIAdd %ulong %21 %ulong_4
%35 = OpConvertUToPtr %_ptr_Generic_uint %28 %35 = OpConvertUToPtr %_ptr_Generic_uint %28
OpStore %35 %22 OpStore %35 %22 Aligned 4
%23 = OpLoad %ulong %5 %23 = OpLoad %ulong %5
%24 = OpLoad %uint %8 %24 = OpLoad %uint %8
%30 = OpIAdd %ulong %23 %ulong_8 %30 = OpIAdd %ulong %23 %ulong_8
%36 = OpConvertUToPtr %_ptr_Generic_uint %30 %36 = OpConvertUToPtr %_ptr_Generic_uint %30
OpStore %36 %24 OpStore %36 %24 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,9 +30,9 @@
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%18 = OpBitcast %_ptr_Function_double %2 %18 = OpBitcast %_ptr_Function_double %2
%10 = OpLoad %double %18 %10 = OpLoad %double %18 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %6 %11 OpStore %6 %11
%13 = OpLoad %double %4 %13 = OpLoad %double %4
%19 = OpBitcast %ulong %13 %19 = OpBitcast %ulong %13
@ -40,11 +40,11 @@
OpStore %5 %12 OpStore %5 %12
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%20 = OpConvertUToPtr %_ptr_Generic_ulong %15 %20 = OpConvertUToPtr %_ptr_Generic_ulong %15
%14 = OpLoad %ulong %20 %14 = OpLoad %ulong %20 Aligned 8
OpStore %7 %14 OpStore %7 %14
%16 = OpLoad %ulong %6 %16 = OpLoad %ulong %6
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%21 = OpConvertUToPtr %_ptr_Generic_ulong %16 %21 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %21 %17 OpStore %21 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -39,23 +39,23 @@
%8 = OpVariable %_ptr_Function_uint Function %8 = OpVariable %_ptr_Function_uint Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%29 = OpConvertUToPtr %_ptr_Generic_uint %14 %29 = OpConvertUToPtr %_ptr_Generic_uint %14
%13 = OpLoad %uint %29 %13 = OpLoad %uint %29 Aligned 4
OpStore %6 %13 OpStore %6 %13
%16 = OpLoad %ulong %4 %16 = OpLoad %ulong %4
%26 = OpIAdd %ulong %16 %ulong_4 %26 = OpIAdd %ulong %16 %ulong_4
%30 = OpConvertUToPtr %_ptr_Generic_uint %26 %30 = OpConvertUToPtr %_ptr_Generic_uint %26
%15 = OpLoad %uint %30 %15 = OpLoad %uint %30 Aligned 4
OpStore %7 %15 OpStore %7 %15
%18 = OpLoad %ulong %4 %18 = OpLoad %ulong %4
%28 = OpIAdd %ulong %18 %ulong_8 %28 = OpIAdd %ulong %18 %ulong_8
%31 = OpConvertUToPtr %_ptr_Generic_uint %28 %31 = OpConvertUToPtr %_ptr_Generic_uint %28
%17 = OpLoad %uint %31 %17 = OpLoad %uint %31 Aligned 4
OpStore %8 %17 OpStore %8 %17
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%21 = OpLoad %uint %7 %21 = OpLoad %uint %7
@ -65,6 +65,6 @@
%23 = OpLoad %ulong %5 %23 = OpLoad %ulong %5
%24 = OpLoad %uint %6 %24 = OpLoad %uint %6
%32 = OpConvertUToPtr %_ptr_Generic_uint %23 %32 = OpConvertUToPtr %_ptr_Generic_uint %23
OpStore %32 %24 OpStore %32 %24 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,13 +30,13 @@
%8 = OpVariable %_ptr_Function_ulong Function %8 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_ulong %14 %23 = OpConvertUToPtr %_ptr_Generic_ulong %14
%13 = OpLoad %ulong %23 %13 = OpLoad %ulong %23 Aligned 8
OpStore %6 %13 OpStore %6 %13
%16 = OpLoad %ulong %6 %16 = OpLoad %ulong %6
%15 = OpIAdd %ulong %16 %ulong_1 %15 = OpIAdd %ulong %16 %ulong_1
@ -47,6 +47,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %ulong %7 %20 = OpLoad %ulong %7
%24 = OpConvertUToPtr %_ptr_Generic_ulong %19 %24 = OpConvertUToPtr %_ptr_Generic_ulong %19
OpStore %24 %20 OpStore %24 %20 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -29,13 +29,13 @@
%10 = OpVariable %_ptr_Function_ulong Function %10 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %11 OpStore %2 %11
OpStore %3 %12 OpStore %3 %12
%13 = OpLoad %ulong %2 %13 = OpLoad %ulong %2 Aligned 8
OpStore %7 %13 OpStore %7 %13
%14 = OpLoad %ulong %3 %14 = OpLoad %ulong %3 Aligned 8
OpStore %8 %14 OpStore %8 %14
%16 = OpLoad %ulong %7 %16 = OpLoad %ulong %7
%25 = OpConvertUToPtr %_ptr_Generic_ulong %16 %25 = OpConvertUToPtr %_ptr_Generic_ulong %16
%15 = OpLoad %ulong %25 %15 = OpLoad %ulong %25 Aligned 8
OpStore %9 %15 OpStore %9 %15
OpBranch %4 OpBranch %4
%4 = OpLabel %4 = OpLabel
@ -52,6 +52,6 @@
%21 = OpLoad %ulong %8 %21 = OpLoad %ulong %8
%22 = OpLoad %ulong %10 %22 = OpLoad %ulong %10
%26 = OpConvertUToPtr %_ptr_Generic_ulong %21 %26 = OpConvertUToPtr %_ptr_Generic_ulong %21
OpStore %26 %22 OpStore %26 %22 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_uint Function %6 = OpVariable %_ptr_Function_uint Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_uint %12 %17 = OpConvertUToPtr %_ptr_Generic_uint %12
%11 = OpLoad %uint %17 %11 = OpLoad %uint %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %uint %6 %14 = OpLoad %uint %6
%13 = OpBitReverse %uint %14 %13 = OpBitReverse %uint %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%18 = OpConvertUToPtr %_ptr_Generic_uint %15 %18 = OpConvertUToPtr %_ptr_Generic_uint %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,25 +30,25 @@
%11 = OpVariable %_ptr_Function_ulong Function %11 = OpVariable %_ptr_Function_ulong Function
OpStore %5 %12 OpStore %5 %12
OpStore %6 %13 OpStore %6 %13
%14 = OpLoad %ulong %5 %14 = OpLoad %ulong %5 Aligned 8
OpStore %7 %14 OpStore %7 %14
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6 Aligned 8
OpStore %8 %15 OpStore %8 %15
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%22 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %17 %22 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %17
%16 = OpLoad %ulong %22 %16 = OpLoad %ulong %22 Aligned 8
OpStore %9 %16 OpStore %9 %16
%18 = OpLoad %ulong %9 %18 = OpLoad %ulong %9
%23 = OpBitcast %_ptr_Function_ulong %10 %23 = OpBitcast %_ptr_Function_ulong %10
%24 = OpCopyObject %ulong %18 %24 = OpCopyObject %ulong %18
OpStore %23 %24 OpStore %23 %24 Aligned 8
%43 = OpFunctionCall %void %1 %11 %10 %43 = OpFunctionCall %void %1 %11 %10
%19 = OpLoad %ulong %11 %19 = OpLoad %ulong %11 Aligned 8
OpStore %9 %19 OpStore %9 %19
%20 = OpLoad %ulong %8 %20 = OpLoad %ulong %8
%21 = OpLoad %ulong %9 %21 = OpLoad %ulong %9
%25 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %20 %25 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %20
OpStore %25 %21 OpStore %25 %21 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%1 = OpFunction %void None %44 %1 = OpFunction %void None %44
@ -56,12 +56,12 @@
%28 = OpFunctionParameter %_ptr_Function_ulong %28 = OpFunctionParameter %_ptr_Function_ulong
%35 = OpLabel %35 = OpLabel
%29 = OpVariable %_ptr_Function_ulong Function %29 = OpVariable %_ptr_Function_ulong Function
%30 = OpLoad %ulong %28 %30 = OpLoad %ulong %28 Aligned 8
OpStore %29 %30 OpStore %29 %30
%32 = OpLoad %ulong %29 %32 = OpLoad %ulong %29
%31 = OpIAdd %ulong %32 %ulong_1 %31 = OpIAdd %ulong %32 %ulong_1
OpStore %29 %31 OpStore %29 %31
%33 = OpLoad %ulong %29 %33 = OpLoad %ulong %29
OpStore %27 %33 OpStore %27 %33 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_uint Function %6 = OpVariable %_ptr_Function_uint Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_uint %12 %17 = OpConvertUToPtr %_ptr_Generic_uint %12
%11 = OpLoad %uint %17 %11 = OpLoad %uint %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %uint %6 %14 = OpLoad %uint %6
%13 = OpExtInst %uint %21 clz %14 %13 = OpExtInst %uint %21 clz %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%18 = OpConvertUToPtr %_ptr_Generic_uint %15 %18 = OpConvertUToPtr %_ptr_Generic_uint %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -29,13 +29,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%18 = OpConvertUToPtr %_ptr_Generic_float %12 %18 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %18 %11 = OpLoad %float %18 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpFMul %float %14 %float_0_5 %13 = OpFMul %float %14 %float_0_5
@ -43,6 +43,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%19 = OpConvertUToPtr %_ptr_Generic_float %15 %19 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %19 %16 OpStore %19 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -29,13 +29,13 @@
%6 = OpVariable %_ptr_Function_uint Function %6 = OpVariable %_ptr_Function_uint Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%18 = OpConvertUToPtr %_ptr_Generic_uint %12 %18 = OpConvertUToPtr %_ptr_Generic_uint %12
%11 = OpLoad %uint %18 %11 = OpLoad %uint %18 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %uint %6 %14 = OpLoad %uint %6
%13 = OpIMul %uint %14 %uint_4294967295 %13 = OpIMul %uint %14 %uint_4294967295
@ -43,6 +43,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%19 = OpConvertUToPtr %_ptr_Generic_uint %15 %19 = OpConvertUToPtr %_ptr_Generic_uint %15
OpStore %19 %16 OpStore %19 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_float %12 %17 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %17 %11 = OpLoad %float %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpExtInst %float %21 cos %14 %13 = OpExtInst %float %21 cos %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%18 = OpConvertUToPtr %_ptr_Generic_float %15 %18 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -31,18 +31,18 @@
%7 = OpVariable %_ptr_Function_float Function %7 = OpVariable %_ptr_Function_float Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%28 = OpConvertUToPtr %_ptr_Generic_float %13 %28 = OpConvertUToPtr %_ptr_Generic_float %13
%12 = OpLoad %float %28 %12 = OpLoad %float %28 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%25 = OpIAdd %ulong %15 %ulong_4 %25 = OpIAdd %ulong %15 %ulong_4
%29 = OpConvertUToPtr %_ptr_Generic_float %25 %29 = OpConvertUToPtr %_ptr_Generic_float %25
%14 = OpLoad %float %29 %14 = OpLoad %float %29 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %float %6 %17 = OpLoad %float %6
%16 = OpExtInst %float %34 rint %17 %16 = OpExtInst %float %34 rint %17
@ -53,11 +53,11 @@
%20 = OpLoad %ulong %5 %20 = OpLoad %ulong %5
%21 = OpLoad %float %6 %21 = OpLoad %float %6
%30 = OpConvertUToPtr %_ptr_Generic_float %20 %30 = OpConvertUToPtr %_ptr_Generic_float %20
OpStore %30 %21 OpStore %30 %21 Aligned 4
%22 = OpLoad %ulong %5 %22 = OpLoad %ulong %5
%23 = OpLoad %float %7 %23 = OpLoad %float %7
%27 = OpIAdd %ulong %22 %ulong_4_0 %27 = OpIAdd %ulong %22 %ulong_4_0
%31 = OpConvertUToPtr %_ptr_Generic_float %27 %31 = OpConvertUToPtr %_ptr_Generic_float %27
OpStore %31 %23 OpStore %31 %23 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,13 +30,13 @@
%8 = OpVariable %_ptr_Function_uint Function %8 = OpVariable %_ptr_Function_uint Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%21 = OpConvertUToPtr %_ptr_Generic_uint %14 %21 = OpConvertUToPtr %_ptr_Generic_uint %14
%13 = OpLoad %uint %21 %13 = OpLoad %uint %21 Aligned 4
OpStore %6 %13 OpStore %6 %13
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%15 = OpSatConvertSToU %uint %16 %15 = OpSatConvertSToU %uint %16
@ -47,6 +47,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %8 %20 = OpLoad %uint %8
%22 = OpConvertUToPtr %_ptr_Generic_uint %19 %22 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %22 %20 OpStore %22 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -32,11 +32,11 @@
OpStore %2 %17 OpStore %2 %17
OpStore %3 %18 OpStore %3 %18
%10 = OpBitcast %_ptr_Function_ulong %2 %10 = OpBitcast %_ptr_Function_ulong %2
%9 = OpLoad %ulong %10 %9 = OpLoad %ulong %10 Aligned 8
%19 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %9 %19 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %9
OpStore %7 %19 OpStore %7 %19
%12 = OpBitcast %_ptr_Function_ulong %3 %12 = OpBitcast %_ptr_Function_ulong %3
%11 = OpLoad %ulong %12 %11 = OpLoad %ulong %12 Aligned 8
%20 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %11 %20 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %11
OpStore %8 %20 OpStore %8 %20
%21 = OpLoad %_ptr_CrossWorkgroup_uchar %7 %21 = OpLoad %_ptr_CrossWorkgroup_uchar %7
@ -55,11 +55,11 @@
OpStore %8 %24 OpStore %8 %24
%26 = OpLoad %_ptr_CrossWorkgroup_uchar %7 %26 = OpLoad %_ptr_CrossWorkgroup_uchar %7
%33 = OpBitcast %_ptr_CrossWorkgroup_float %26 %33 = OpBitcast %_ptr_CrossWorkgroup_float %26
%25 = OpLoad %float %33 %25 = OpLoad %float %33 Aligned 4
OpStore %6 %25 OpStore %6 %25
%27 = OpLoad %_ptr_CrossWorkgroup_uchar %8 %27 = OpLoad %_ptr_CrossWorkgroup_uchar %8
%28 = OpLoad %float %6 %28 = OpLoad %float %6
%34 = OpBitcast %_ptr_CrossWorkgroup_float %27 %34 = OpBitcast %_ptr_CrossWorkgroup_float %27
OpStore %34 %28 OpStore %34 %28 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -31,18 +31,18 @@
%7 = OpVariable %_ptr_Function_float Function %7 = OpVariable %_ptr_Function_float Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_float %13 %23 = OpConvertUToPtr %_ptr_Generic_float %13
%12 = OpLoad %float %23 %12 = OpLoad %float %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_float %22 %24 = OpConvertUToPtr %_ptr_Generic_float %22
%14 = OpLoad %float %24 %14 = OpLoad %float %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %float %6 %17 = OpLoad %float %6
%18 = OpLoad %float %7 %18 = OpLoad %float %7
@ -51,6 +51,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %float %6 %20 = OpLoad %float %6
%25 = OpConvertUToPtr %_ptr_Generic_float %19 %25 = OpConvertUToPtr %_ptr_Generic_float %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_float %12 %17 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %17 %11 = OpLoad %float %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpExtInst %float %21 exp2 %14 %13 = OpExtInst %float %21 exp2 %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%18 = OpConvertUToPtr %_ptr_Generic_float %15 %18 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -40,27 +40,27 @@
%24 = OpLabel %24 = OpLabel
OpStore %3 %8 OpStore %3 %8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%11 = OpLoad %ulong %4 %11 = OpLoad %ulong %4 Aligned 8
OpStore %6 %11 OpStore %6 %11
%13 = OpLoad %ulong %5 %13 = OpLoad %ulong %5
%20 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %13 %20 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %13
%12 = OpLoad %ulong %20 %12 = OpLoad %ulong %20 Aligned 8
OpStore %7 %12 OpStore %7 %12
%28 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %27 %28 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %27
%14 = OpLoad %_ptr_Workgroup_uint %28 %14 = OpLoad %_ptr_Workgroup_uint %28
%15 = OpLoad %ulong %7 %15 = OpLoad %ulong %7
%21 = OpBitcast %_ptr_Workgroup_ulong %14 %21 = OpBitcast %_ptr_Workgroup_ulong %14
OpStore %21 %15 OpStore %21 %15 Aligned 8
%29 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %27 %29 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %27
%17 = OpLoad %_ptr_Workgroup_uint %29 %17 = OpLoad %_ptr_Workgroup_uint %29
%22 = OpBitcast %_ptr_Workgroup_ulong %17 %22 = OpBitcast %_ptr_Workgroup_ulong %17
%16 = OpLoad %ulong %22 %16 = OpLoad %ulong %22 Aligned 8
OpStore %7 %16 OpStore %7 %16
%18 = OpLoad %ulong %6 %18 = OpLoad %ulong %6
%19 = OpLoad %ulong %7 %19 = OpLoad %ulong %7
%23 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %18 %23 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %18
OpStore %23 %19 OpStore %23 %19 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -38,7 +38,7 @@
%40 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %39 %40 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %39
%5 = OpLoad %_ptr_Workgroup_uint %40 %5 = OpLoad %_ptr_Workgroup_uint %40
%11 = OpBitcast %_ptr_Workgroup_ulong %5 %11 = OpBitcast %_ptr_Workgroup_ulong %5
%4 = OpLoad %ulong %11 %4 = OpLoad %ulong %11 Aligned 8
OpStore %3 %4 OpStore %3 %4
%7 = OpLoad %ulong %3 %7 = OpLoad %ulong %3
%6 = OpIAdd %ulong %7 %ulong_2 %6 = OpIAdd %ulong %7 %ulong_2
@ -47,7 +47,7 @@
%8 = OpLoad %_ptr_Workgroup_uint %41 %8 = OpLoad %_ptr_Workgroup_uint %41
%9 = OpLoad %ulong %3 %9 = OpLoad %ulong %3
%12 = OpBitcast %_ptr_Workgroup_ulong %8 %12 = OpBitcast %_ptr_Workgroup_ulong %8
OpStore %12 %9 OpStore %12 %9 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd
%14 = OpFunction %void None %60 %14 = OpFunction %void None %60
@ -66,28 +66,28 @@
%36 = OpLabel %36 = OpLabel
OpStore %15 %20 OpStore %15 %20
OpStore %16 %21 OpStore %16 %21
%22 = OpLoad %ulong %15 %22 = OpLoad %ulong %15 Aligned 8
OpStore %17 %22 OpStore %17 %22
%23 = OpLoad %ulong %16 %23 = OpLoad %ulong %16 Aligned 8
OpStore %18 %23 OpStore %18 %23
%25 = OpLoad %ulong %17 %25 = OpLoad %ulong %17
%32 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %25 %32 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %25
%24 = OpLoad %ulong %32 %24 = OpLoad %ulong %32 Aligned 8
OpStore %19 %24 OpStore %19 %24
%44 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %43 %44 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %43
%26 = OpLoad %_ptr_Workgroup_uint %44 %26 = OpLoad %_ptr_Workgroup_uint %44
%27 = OpLoad %ulong %19 %27 = OpLoad %ulong %19
%33 = OpBitcast %_ptr_Workgroup_ulong %26 %33 = OpBitcast %_ptr_Workgroup_ulong %26
OpStore %33 %27 OpStore %33 %27 Aligned 8
%63 = OpFunctionCall %void %2 %42 %63 = OpFunctionCall %void %2 %42
%45 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %43 %45 = OpBitcast %_ptr_Function__ptr_Workgroup_uint %43
%29 = OpLoad %_ptr_Workgroup_uint %45 %29 = OpLoad %_ptr_Workgroup_uint %45
%34 = OpBitcast %_ptr_Workgroup_ulong %29 %34 = OpBitcast %_ptr_Workgroup_ulong %29
%28 = OpLoad %ulong %34 %28 = OpLoad %ulong %34 Aligned 8
OpStore %19 %28 OpStore %19 %28
%30 = OpLoad %ulong %18 %30 = OpLoad %ulong %18
%31 = OpLoad %ulong %19 %31 = OpLoad %ulong %19
%35 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %30 %35 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %30
OpStore %35 %31 OpStore %35 %31 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -32,23 +32,23 @@
%8 = OpVariable %_ptr_Function_float Function %8 = OpVariable %_ptr_Function_float Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%29 = OpConvertUToPtr %_ptr_Generic_float %14 %29 = OpConvertUToPtr %_ptr_Generic_float %14
%13 = OpLoad %float %29 %13 = OpLoad %float %29 Aligned 4
OpStore %6 %13 OpStore %6 %13
%16 = OpLoad %ulong %4 %16 = OpLoad %ulong %4
%26 = OpIAdd %ulong %16 %ulong_4 %26 = OpIAdd %ulong %16 %ulong_4
%30 = OpConvertUToPtr %_ptr_Generic_float %26 %30 = OpConvertUToPtr %_ptr_Generic_float %26
%15 = OpLoad %float %30 %15 = OpLoad %float %30 Aligned 4
OpStore %7 %15 OpStore %7 %15
%18 = OpLoad %ulong %4 %18 = OpLoad %ulong %4
%28 = OpIAdd %ulong %18 %ulong_8 %28 = OpIAdd %ulong %18 %ulong_8
%31 = OpConvertUToPtr %_ptr_Generic_float %28 %31 = OpConvertUToPtr %_ptr_Generic_float %28
%17 = OpLoad %float %31 %17 = OpLoad %float %31 Aligned 4
OpStore %8 %17 OpStore %8 %17
%20 = OpLoad %float %6 %20 = OpLoad %float %6
%21 = OpLoad %float %7 %21 = OpLoad %float %7
@ -58,6 +58,6 @@
%23 = OpLoad %ulong %5 %23 = OpLoad %ulong %5
%24 = OpLoad %float %6 %24 = OpLoad %float %6
%32 = OpConvertUToPtr %_ptr_Generic_float %23 %32 = OpConvertUToPtr %_ptr_Generic_float %23
OpStore %32 %24 OpStore %32 %24 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -39,15 +39,15 @@
%16 = OpConvertPtrToU %ulong %1 %16 = OpConvertPtrToU %ulong %1
%10 = OpCopyObject %ulong %16 %10 = OpCopyObject %ulong %16
OpStore %5 %10 OpStore %5 %10
%11 = OpLoad %ulong %4 %11 = OpLoad %ulong %4 Aligned 8
OpStore %6 %11 OpStore %6 %11
%13 = OpLoad %ulong %5 %13 = OpLoad %ulong %5
%17 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %13 %17 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %13
%12 = OpLoad %uint %17 %12 = OpLoad %uint %17 Aligned 4
OpStore %7 %12 OpStore %7 %12
%14 = OpLoad %ulong %6 %14 = OpLoad %ulong %6
%15 = OpLoad %uint %7 %15 = OpLoad %uint %7
%18 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %14 %18 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %14
OpStore %18 %15 OpStore %18 %15 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -31,23 +31,23 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%18 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %13 %18 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %13
%12 = OpLoad %float %18 %12 = OpLoad %float %18 Aligned 4
OpStore %6 %12 OpStore %6 %12
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%19 = OpBitcast %_ptr_Function_float %7 %19 = OpBitcast %_ptr_Function_float %7
OpStore %19 %14 OpStore %19 %14 Aligned 4
%20 = OpBitcast %_ptr_Function_float %7 %20 = OpBitcast %_ptr_Function_float %7
%15 = OpLoad %float %20 %15 = OpLoad %float %20 Aligned 4
OpStore %6 %15 OpStore %6 %15
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %float %6 %17 = OpLoad %float %6
%21 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %16 %21 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %16
OpStore %21 %17 OpStore %21 %17 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -26,17 +26,17 @@
%6 = OpVariable %_ptr_Function_ulong Function %6 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%15 = OpConvertUToPtr %_ptr_Generic_ulong %12 %15 = OpConvertUToPtr %_ptr_Generic_ulong %12
%11 = OpLoad %ulong %15 %11 = OpLoad %ulong %15 Aligned 8
OpStore %6 %11 OpStore %6 %11
%13 = OpLoad %ulong %5 %13 = OpLoad %ulong %5
%14 = OpLoad %ulong %6 %14 = OpLoad %ulong %6
%16 = OpConvertUToPtr %_ptr_Generic_ulong %13 %16 = OpConvertUToPtr %_ptr_Generic_ulong %13
OpStore %16 %14 OpStore %16 %14 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_ulong Function %6 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%16 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %12 %16 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %12
%15 = OpLoad %float %16 %15 = OpLoad %float %16 Aligned 4
%29 = OpBitcast %uint %15 %29 = OpBitcast %uint %15
%11 = OpUConvert %ulong %29 %11 = OpUConvert %ulong %29
OpStore %6 %11 OpStore %6 %11
@ -44,6 +44,6 @@
%30 = OpBitcast %ulong %14 %30 = OpBitcast %ulong %14
%31 = OpUConvert %uint %30 %31 = OpUConvert %uint %30
%18 = OpBitcast %float %31 %18 = OpBitcast %float %31
OpStore %17 %18 OpStore %17 %18 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -31,27 +31,27 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%24 = OpConvertUToPtr %_ptr_Generic_uint %13 %24 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %24 %12 = OpLoad %uint %24 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%21 = OpIAdd %ulong %15 %ulong_4 %21 = OpIAdd %ulong %15 %ulong_4
%25 = OpConvertUToPtr %_ptr_Generic_uint %21 %25 = OpConvertUToPtr %_ptr_Generic_uint %21
%14 = OpLoad %uint %25 %14 = OpLoad %uint %25 Aligned 4
OpStore %7 %14 OpStore %7 %14
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %uint %7 %17 = OpLoad %uint %7
%26 = OpConvertUToPtr %_ptr_Generic_uint %16 %26 = OpConvertUToPtr %_ptr_Generic_uint %16
OpStore %26 %17 OpStore %26 %17 Aligned 4
%18 = OpLoad %ulong %5 %18 = OpLoad %ulong %5
%19 = OpLoad %uint %6 %19 = OpLoad %uint %6
%23 = OpIAdd %ulong %18 %ulong_4_0 %23 = OpIAdd %ulong %18 %ulong_4_0
%27 = OpConvertUToPtr %_ptr_Generic_uint %23 %27 = OpConvertUToPtr %_ptr_Generic_uint %23
OpStore %27 %19 OpStore %27 %19 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_float %12 %17 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %17 %11 = OpLoad %float %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpExtInst %float %21 log2 %14 %13 = OpExtInst %float %21 log2 %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%18 = OpConvertUToPtr %_ptr_Generic_float %15 %18 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -33,17 +33,17 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %5 %10 OpStore %5 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %6 %11 OpStore %6 %11
%13 = OpLoad %ulong %5 %13 = OpLoad %ulong %5
%16 = OpConvertUToPtr %_ptr_Generic_ulong %13 %16 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %16 %12 = OpLoad %ulong %16 Aligned 8
OpStore %7 %12 OpStore %7 %12
%14 = OpLoad %ulong %6 %14 = OpLoad %ulong %6
%15 = OpLoad %ulong %7 %15 = OpLoad %ulong %7
%17 = OpConvertUToPtr %_ptr_Generic_ulong %14 %17 = OpConvertUToPtr %_ptr_Generic_ulong %14
OpStore %17 %15 OpStore %17 %15 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -35,23 +35,23 @@
%9 = OpVariable %_ptr_Function_uint Function %9 = OpVariable %_ptr_Function_uint Function
OpStore %2 %10 OpStore %2 %10
OpStore %3 %11 OpStore %3 %11
%12 = OpLoad %ulong %2 %12 = OpLoad %ulong %2 Aligned 8
OpStore %4 %12 OpStore %4 %12
%13 = OpLoad %ulong %3 %13 = OpLoad %ulong %3 Aligned 8
OpStore %5 %13 OpStore %5 %13
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%38 = OpConvertUToPtr %_ptr_Generic_uint %15 %38 = OpConvertUToPtr %_ptr_Generic_uint %15
%14 = OpLoad %uint %38 %14 = OpLoad %uint %38 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %ulong %4 %17 = OpLoad %ulong %4
%31 = OpIAdd %ulong %17 %ulong_4 %31 = OpIAdd %ulong %17 %ulong_4
%39 = OpConvertUToPtr %_ptr_Generic_uint %31 %39 = OpConvertUToPtr %_ptr_Generic_uint %31
%16 = OpLoad %uint %39 %16 = OpLoad %uint %39 Aligned 4
OpStore %8 %16 OpStore %8 %16
%19 = OpLoad %ulong %4 %19 = OpLoad %ulong %4
%33 = OpIAdd %ulong %19 %ulong_8 %33 = OpIAdd %ulong %19 %ulong_8
%40 = OpConvertUToPtr %_ptr_Generic_uint %33 %40 = OpConvertUToPtr %_ptr_Generic_uint %33
%18 = OpLoad %uint %40 %18 = OpLoad %uint %40 Aligned 4
OpStore %9 %18 OpStore %9 %18
%21 = OpLoad %uint %7 %21 = OpLoad %uint %7
%22 = OpLoad %uint %8 %22 = OpLoad %uint %8
@ -62,16 +62,16 @@
%24 = OpLoad %ulong %5 %24 = OpLoad %ulong %5
%25 = OpLoad %uint %6 %25 = OpLoad %uint %6
%41 = OpConvertUToPtr %_ptr_Generic_uint %24 %41 = OpConvertUToPtr %_ptr_Generic_uint %24
OpStore %41 %25 OpStore %41 %25 Aligned 4
%26 = OpLoad %ulong %5 %26 = OpLoad %ulong %5
%27 = OpLoad %uint %6 %27 = OpLoad %uint %6
%35 = OpIAdd %ulong %26 %ulong_4_0 %35 = OpIAdd %ulong %26 %ulong_4_0
%42 = OpConvertUToPtr %_ptr_Generic_uint %35 %42 = OpConvertUToPtr %_ptr_Generic_uint %35
OpStore %42 %27 OpStore %42 %27 Aligned 4
%28 = OpLoad %ulong %5 %28 = OpLoad %ulong %5
%29 = OpLoad %uint %6 %29 = OpLoad %uint %6
%37 = OpIAdd %ulong %28 %ulong_8_0 %37 = OpIAdd %ulong %28 %ulong_8_0
%43 = OpConvertUToPtr %_ptr_Generic_uint %37 %43 = OpConvertUToPtr %_ptr_Generic_uint %37
OpStore %43 %29 OpStore %43 %29 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_uint %13 %23 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %23 %12 = OpLoad %uint %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_uint %22 %24 = OpConvertUToPtr %_ptr_Generic_uint %22
%14 = OpLoad %uint %24 %14 = OpLoad %uint %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %uint %6 %17 = OpLoad %uint %6
%18 = OpLoad %uint %7 %18 = OpLoad %uint %7
@ -50,6 +50,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%25 = OpConvertUToPtr %_ptr_Generic_uint %19 %25 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_uint %13 %23 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %23 %12 = OpLoad %uint %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_uint %22 %24 = OpConvertUToPtr %_ptr_Generic_uint %22
%14 = OpLoad %uint %24 %14 = OpLoad %uint %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %uint %6 %17 = OpLoad %uint %6
%18 = OpLoad %uint %7 %18 = OpLoad %uint %7
@ -50,6 +50,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%25 = OpConvertUToPtr %_ptr_Generic_uint %19 %25 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -27,13 +27,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%18 = OpConvertUToPtr %_ptr_Generic_ulong %13 %18 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %18 %12 = OpLoad %ulong %18 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%14 = OpCopyObject %ulong %15 %14 = OpCopyObject %ulong %15
@ -41,6 +41,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%19 = OpConvertUToPtr %_ptr_Generic_ulong %16 %19 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %19 %17 OpStore %19 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_float Function %7 = OpVariable %_ptr_Function_float Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_float %13 %23 = OpConvertUToPtr %_ptr_Generic_float %13
%12 = OpLoad %float %23 %12 = OpLoad %float %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_float %22 %24 = OpConvertUToPtr %_ptr_Generic_float %22
%14 = OpLoad %float %24 %14 = OpLoad %float %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %float %6 %17 = OpLoad %float %6
%18 = OpLoad %float %7 %18 = OpLoad %float %7
@ -50,6 +50,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %float %6 %20 = OpLoad %float %6
%25 = OpConvertUToPtr %_ptr_Generic_float %19 %25 = OpConvertUToPtr %_ptr_Generic_float %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%19 = OpConvertUToPtr %_ptr_Generic_ulong %13 %19 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %19 %12 = OpLoad %ulong %19 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%14 = OpExtInst %ulong %23 u_mul_hi %15 %ulong_2 %14 = OpExtInst %ulong %23 u_mul_hi %15 %ulong_2
@ -42,6 +42,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%20 = OpConvertUToPtr %_ptr_Generic_ulong %16 %20 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %20 %17 OpStore %20 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%19 = OpConvertUToPtr %_ptr_Generic_ulong %13 %19 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %19 %12 = OpLoad %ulong %19 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%14 = OpIMul %ulong %15 %ulong_2 %14 = OpIMul %ulong %15 %ulong_2
@ -42,6 +42,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%20 = OpConvertUToPtr %_ptr_Generic_ulong %16 %20 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %20 %17 OpStore %20 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_float Function %7 = OpVariable %_ptr_Function_float Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_float %13 %23 = OpConvertUToPtr %_ptr_Generic_float %13
%12 = OpLoad %float %23 %12 = OpLoad %float %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_float %22 %24 = OpConvertUToPtr %_ptr_Generic_float %22
%14 = OpLoad %float %24 %14 = OpLoad %float %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %float %6 %17 = OpLoad %float %6
%18 = OpLoad %float %7 %18 = OpLoad %float %7
@ -50,6 +50,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %float %6 %20 = OpLoad %float %6
%25 = OpConvertUToPtr %_ptr_Generic_float %19 %25 = OpConvertUToPtr %_ptr_Generic_float %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -34,18 +34,18 @@
%8 = OpVariable %_ptr_Function_ulong Function %8 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%24 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %14 %24 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %14
%13 = OpLoad %uint %24 %13 = OpLoad %uint %24 Aligned 4
OpStore %6 %13 OpStore %6 %13
%16 = OpLoad %ulong %4 %16 = OpLoad %ulong %4
%23 = OpIAdd %ulong %16 %ulong_4 %23 = OpIAdd %ulong %16 %ulong_4
%25 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %23 %25 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %23
%15 = OpLoad %uint %25 %15 = OpLoad %uint %25 Aligned 4
OpStore %7 %15 OpStore %7 %15
%18 = OpLoad %uint %6 %18 = OpLoad %uint %6
%19 = OpLoad %uint %7 %19 = OpLoad %uint %7
@ -59,6 +59,6 @@
%21 = OpLoad %ulong %8 %21 = OpLoad %ulong %8
%26 = OpConvertUToPtr %_ptr_Generic_ulong %20 %26 = OpConvertUToPtr %_ptr_Generic_ulong %20
%27 = OpCopyObject %ulong %21 %27 = OpCopyObject %ulong %21
OpStore %26 %27 OpStore %26 %27 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_uint Function %6 = OpVariable %_ptr_Function_uint Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_uint %12 %17 = OpConvertUToPtr %_ptr_Generic_uint %12
%11 = OpLoad %uint %17 %11 = OpLoad %uint %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %uint %6 %14 = OpLoad %uint %6
%13 = OpSNegate %uint %14 %13 = OpSNegate %uint %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%18 = OpConvertUToPtr %_ptr_Generic_uint %15 %18 = OpConvertUToPtr %_ptr_Generic_uint %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -27,13 +27,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%18 = OpConvertUToPtr %_ptr_Generic_ulong %13 %18 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %18 %12 = OpLoad %ulong %18 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%20 = OpCopyObject %ulong %15 %20 = OpCopyObject %ulong %15
@ -43,6 +43,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%21 = OpConvertUToPtr %_ptr_Generic_ulong %16 %21 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %21 %17 OpStore %21 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -7,7 +7,7 @@
OpCapability Int64 OpCapability Int64
OpCapability Float16 OpCapability Float16
OpCapability Float64 OpCapability Float64
%27 = OpExtInstImport "OpenCL.std" %28 = OpExtInstImport "OpenCL.std"
OpMemoryModel Physical64 OpenCL OpMemoryModel Physical64 OpenCL
OpEntryPoint Kernel %1 "ntid" %gl_WorkGroupSize OpEntryPoint Kernel %1 "ntid" %gl_WorkGroupSize
OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize
@ -16,15 +16,15 @@
%v3ulong = OpTypeVector %ulong 3 %v3ulong = OpTypeVector %ulong 3
%_ptr_Input_v3ulong = OpTypePointer Input %v3ulong %_ptr_Input_v3ulong = OpTypePointer Input %v3ulong
%gl_WorkGroupSize = OpVariable %_ptr_Input_v3ulong Input %gl_WorkGroupSize = OpVariable %_ptr_Input_v3ulong Input
%32 = OpTypeFunction %void %ulong %ulong %33 = OpTypeFunction %void %ulong %ulong
%_ptr_Function_ulong = OpTypePointer Function %ulong %_ptr_Function_ulong = OpTypePointer Function %ulong
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%_ptr_Function_uint = OpTypePointer Function %uint %_ptr_Function_uint = OpTypePointer Function %uint
%_ptr_Generic_uint = OpTypePointer Generic %uint %_ptr_Generic_uint = OpTypePointer Generic %uint
%1 = OpFunction %void None %32 %1 = OpFunction %void None %33
%9 = OpFunctionParameter %ulong %9 = OpFunctionParameter %ulong
%10 = OpFunctionParameter %ulong %10 = OpFunctionParameter %ulong
%25 = OpLabel %26 = OpLabel
%2 = OpVariable %_ptr_Function_ulong Function %2 = OpVariable %_ptr_Function_ulong Function
%3 = OpVariable %_ptr_Function_ulong Function %3 = OpVariable %_ptr_Function_ulong Function
%4 = OpVariable %_ptr_Function_ulong Function %4 = OpVariable %_ptr_Function_ulong Function
@ -33,18 +33,18 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %4 %14 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_uint %14 %24 = OpConvertUToPtr %_ptr_Generic_uint %14
%13 = OpLoad %uint %23 %13 = OpLoad %uint %24 Aligned 4
OpStore %6 %13 OpStore %6 %13
%37 = OpLoad %v3ulong %gl_WorkGroupSize %38 = OpLoad %v3ulong %gl_WorkGroupSize
%22 = OpCompositeExtract %ulong %37 0 %23 = OpCompositeExtract %ulong %38 0
%38 = OpBitcast %ulong %22 %39 = OpBitcast %ulong %23
%16 = OpUConvert %uint %38 %16 = OpUConvert %uint %39
%15 = OpCopyObject %uint %16 %15 = OpCopyObject %uint %16
OpStore %7 %15 OpStore %7 %15
%18 = OpLoad %uint %6 %18 = OpLoad %uint %6
@ -53,7 +53,7 @@
OpStore %6 %17 OpStore %6 %17
%20 = OpLoad %ulong %5 %20 = OpLoad %ulong %5
%21 = OpLoad %uint %6 %21 = OpLoad %uint %6
%24 = OpConvertUToPtr %_ptr_Generic_uint %20 %25 = OpConvertUToPtr %_ptr_Generic_uint %20
OpStore %24 %21 OpStore %25 %21 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,18 +28,18 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_ulong %13 %23 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %23 %12 = OpLoad %ulong %23 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_8 %22 = OpIAdd %ulong %15 %ulong_8
%24 = OpConvertUToPtr %_ptr_Generic_ulong %22 %24 = OpConvertUToPtr %_ptr_Generic_ulong %22
%14 = OpLoad %ulong %24 %14 = OpLoad %ulong %24 Aligned 8
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %ulong %6 %17 = OpLoad %ulong %6
%18 = OpLoad %ulong %7 %18 = OpLoad %ulong %7
@ -51,6 +51,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %ulong %6 %20 = OpLoad %ulong %6
%28 = OpConvertUToPtr %_ptr_Generic_ulong %19 %28 = OpConvertUToPtr %_ptr_Generic_ulong %19
OpStore %28 %20 OpStore %28 %20 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_uint Function %6 = OpVariable %_ptr_Function_uint Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_uint %12 %17 = OpConvertUToPtr %_ptr_Generic_uint %12
%11 = OpLoad %uint %17 %11 = OpLoad %uint %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %uint %6 %14 = OpLoad %uint %6
%13 = OpBitCount %uint %14 %13 = OpBitCount %uint %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%18 = OpConvertUToPtr %_ptr_Generic_uint %15 %18 = OpConvertUToPtr %_ptr_Generic_uint %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -36,18 +36,18 @@
%9 = OpVariable %_ptr_Function_bool Function %9 = OpVariable %_ptr_Function_bool Function
OpStore %2 %14 OpStore %2 %14
OpStore %3 %15 OpStore %3 %15
%16 = OpLoad %ulong %2 %16 = OpLoad %ulong %2 Aligned 8
OpStore %4 %16 OpStore %4 %16
%17 = OpLoad %ulong %3 %17 = OpLoad %ulong %3 Aligned 8
OpStore %5 %17 OpStore %5 %17
%19 = OpLoad %ulong %4 %19 = OpLoad %ulong %4
%37 = OpConvertUToPtr %_ptr_Generic_ulong %19 %37 = OpConvertUToPtr %_ptr_Generic_ulong %19
%18 = OpLoad %ulong %37 %18 = OpLoad %ulong %37 Aligned 8
OpStore %6 %18 OpStore %6 %18
%21 = OpLoad %ulong %4 %21 = OpLoad %ulong %4
%34 = OpIAdd %ulong %21 %ulong_8 %34 = OpIAdd %ulong %21 %ulong_8
%38 = OpConvertUToPtr %_ptr_Generic_ulong %34 %38 = OpConvertUToPtr %_ptr_Generic_ulong %34
%20 = OpLoad %ulong %38 %20 = OpLoad %ulong %38 Aligned 8
OpStore %7 %20 OpStore %7 %20
%23 = OpLoad %ulong %6 %23 = OpLoad %ulong %6
%24 = OpLoad %ulong %7 %24 = OpLoad %ulong %7
@ -73,6 +73,6 @@
%31 = OpLoad %ulong %5 %31 = OpLoad %ulong %5
%32 = OpLoad %ulong %8 %32 = OpLoad %ulong %8
%39 = OpConvertUToPtr %_ptr_Generic_ulong %31 %39 = OpConvertUToPtr %_ptr_Generic_ulong %31
OpStore %39 %32 OpStore %39 %32 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,13 +30,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_float %12 %17 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %17 %11 = OpLoad %float %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpFDiv %float %float_1 %14 %13 = OpFDiv %float %float_1 %14
@ -44,6 +44,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%18 = OpConvertUToPtr %_ptr_Generic_float %15 %18 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -38,25 +38,25 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %5 %10 OpStore %5 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %6 %11 OpStore %6 %11
%13 = OpLoad %ulong %5 %13 = OpLoad %ulong %5
%25 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %13 %25 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %13
%24 = OpLoad %ulong %25 %24 = OpLoad %ulong %25 Aligned 8
%12 = OpCopyObject %ulong %24 %12 = OpCopyObject %ulong %24
OpStore %7 %12 OpStore %7 %12
%14 = OpLoad %ulong %7 %14 = OpLoad %ulong %7
%26 = OpCopyObject %ulong %14 %26 = OpCopyObject %ulong %14
%19 = OpIAdd %ulong %26 %ulong_1 %19 = OpIAdd %ulong %26 %ulong_1
%27 = OpBitcast %_ptr_Generic_ulong %4 %27 = OpBitcast %_ptr_Generic_ulong %4
OpStore %27 %19 OpStore %27 %19 Aligned 8
%28 = OpBitcast %_ptr_Generic_ulong %4 %28 = OpBitcast %_ptr_Generic_ulong %4
%47 = OpBitcast %_ptr_Generic_uchar %28 %47 = OpBitcast %_ptr_Generic_uchar %28
%48 = OpInBoundsPtrAccessChain %_ptr_Generic_uchar %47 %ulong_0 %48 = OpInBoundsPtrAccessChain %_ptr_Generic_uchar %47 %ulong_0
%21 = OpBitcast %_ptr_Generic_ulong %48 %21 = OpBitcast %_ptr_Generic_ulong %48
%29 = OpLoad %ulong %21 %29 = OpLoad %ulong %21 Aligned 8
%15 = OpCopyObject %ulong %29 %15 = OpCopyObject %ulong %29
OpStore %7 %15 OpStore %7 %15
%16 = OpLoad %ulong %6 %16 = OpLoad %ulong %6
@ -64,6 +64,6 @@
%23 = OpIAdd %ulong %16 %ulong_0_0 %23 = OpIAdd %ulong %16 %ulong_0_0
%30 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %23 %30 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %23
%31 = OpCopyObject %ulong %17 %31 = OpCopyObject %ulong %17
OpStore %30 %31 OpStore %30 %31 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_uint %13 %23 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %23 %12 = OpLoad %uint %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_uint %22 %24 = OpConvertUToPtr %_ptr_Generic_uint %22
%14 = OpLoad %uint %24 %14 = OpLoad %uint %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %uint %6 %17 = OpLoad %uint %6
%18 = OpLoad %uint %7 %18 = OpLoad %uint %7
@ -50,6 +50,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%25 = OpConvertUToPtr %_ptr_Generic_uint %19 %25 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_double Function %6 = OpVariable %_ptr_Function_double Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_double %12 %17 = OpConvertUToPtr %_ptr_Generic_double %12
%11 = OpLoad %double %17 %11 = OpLoad %double %17 Aligned 8
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %double %6 %14 = OpLoad %double %6
%13 = OpExtInst %double %21 native_rsqrt %14 %13 = OpExtInst %double %21 native_rsqrt %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %double %6 %16 = OpLoad %double %6
%18 = OpConvertUToPtr %_ptr_Generic_double %15 %18 = OpConvertUToPtr %_ptr_Generic_double %15
OpStore %18 %16 OpStore %18 %16 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -32,18 +32,18 @@
%7 = OpVariable %_ptr_Function_ushort Function %7 = OpVariable %_ptr_Function_ushort Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%24 = OpConvertUToPtr %_ptr_Generic_ushort %13 %24 = OpConvertUToPtr %_ptr_Generic_ushort %13
%12 = OpLoad %ushort %24 %12 = OpLoad %ushort %24 Aligned 2
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_2 %22 = OpIAdd %ulong %15 %ulong_2
%25 = OpConvertUToPtr %_ptr_Generic_ushort %22 %25 = OpConvertUToPtr %_ptr_Generic_ushort %22
%14 = OpLoad %ushort %25 %14 = OpLoad %ushort %25 Aligned 2
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %ushort %6 %17 = OpLoad %ushort %6
%18 = OpLoad %ushort %7 %18 = OpLoad %ushort %7
@ -52,6 +52,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %ushort %6 %20 = OpLoad %ushort %6
%26 = OpConvertUToPtr %_ptr_Generic_ushort %19 %26 = OpConvertUToPtr %_ptr_Generic_ushort %19
OpStore %26 %20 OpStore %26 %20 Aligned 2
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -32,18 +32,18 @@
%7 = OpVariable %_ptr_Function_ushort Function %7 = OpVariable %_ptr_Function_ushort Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%24 = OpConvertUToPtr %_ptr_Generic_ushort %13 %24 = OpConvertUToPtr %_ptr_Generic_ushort %13
%12 = OpLoad %ushort %24 %12 = OpLoad %ushort %24 Aligned 2
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_2 %22 = OpIAdd %ulong %15 %ulong_2
%25 = OpConvertUToPtr %_ptr_Generic_ushort %22 %25 = OpConvertUToPtr %_ptr_Generic_ushort %22
%14 = OpLoad %ushort %25 %14 = OpLoad %ushort %25 Aligned 2
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %ushort %6 %17 = OpLoad %ushort %6
%18 = OpLoad %ushort %7 %18 = OpLoad %ushort %7
@ -52,6 +52,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %ushort %6 %20 = OpLoad %ushort %6
%26 = OpConvertUToPtr %_ptr_Generic_ushort %19 %26 = OpConvertUToPtr %_ptr_Generic_ushort %19
OpStore %26 %20 OpStore %26 %20 Aligned 2
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -34,18 +34,18 @@
%9 = OpVariable %_ptr_Function_bool Function %9 = OpVariable %_ptr_Function_bool Function
OpStore %2 %14 OpStore %2 %14
OpStore %3 %15 OpStore %3 %15
%16 = OpLoad %ulong %2 %16 = OpLoad %ulong %2 Aligned 8
OpStore %4 %16 OpStore %4 %16
%17 = OpLoad %ulong %3 %17 = OpLoad %ulong %3 Aligned 8
OpStore %5 %17 OpStore %5 %17
%19 = OpLoad %ulong %4 %19 = OpLoad %ulong %4
%35 = OpConvertUToPtr %_ptr_Generic_ulong %19 %35 = OpConvertUToPtr %_ptr_Generic_ulong %19
%18 = OpLoad %ulong %35 %18 = OpLoad %ulong %35 Aligned 8
OpStore %6 %18 OpStore %6 %18
%21 = OpLoad %ulong %4 %21 = OpLoad %ulong %4
%32 = OpIAdd %ulong %21 %ulong_8 %32 = OpIAdd %ulong %21 %ulong_8
%36 = OpConvertUToPtr %_ptr_Generic_ulong %32 %36 = OpConvertUToPtr %_ptr_Generic_ulong %32
%20 = OpLoad %ulong %36 %20 = OpLoad %ulong %36 Aligned 8
OpStore %7 %20 OpStore %7 %20
%23 = OpLoad %ulong %6 %23 = OpLoad %ulong %6
%24 = OpLoad %ulong %7 %24 = OpLoad %ulong %7
@ -68,6 +68,6 @@
%29 = OpLoad %ulong %5 %29 = OpLoad %ulong %5
%30 = OpLoad %ulong %8 %30 = OpLoad %ulong %8
%37 = OpConvertUToPtr %_ptr_Generic_ulong %29 %37 = OpConvertUToPtr %_ptr_Generic_ulong %29
OpStore %37 %30 OpStore %37 %30 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -38,29 +38,29 @@
%9 = OpVariable %_ptr_Function_ulong Function %9 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %10 OpStore %2 %10
OpStore %3 %11 OpStore %3 %11
%12 = OpLoad %ulong %2 %12 = OpLoad %ulong %2 Aligned 8
OpStore %5 %12 OpStore %5 %12
%13 = OpLoad %ulong %3 %13 = OpLoad %ulong %3 Aligned 8
OpStore %6 %13 OpStore %6 %13
%25 = OpConvertPtrToU %uint %4 %25 = OpConvertPtrToU %uint %4
%14 = OpCopyObject %uint %25 %14 = OpCopyObject %uint %25
OpStore %7 %14 OpStore %7 %14
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%26 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %16 %26 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %16
%15 = OpLoad %ulong %26 %15 = OpLoad %ulong %26 Aligned 8
OpStore %8 %15 OpStore %8 %15
%17 = OpLoad %uint %7 %17 = OpLoad %uint %7
%18 = OpLoad %ulong %8 %18 = OpLoad %ulong %8
%27 = OpConvertUToPtr %_ptr_Workgroup_ulong %17 %27 = OpConvertUToPtr %_ptr_Workgroup_ulong %17
OpStore %27 %18 OpStore %27 %18 Aligned 8
%20 = OpLoad %uint %7 %20 = OpLoad %uint %7
%24 = OpIAdd %uint %20 %uint_0 %24 = OpIAdd %uint %20 %uint_0
%28 = OpConvertUToPtr %_ptr_Workgroup_ulong %24 %28 = OpConvertUToPtr %_ptr_Workgroup_ulong %24
%19 = OpLoad %ulong %28 %19 = OpLoad %ulong %28 Aligned 8
OpStore %9 %19 OpStore %9 %19
%21 = OpLoad %ulong %6 %21 = OpLoad %ulong %6
%22 = OpLoad %ulong %9 %22 = OpLoad %ulong %9
%29 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %21 %29 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %21
OpStore %29 %22 OpStore %29 %22 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -40,9 +40,9 @@
%29 = OpLabel %29 = OpLabel
OpStore %3 %10 OpStore %3 %10
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4 Aligned 8
OpStore %6 %13 OpStore %6 %13
%15 = OpLoad %_ptr_Workgroup_uchar %32 %15 = OpLoad %_ptr_Workgroup_uchar %32
%24 = OpConvertPtrToU %ulong %15 %24 = OpConvertPtrToU %ulong %15
@ -50,19 +50,19 @@
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %ulong %5 %17 = OpLoad %ulong %5
%25 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %17 %25 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %17
%16 = OpLoad %ulong %25 %16 = OpLoad %ulong %25 Aligned 8
OpStore %8 %16 OpStore %8 %16
%18 = OpLoad %ulong %7 %18 = OpLoad %ulong %7
%19 = OpLoad %ulong %8 %19 = OpLoad %ulong %8
%26 = OpConvertUToPtr %_ptr_Workgroup_ulong %18 %26 = OpConvertUToPtr %_ptr_Workgroup_ulong %18
OpStore %26 %19 OpStore %26 %19 Aligned 8
%21 = OpLoad %ulong %7 %21 = OpLoad %ulong %7
%27 = OpConvertUToPtr %_ptr_Workgroup_ulong %21 %27 = OpConvertUToPtr %_ptr_Workgroup_ulong %21
%20 = OpLoad %ulong %27 %20 = OpLoad %ulong %27 Aligned 8
OpStore %9 %20 OpStore %9 %20
%22 = OpLoad %ulong %6 %22 = OpLoad %ulong %6
%23 = OpLoad %ulong %9 %23 = OpLoad %ulong %9
%28 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %22 %28 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %22
OpStore %28 %23 OpStore %28 %23 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -35,23 +35,23 @@
%8 = OpVariable %_ptr_Function_ulong Function %8 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %5 %11 OpStore %5 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %6 %12 OpStore %6 %12
%14 = OpLoad %ulong %5 %14 = OpLoad %ulong %5
%19 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %14 %19 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %14
%13 = OpLoad %ulong %19 %13 = OpLoad %ulong %19 Aligned 8
OpStore %7 %13 OpStore %7 %13
%15 = OpLoad %ulong %7 %15 = OpLoad %ulong %7
%20 = OpBitcast %_ptr_Workgroup_ulong %4 %20 = OpBitcast %_ptr_Workgroup_ulong %4
OpStore %20 %15 OpStore %20 %15 Aligned 8
%21 = OpBitcast %_ptr_Workgroup_ulong %4 %21 = OpBitcast %_ptr_Workgroup_ulong %4
%16 = OpLoad %ulong %21 %16 = OpLoad %ulong %21 Aligned 8
OpStore %8 %16 OpStore %8 %16
%17 = OpLoad %ulong %6 %17 = OpLoad %ulong %6
%18 = OpLoad %ulong %8 %18 = OpLoad %ulong %8
%22 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %17 %22 = OpConvertUToPtr %_ptr_CrossWorkgroup_ulong %17
OpStore %22 %18 OpStore %22 %18 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -29,13 +29,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%19 = OpConvertUToPtr %_ptr_Generic_ulong %13 %19 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %19 %12 = OpLoad %ulong %19 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%21 = OpCopyObject %ulong %15 %21 = OpCopyObject %ulong %15
@ -46,6 +46,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%22 = OpConvertUToPtr %_ptr_Generic_ulong %16 %22 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %22 %17 OpStore %22 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -39,9 +39,9 @@
%8 = OpVariable %_ptr_Function_uint Function %8 = OpVariable %_ptr_Function_uint Function
OpStore %2 %9 OpStore %2 %9
OpStore %3 %10 OpStore %3 %10
%11 = OpLoad %ulong %2 %11 = OpLoad %ulong %2 Aligned 8
OpStore %4 %11 OpStore %4 %11
%12 = OpLoad %ulong %3 %12 = OpLoad %ulong %3 Aligned 8
OpStore %5 %12 OpStore %5 %12
%14 = OpLoad %ulong %5 %14 = OpLoad %ulong %5
%23 = OpConvertUToPtr %_ptr_Generic_uint %14 %23 = OpConvertUToPtr %_ptr_Generic_uint %14
@ -49,7 +49,7 @@
OpStore %8 %13 OpStore %8 %13
%16 = OpLoad %ulong %4 %16 = OpLoad %ulong %4
%24 = OpConvertUToPtr %_ptr_Generic_ulong %16 %24 = OpConvertUToPtr %_ptr_Generic_ulong %16
%15 = OpLoad %ulong %24 %15 = OpLoad %ulong %24 Aligned 8
OpStore %6 %15 OpStore %6 %15
%18 = OpLoad %ulong %6 %18 = OpLoad %ulong %6
%26 = OpCopyObject %ulong %18 %26 = OpCopyObject %ulong %18
@ -60,6 +60,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %ulong %7 %20 = OpLoad %ulong %7
%27 = OpConvertUToPtr %_ptr_Generic_ulong %19 %27 = OpConvertUToPtr %_ptr_Generic_ulong %19
OpStore %27 %20 OpStore %27 %20 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -29,13 +29,13 @@
%6 = OpVariable %_ptr_Function_uint Function %6 = OpVariable %_ptr_Function_uint Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%18 = OpConvertUToPtr %_ptr_Generic_uint %12 %18 = OpConvertUToPtr %_ptr_Generic_uint %12
%11 = OpLoad %uint %18 %11 = OpLoad %uint %18 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %uint %6 %14 = OpLoad %uint %6
%13 = OpShiftRightArithmetic %uint %14 %uint_1 %13 = OpShiftRightArithmetic %uint %14 %uint_1
@ -43,6 +43,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %uint %6 %16 = OpLoad %uint %6
%19 = OpConvertUToPtr %_ptr_Generic_uint %15 %19 = OpConvertUToPtr %_ptr_Generic_uint %15
OpStore %19 %16 OpStore %19 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_float %12 %17 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %17 %11 = OpLoad %float %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpExtInst %float %21 sin %14 %13 = OpExtInst %float %21 sin %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%18 = OpConvertUToPtr %_ptr_Generic_float %15 %18 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%6 = OpVariable %_ptr_Function_float Function %6 = OpVariable %_ptr_Function_float Function
OpStore %2 %7 OpStore %2 %7
OpStore %3 %8 OpStore %3 %8
%9 = OpLoad %ulong %2 %9 = OpLoad %ulong %2 Aligned 8
OpStore %4 %9 OpStore %4 %9
%10 = OpLoad %ulong %3 %10 = OpLoad %ulong %3 Aligned 8
OpStore %5 %10 OpStore %5 %10
%12 = OpLoad %ulong %4 %12 = OpLoad %ulong %4
%17 = OpConvertUToPtr %_ptr_Generic_float %12 %17 = OpConvertUToPtr %_ptr_Generic_float %12
%11 = OpLoad %float %17 %11 = OpLoad %float %17 Aligned 4
OpStore %6 %11 OpStore %6 %11
%14 = OpLoad %float %6 %14 = OpLoad %float %6
%13 = OpExtInst %float %21 native_sqrt %14 %13 = OpExtInst %float %21 native_sqrt %14
@ -42,6 +42,6 @@
%15 = OpLoad %ulong %5 %15 = OpLoad %ulong %5
%16 = OpLoad %float %6 %16 = OpLoad %float %6
%18 = OpConvertUToPtr %_ptr_Generic_float %15 %18 = OpConvertUToPtr %_ptr_Generic_float %15
OpStore %18 %16 OpStore %18 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -7,7 +7,7 @@
OpCapability Int64 OpCapability Int64
OpCapability Float16 OpCapability Float16
OpCapability Float64 OpCapability Float64
%49 = OpExtInstImport "OpenCL.std" %50 = OpExtInstImport "OpenCL.std"
OpMemoryModel Physical64 OpenCL OpMemoryModel Physical64 OpenCL
OpEntryPoint Kernel %1 "stateful_ld_st_ntid" %gl_LocalInvocationID OpEntryPoint Kernel %1 "stateful_ld_st_ntid" %gl_LocalInvocationID
OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
@ -18,16 +18,16 @@
%gl_LocalInvocationID = OpVariable %_ptr_Input_v3ulong Input %gl_LocalInvocationID = OpVariable %_ptr_Input_v3ulong Input
%uchar = OpTypeInt 8 0 %uchar = OpTypeInt 8 0
%_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar %_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar
%56 = OpTypeFunction %void %_ptr_CrossWorkgroup_uchar %_ptr_CrossWorkgroup_uchar %57 = OpTypeFunction %void %_ptr_CrossWorkgroup_uchar %_ptr_CrossWorkgroup_uchar
%_ptr_Function__ptr_CrossWorkgroup_uchar = OpTypePointer Function %_ptr_CrossWorkgroup_uchar %_ptr_Function__ptr_CrossWorkgroup_uchar = OpTypePointer Function %_ptr_CrossWorkgroup_uchar
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%_ptr_Function_uint = OpTypePointer Function %uint %_ptr_Function_uint = OpTypePointer Function %uint
%_ptr_Function_ulong = OpTypePointer Function %ulong %_ptr_Function_ulong = OpTypePointer Function %ulong
%_ptr_CrossWorkgroup_ulong = OpTypePointer CrossWorkgroup %ulong %_ptr_CrossWorkgroup_ulong = OpTypePointer CrossWorkgroup %ulong
%1 = OpFunction %void None %56 %1 = OpFunction %void None %57
%20 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar %20 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
%21 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar %21 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
%47 = OpLabel %48 = OpLabel
%2 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %2 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
%3 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %3 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
%10 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %10 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
@ -38,13 +38,13 @@
OpStore %2 %20 OpStore %2 %20
OpStore %3 %21 OpStore %3 %21
%13 = OpBitcast %_ptr_Function_ulong %2 %13 = OpBitcast %_ptr_Function_ulong %2
%43 = OpLoad %ulong %13 %44 = OpLoad %ulong %13 Aligned 8
%12 = OpCopyObject %ulong %43 %12 = OpCopyObject %ulong %44
%22 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %12 %22 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %12
OpStore %10 %22 OpStore %10 %22
%15 = OpBitcast %_ptr_Function_ulong %3 %15 = OpBitcast %_ptr_Function_ulong %3
%44 = OpLoad %ulong %15 %45 = OpLoad %ulong %15 Aligned 8
%14 = OpCopyObject %ulong %44 %14 = OpCopyObject %ulong %45
%23 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %14 %23 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %14
OpStore %11 %23 OpStore %11 %23
%24 = OpLoad %_ptr_CrossWorkgroup_uchar %10 %24 = OpLoad %_ptr_CrossWorkgroup_uchar %10
@ -57,35 +57,35 @@
%18 = OpCopyObject %ulong %19 %18 = OpCopyObject %ulong %19
%27 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %18 %27 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %18
OpStore %11 %27 OpStore %11 %27
%61 = OpLoad %v3ulong %gl_LocalInvocationID %62 = OpLoad %v3ulong %gl_LocalInvocationID
%42 = OpCompositeExtract %ulong %61 0 %43 = OpCompositeExtract %ulong %62 0
%62 = OpBitcast %ulong %42 %63 = OpBitcast %ulong %43
%29 = OpUConvert %uint %62 %29 = OpUConvert %uint %63
%28 = OpCopyObject %uint %29 %28 = OpCopyObject %uint %29
OpStore %6 %28 OpStore %6 %28
%31 = OpLoad %uint %6 %31 = OpLoad %uint %6
%63 = OpBitcast %uint %31 %64 = OpBitcast %uint %31
%30 = OpUConvert %ulong %63 %30 = OpUConvert %ulong %64
OpStore %7 %30 OpStore %7 %30
%33 = OpLoad %_ptr_CrossWorkgroup_uchar %10 %33 = OpLoad %_ptr_CrossWorkgroup_uchar %10
%34 = OpLoad %ulong %7 %34 = OpLoad %ulong %7
%64 = OpBitcast %_ptr_CrossWorkgroup_uchar %33 %65 = OpBitcast %_ptr_CrossWorkgroup_uchar %33
%65 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %64 %34 %66 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %65 %34
%32 = OpBitcast %_ptr_CrossWorkgroup_uchar %65 %32 = OpBitcast %_ptr_CrossWorkgroup_uchar %66
OpStore %10 %32 OpStore %10 %32
%36 = OpLoad %_ptr_CrossWorkgroup_uchar %11 %36 = OpLoad %_ptr_CrossWorkgroup_uchar %11
%37 = OpLoad %ulong %7 %37 = OpLoad %ulong %7
%66 = OpBitcast %_ptr_CrossWorkgroup_uchar %36 %67 = OpBitcast %_ptr_CrossWorkgroup_uchar %36
%67 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %66 %37 %68 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %67 %37
%35 = OpBitcast %_ptr_CrossWorkgroup_uchar %67 %35 = OpBitcast %_ptr_CrossWorkgroup_uchar %68
OpStore %11 %35 OpStore %11 %35
%39 = OpLoad %_ptr_CrossWorkgroup_uchar %10 %39 = OpLoad %_ptr_CrossWorkgroup_uchar %10
%45 = OpBitcast %_ptr_CrossWorkgroup_ulong %39 %46 = OpBitcast %_ptr_CrossWorkgroup_ulong %39
%38 = OpLoad %ulong %45 %38 = OpLoad %ulong %46 Aligned 8
OpStore %8 %38 OpStore %8 %38
%40 = OpLoad %_ptr_CrossWorkgroup_uchar %11 %40 = OpLoad %_ptr_CrossWorkgroup_uchar %11
%41 = OpLoad %ulong %8 %41 = OpLoad %ulong %8
%46 = OpBitcast %_ptr_CrossWorkgroup_ulong %40 %47 = OpBitcast %_ptr_CrossWorkgroup_ulong %40
OpStore %46 %41 OpStore %47 %41 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -7,7 +7,7 @@
OpCapability Int64 OpCapability Int64
OpCapability Float16 OpCapability Float16
OpCapability Float64 OpCapability Float64
%57 = OpExtInstImport "OpenCL.std" %58 = OpExtInstImport "OpenCL.std"
OpMemoryModel Physical64 OpenCL OpMemoryModel Physical64 OpenCL
OpEntryPoint Kernel %1 "stateful_ld_st_ntid_chain" %gl_LocalInvocationID OpEntryPoint Kernel %1 "stateful_ld_st_ntid_chain" %gl_LocalInvocationID
OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
@ -18,16 +18,16 @@
%gl_LocalInvocationID = OpVariable %_ptr_Input_v3ulong Input %gl_LocalInvocationID = OpVariable %_ptr_Input_v3ulong Input
%uchar = OpTypeInt 8 0 %uchar = OpTypeInt 8 0
%_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar %_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar
%64 = OpTypeFunction %void %_ptr_CrossWorkgroup_uchar %_ptr_CrossWorkgroup_uchar %65 = OpTypeFunction %void %_ptr_CrossWorkgroup_uchar %_ptr_CrossWorkgroup_uchar
%_ptr_Function__ptr_CrossWorkgroup_uchar = OpTypePointer Function %_ptr_CrossWorkgroup_uchar %_ptr_Function__ptr_CrossWorkgroup_uchar = OpTypePointer Function %_ptr_CrossWorkgroup_uchar
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%_ptr_Function_uint = OpTypePointer Function %uint %_ptr_Function_uint = OpTypePointer Function %uint
%_ptr_Function_ulong = OpTypePointer Function %ulong %_ptr_Function_ulong = OpTypePointer Function %ulong
%_ptr_CrossWorkgroup_ulong = OpTypePointer CrossWorkgroup %ulong %_ptr_CrossWorkgroup_ulong = OpTypePointer CrossWorkgroup %ulong
%1 = OpFunction %void None %64 %1 = OpFunction %void None %65
%28 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar %28 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
%29 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar %29 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
%55 = OpLabel %56 = OpLabel
%2 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %2 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
%3 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %3 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
%14 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %14 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
@ -42,13 +42,13 @@
OpStore %2 %28 OpStore %2 %28
OpStore %3 %29 OpStore %3 %29
%21 = OpBitcast %_ptr_Function_ulong %2 %21 = OpBitcast %_ptr_Function_ulong %2
%51 = OpLoad %ulong %21 %52 = OpLoad %ulong %21 Aligned 8
%20 = OpCopyObject %ulong %51 %20 = OpCopyObject %ulong %52
%30 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %20 %30 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %20
OpStore %14 %30 OpStore %14 %30
%23 = OpBitcast %_ptr_Function_ulong %3 %23 = OpBitcast %_ptr_Function_ulong %3
%52 = OpLoad %ulong %23 %53 = OpLoad %ulong %23 Aligned 8
%22 = OpCopyObject %ulong %52 %22 = OpCopyObject %ulong %53
%31 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %22 %31 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %22
OpStore %17 %31 OpStore %17 %31
%32 = OpLoad %_ptr_CrossWorkgroup_uchar %14 %32 = OpLoad %_ptr_CrossWorkgroup_uchar %14
@ -61,35 +61,35 @@
%26 = OpCopyObject %ulong %27 %26 = OpCopyObject %ulong %27
%35 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %26 %35 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %26
OpStore %18 %35 OpStore %18 %35
%69 = OpLoad %v3ulong %gl_LocalInvocationID %70 = OpLoad %v3ulong %gl_LocalInvocationID
%50 = OpCompositeExtract %ulong %69 0 %51 = OpCompositeExtract %ulong %70 0
%70 = OpBitcast %ulong %50 %71 = OpBitcast %ulong %51
%37 = OpUConvert %uint %70 %37 = OpUConvert %uint %71
%36 = OpCopyObject %uint %37 %36 = OpCopyObject %uint %37
OpStore %10 %36 OpStore %10 %36
%39 = OpLoad %uint %10 %39 = OpLoad %uint %10
%71 = OpBitcast %uint %39 %72 = OpBitcast %uint %39
%38 = OpUConvert %ulong %71 %38 = OpUConvert %ulong %72
OpStore %11 %38 OpStore %11 %38
%41 = OpLoad %_ptr_CrossWorkgroup_uchar %15 %41 = OpLoad %_ptr_CrossWorkgroup_uchar %15
%42 = OpLoad %ulong %11 %42 = OpLoad %ulong %11
%72 = OpBitcast %_ptr_CrossWorkgroup_uchar %41 %73 = OpBitcast %_ptr_CrossWorkgroup_uchar %41
%73 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %72 %42 %74 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %73 %42
%40 = OpBitcast %_ptr_CrossWorkgroup_uchar %73 %40 = OpBitcast %_ptr_CrossWorkgroup_uchar %74
OpStore %16 %40 OpStore %16 %40
%44 = OpLoad %_ptr_CrossWorkgroup_uchar %18 %44 = OpLoad %_ptr_CrossWorkgroup_uchar %18
%45 = OpLoad %ulong %11 %45 = OpLoad %ulong %11
%74 = OpBitcast %_ptr_CrossWorkgroup_uchar %44 %75 = OpBitcast %_ptr_CrossWorkgroup_uchar %44
%75 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %74 %45 %76 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %75 %45
%43 = OpBitcast %_ptr_CrossWorkgroup_uchar %75 %43 = OpBitcast %_ptr_CrossWorkgroup_uchar %76
OpStore %19 %43 OpStore %19 %43
%47 = OpLoad %_ptr_CrossWorkgroup_uchar %16 %47 = OpLoad %_ptr_CrossWorkgroup_uchar %16
%53 = OpBitcast %_ptr_CrossWorkgroup_ulong %47 %54 = OpBitcast %_ptr_CrossWorkgroup_ulong %47
%46 = OpLoad %ulong %53 %46 = OpLoad %ulong %54 Aligned 8
OpStore %12 %46 OpStore %12 %46
%48 = OpLoad %_ptr_CrossWorkgroup_uchar %19 %48 = OpLoad %_ptr_CrossWorkgroup_uchar %19
%49 = OpLoad %ulong %12 %49 = OpLoad %ulong %12
%54 = OpBitcast %_ptr_CrossWorkgroup_ulong %48 %55 = OpBitcast %_ptr_CrossWorkgroup_ulong %48
OpStore %54 %49 OpStore %55 %49 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -7,7 +7,7 @@
OpCapability Int64 OpCapability Int64
OpCapability Float16 OpCapability Float16
OpCapability Float64 OpCapability Float64
%65 = OpExtInstImport "OpenCL.std" %66 = OpExtInstImport "OpenCL.std"
OpMemoryModel Physical64 OpenCL OpMemoryModel Physical64 OpenCL
OpEntryPoint Kernel %1 "stateful_ld_st_ntid_sub" %gl_LocalInvocationID OpEntryPoint Kernel %1 "stateful_ld_st_ntid_sub" %gl_LocalInvocationID
OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
@ -18,7 +18,7 @@
%gl_LocalInvocationID = OpVariable %_ptr_Input_v3ulong Input %gl_LocalInvocationID = OpVariable %_ptr_Input_v3ulong Input
%uchar = OpTypeInt 8 0 %uchar = OpTypeInt 8 0
%_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar %_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar
%72 = OpTypeFunction %void %_ptr_CrossWorkgroup_uchar %_ptr_CrossWorkgroup_uchar %73 = OpTypeFunction %void %_ptr_CrossWorkgroup_uchar %_ptr_CrossWorkgroup_uchar
%_ptr_Function__ptr_CrossWorkgroup_uchar = OpTypePointer Function %_ptr_CrossWorkgroup_uchar %_ptr_Function__ptr_CrossWorkgroup_uchar = OpTypePointer Function %_ptr_CrossWorkgroup_uchar
%uint = OpTypeInt 32 0 %uint = OpTypeInt 32 0
%_ptr_Function_uint = OpTypePointer Function %uint %_ptr_Function_uint = OpTypePointer Function %uint
@ -26,10 +26,10 @@
%ulong_0 = OpConstant %ulong 0 %ulong_0 = OpConstant %ulong 0
%_ptr_CrossWorkgroup_ulong = OpTypePointer CrossWorkgroup %ulong %_ptr_CrossWorkgroup_ulong = OpTypePointer CrossWorkgroup %ulong
%ulong_0_0 = OpConstant %ulong 0 %ulong_0_0 = OpConstant %ulong 0
%1 = OpFunction %void None %72 %1 = OpFunction %void None %73
%30 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar %30 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
%31 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar %31 = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
%63 = OpLabel %64 = OpLabel
%2 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %2 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
%3 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %3 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
%14 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function %14 = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
@ -44,13 +44,13 @@
OpStore %2 %30 OpStore %2 %30
OpStore %3 %31 OpStore %3 %31
%21 = OpBitcast %_ptr_Function_ulong %2 %21 = OpBitcast %_ptr_Function_ulong %2
%57 = OpLoad %ulong %21 %58 = OpLoad %ulong %21 Aligned 8
%20 = OpCopyObject %ulong %57 %20 = OpCopyObject %ulong %58
%32 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %20 %32 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %20
OpStore %14 %32 OpStore %14 %32
%23 = OpBitcast %_ptr_Function_ulong %3 %23 = OpBitcast %_ptr_Function_ulong %3
%58 = OpLoad %ulong %23 %59 = OpLoad %ulong %23 Aligned 8
%22 = OpCopyObject %ulong %58 %22 = OpCopyObject %ulong %59
%33 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %22 %33 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %22
OpStore %17 %33 OpStore %17 %33
%34 = OpLoad %_ptr_CrossWorkgroup_uchar %14 %34 = OpLoad %_ptr_CrossWorkgroup_uchar %14
@ -63,45 +63,45 @@
%26 = OpCopyObject %ulong %27 %26 = OpCopyObject %ulong %27
%37 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %26 %37 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %26
OpStore %18 %37 OpStore %18 %37
%77 = OpLoad %v3ulong %gl_LocalInvocationID %78 = OpLoad %v3ulong %gl_LocalInvocationID
%52 = OpCompositeExtract %ulong %77 0 %53 = OpCompositeExtract %ulong %78 0
%78 = OpBitcast %ulong %52 %79 = OpBitcast %ulong %53
%39 = OpUConvert %uint %78 %39 = OpUConvert %uint %79
%38 = OpCopyObject %uint %39 %38 = OpCopyObject %uint %39
OpStore %10 %38 OpStore %10 %38
%41 = OpLoad %uint %10 %41 = OpLoad %uint %10
%79 = OpBitcast %uint %41 %80 = OpBitcast %uint %41
%40 = OpUConvert %ulong %79 %40 = OpUConvert %ulong %80
OpStore %11 %40 OpStore %11 %40
%42 = OpLoad %ulong %11 %42 = OpLoad %ulong %11
%59 = OpCopyObject %ulong %42 %60 = OpCopyObject %ulong %42
%28 = OpSNegate %ulong %59 %28 = OpSNegate %ulong %60
%44 = OpLoad %_ptr_CrossWorkgroup_uchar %15 %44 = OpLoad %_ptr_CrossWorkgroup_uchar %15
%80 = OpBitcast %_ptr_CrossWorkgroup_uchar %44 %81 = OpBitcast %_ptr_CrossWorkgroup_uchar %44
%81 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %80 %28 %82 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %81 %28
%43 = OpBitcast %_ptr_CrossWorkgroup_uchar %81 %43 = OpBitcast %_ptr_CrossWorkgroup_uchar %82
OpStore %16 %43 OpStore %16 %43
%45 = OpLoad %ulong %11 %45 = OpLoad %ulong %11
%60 = OpCopyObject %ulong %45 %61 = OpCopyObject %ulong %45
%29 = OpSNegate %ulong %60 %29 = OpSNegate %ulong %61
%47 = OpLoad %_ptr_CrossWorkgroup_uchar %18 %47 = OpLoad %_ptr_CrossWorkgroup_uchar %18
%82 = OpBitcast %_ptr_CrossWorkgroup_uchar %47 %83 = OpBitcast %_ptr_CrossWorkgroup_uchar %47
%83 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %82 %29 %84 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %83 %29
%46 = OpBitcast %_ptr_CrossWorkgroup_uchar %83 %46 = OpBitcast %_ptr_CrossWorkgroup_uchar %84
OpStore %19 %46 OpStore %19 %46
%49 = OpLoad %_ptr_CrossWorkgroup_uchar %16 %49 = OpLoad %_ptr_CrossWorkgroup_uchar %16
%61 = OpBitcast %_ptr_CrossWorkgroup_ulong %49 %62 = OpBitcast %_ptr_CrossWorkgroup_ulong %49
%85 = OpBitcast %_ptr_CrossWorkgroup_uchar %61 %86 = OpBitcast %_ptr_CrossWorkgroup_uchar %62
%86 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %85 %ulong_0 %87 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %86 %ulong_0
%54 = OpBitcast %_ptr_CrossWorkgroup_ulong %86 %55 = OpBitcast %_ptr_CrossWorkgroup_ulong %87
%48 = OpLoad %ulong %54 %48 = OpLoad %ulong %55 Aligned 8
OpStore %12 %48 OpStore %12 %48
%50 = OpLoad %_ptr_CrossWorkgroup_uchar %19 %50 = OpLoad %_ptr_CrossWorkgroup_uchar %19
%51 = OpLoad %ulong %12 %51 = OpLoad %ulong %12
%62 = OpBitcast %_ptr_CrossWorkgroup_ulong %50 %63 = OpBitcast %_ptr_CrossWorkgroup_ulong %50
%87 = OpBitcast %_ptr_CrossWorkgroup_uchar %62 %88 = OpBitcast %_ptr_CrossWorkgroup_uchar %63
%88 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %87 %ulong_0_0 %89 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %88 %ulong_0_0
%56 = OpBitcast %_ptr_CrossWorkgroup_ulong %88 %57 = OpBitcast %_ptr_CrossWorkgroup_ulong %89
OpStore %56 %51 OpStore %57 %51 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -32,11 +32,11 @@
OpStore %2 %21 OpStore %2 %21
OpStore %3 %22 OpStore %3 %22
%14 = OpBitcast %_ptr_Function_ulong %2 %14 = OpBitcast %_ptr_Function_ulong %2
%13 = OpLoad %ulong %14 %13 = OpLoad %ulong %14 Aligned 8
%23 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %13 %23 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %13
OpStore %9 %23 OpStore %9 %23
%16 = OpBitcast %_ptr_Function_ulong %3 %16 = OpBitcast %_ptr_Function_ulong %3
%15 = OpLoad %ulong %16 %15 = OpLoad %ulong %16 Aligned 8
%24 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %15 %24 = OpConvertUToPtr %_ptr_CrossWorkgroup_uchar %15
OpStore %10 %24 OpStore %10 %24
%25 = OpLoad %_ptr_CrossWorkgroup_uchar %9 %25 = OpLoad %_ptr_CrossWorkgroup_uchar %9
@ -55,11 +55,11 @@
OpStore %12 %28 OpStore %12 %28
%30 = OpLoad %_ptr_CrossWorkgroup_uchar %11 %30 = OpLoad %_ptr_CrossWorkgroup_uchar %11
%37 = OpBitcast %_ptr_CrossWorkgroup_ulong %30 %37 = OpBitcast %_ptr_CrossWorkgroup_ulong %30
%29 = OpLoad %ulong %37 %29 = OpLoad %ulong %37 Aligned 8
OpStore %8 %29 OpStore %8 %29
%31 = OpLoad %_ptr_CrossWorkgroup_uchar %12 %31 = OpLoad %_ptr_CrossWorkgroup_uchar %12
%32 = OpLoad %ulong %8 %32 = OpLoad %ulong %8
%38 = OpBitcast %_ptr_CrossWorkgroup_ulong %31 %38 = OpBitcast %_ptr_CrossWorkgroup_ulong %31
OpStore %38 %32 OpStore %38 %32 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -28,13 +28,13 @@
%7 = OpVariable %_ptr_Function_ulong Function %7 = OpVariable %_ptr_Function_ulong Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%19 = OpConvertUToPtr %_ptr_Generic_ulong %13 %19 = OpConvertUToPtr %_ptr_Generic_ulong %13
%12 = OpLoad %ulong %19 %12 = OpLoad %ulong %19 Aligned 8
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %6 %15 = OpLoad %ulong %6
%14 = OpISub %ulong %15 %ulong_1 %14 = OpISub %ulong %15 %ulong_1
@ -42,6 +42,6 @@
%16 = OpLoad %ulong %5 %16 = OpLoad %ulong %5
%17 = OpLoad %ulong %7 %17 = OpLoad %ulong %7
%20 = OpConvertUToPtr %_ptr_Generic_ulong %16 %20 = OpConvertUToPtr %_ptr_Generic_ulong %16
OpStore %20 %17 OpStore %20 %17 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -76,13 +76,13 @@
%33 = OpVariable %_ptr_Function_ulong Function %33 = OpVariable %_ptr_Function_ulong Function
OpStore %26 %34 OpStore %26 %34
OpStore %27 %35 OpStore %27 %35
%36 = OpLoad %ulong %26 %36 = OpLoad %ulong %26 Aligned 8
OpStore %28 %36 OpStore %28 %36
%37 = OpLoad %ulong %27 %37 = OpLoad %ulong %27 Aligned 8
OpStore %29 %37 OpStore %29 %37
%39 = OpLoad %ulong %28 %39 = OpLoad %ulong %28
%46 = OpConvertUToPtr %_ptr_Generic_v2uint %39 %46 = OpConvertUToPtr %_ptr_Generic_v2uint %39
%38 = OpLoad %v2uint %46 %38 = OpLoad %v2uint %46 Aligned 8
OpStore %30 %38 OpStore %30 %38
%41 = OpLoad %v2uint %30 %41 = OpLoad %v2uint %30
%40 = OpFunctionCall %v2uint %1 %41 %40 = OpFunctionCall %v2uint %1 %41
@ -94,6 +94,6 @@
%44 = OpLoad %ulong %29 %44 = OpLoad %ulong %29
%45 = OpLoad %v2uint %30 %45 = OpLoad %v2uint %30
%48 = OpConvertUToPtr %_ptr_Generic_v2uint %44 %48 = OpConvertUToPtr %_ptr_Generic_v2uint %44
OpStore %48 %45 OpStore %48 %45 Aligned 8
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -36,13 +36,13 @@
%10 = OpVariable %_ptr_Function_v4ushort Function %10 = OpVariable %_ptr_Function_v4ushort Function
OpStore %2 %17 OpStore %2 %17
OpStore %3 %18 OpStore %3 %18
%19 = OpLoad %ulong %2 %19 = OpLoad %ulong %2 Aligned 8
OpStore %4 %19 OpStore %4 %19
%20 = OpLoad %ulong %3 %20 = OpLoad %ulong %3 Aligned 8
OpStore %5 %20 OpStore %5 %20
%21 = OpLoad %ulong %4 %21 = OpLoad %ulong %4
%49 = OpConvertUToPtr %_ptr_CrossWorkgroup_v4uchar %21 %49 = OpConvertUToPtr %_ptr_CrossWorkgroup_v4uchar %21
%11 = OpLoad %v4uchar %49 %11 = OpLoad %v4uchar %49 Aligned 4
%50 = OpCompositeExtract %uchar %11 0 %50 = OpCompositeExtract %uchar %11 0
%51 = OpCompositeExtract %uchar %11 1 %51 = OpCompositeExtract %uchar %11 1
%52 = OpCompositeExtract %uchar %11 2 %52 = OpCompositeExtract %uchar %11 2
@ -120,6 +120,6 @@
%16 = OpCopyObject %v4uchar %95 %16 = OpCopyObject %v4uchar %95
%48 = OpLoad %ulong %5 %48 = OpLoad %ulong %5
%58 = OpConvertUToPtr %_ptr_CrossWorkgroup_v4uchar %48 %58 = OpConvertUToPtr %_ptr_CrossWorkgroup_v4uchar %48
OpStore %58 %16 OpStore %58 %16 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -30,18 +30,18 @@
%7 = OpVariable %_ptr_Function_uint Function %7 = OpVariable %_ptr_Function_uint Function
OpStore %2 %8 OpStore %2 %8
OpStore %3 %9 OpStore %3 %9
%10 = OpLoad %ulong %2 %10 = OpLoad %ulong %2 Aligned 8
OpStore %4 %10 OpStore %4 %10
%11 = OpLoad %ulong %3 %11 = OpLoad %ulong %3 Aligned 8
OpStore %5 %11 OpStore %5 %11
%13 = OpLoad %ulong %4 %13 = OpLoad %ulong %4
%23 = OpConvertUToPtr %_ptr_Generic_uint %13 %23 = OpConvertUToPtr %_ptr_Generic_uint %13
%12 = OpLoad %uint %23 %12 = OpLoad %uint %23 Aligned 4
OpStore %6 %12 OpStore %6 %12
%15 = OpLoad %ulong %4 %15 = OpLoad %ulong %4
%22 = OpIAdd %ulong %15 %ulong_4 %22 = OpIAdd %ulong %15 %ulong_4
%24 = OpConvertUToPtr %_ptr_Generic_uint %22 %24 = OpConvertUToPtr %_ptr_Generic_uint %22
%14 = OpLoad %uint %24 %14 = OpLoad %uint %24 Aligned 4
OpStore %7 %14 OpStore %7 %14
%17 = OpLoad %uint %6 %17 = OpLoad %uint %6
%18 = OpLoad %uint %7 %18 = OpLoad %uint %7
@ -50,6 +50,6 @@
%19 = OpLoad %ulong %5 %19 = OpLoad %ulong %5
%20 = OpLoad %uint %6 %20 = OpLoad %uint %6
%25 = OpConvertUToPtr %_ptr_Generic_uint %19 %25 = OpConvertUToPtr %_ptr_Generic_uint %19
OpStore %25 %20 OpStore %25 %20 Aligned 4
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd