connect failed: No such file or directory AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse" AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead Device init succes ; ModuleID = 'radeon' target datalayout = "e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-p24:64:64-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64" target triple = "r600--" %struct.KernelData.19 = type { %struct.KernelCamera.12, %struct.KernelFilm.13, %struct.KernelBackground.14, %struct.KernelIntegrator.15, %struct.KernelBVH.16, %struct.KernelCurves.17, %struct.KernelTables.18 } %struct.KernelCamera.12 = type { i32, i32, float, float, %struct.Transform.0, %struct.Transform.0, <4 x float>, <4 x float>, float, float, float, float, float, i32, float, float, float, float, float, float, i32, i32, i32, i32, %struct.Transform.0, %struct.Transform.0, %struct.Transform.0, %struct.Transform.0, %struct.Transform.0, %struct.Transform.0, %struct.MotionTransform.11 } %struct.Transform.0 = type { <4 x float>, <4 x float>, <4 x float>, <4 x float> } %struct.MotionTransform.11 = type { %struct.Transform.0, %struct.Transform.0, %struct.Transform.0 } %struct.KernelFilm.13 = type { float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, float, i32, i32, i32, float, float, float } %struct.KernelBackground.14 = type { i32, i32, i32, i32, float, float, float, float } %struct.KernelIntegrator.15 = type { i32, i32, i32, i32, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, i32, float, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32 } %struct.KernelBVH.16 = type { i32, i32, i32, i32, i32, i32, i32, i32 } %struct.KernelCurves.17 = type { i32, i32, float, float } %struct.KernelTables.18 = type { i32, i32, i32, i32 } %struct.ShaderData.8 = type { <3 x float>, <3 x float>, <3 x float>, <3 x float>, i32, i32, i32, i32, float, float, i32, float, float, i32, i32, %struct.differential3.4, %struct.differential3.4, %struct.differential.5, %struct.differential.5, <3 x float>, <3 x float>, [1 x %struct.ShaderClosure.7], i32, float, <3 x float>, %struct.differential3.4 } %struct.differential.5 = type { float, float } %struct.ShaderClosure.7 = type { i32, <3 x float>, float, float, float, <3 x float>, <3 x float>, float, [12 x i8] } %struct.differential3.4 = type { <3 x float>, <3 x float> } %struct.KernelGlobals.2 = type { i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8], i8, [3 x i8] } ; Function Attrs: nounwind readnone declare float @llvm.floor.f32(float) #0 ; Function Attrs: nounwind readnone declare float @llvm.fabs.f32(float) #0 ; Function Attrs: nounwind readnone declare float @llvm.fmuladd.f32(float, float, float) #0 ; Function Attrs: nounwind readnone declare float @llvm.sqrt.f32(float) #0 ; Function Attrs: nounwind readnone declare <3 x float> @llvm.fmuladd.v3f32(<3 x float>, <3 x float>, <3 x float>) #0 ; Function Attrs: nounwind declare void @llvm.lifetime.start(i64, i8* nocapture) #1 ; Function Attrs: nounwind declare void @llvm.lifetime.end(i64, i8* nocapture) #1 ; Function Attrs: nounwind define void @kernel_ocl_path_trace(%struct.KernelData.19 addrspace(2)* %data, float addrspace(1)* nocapture %buffer, i32 addrspace(1)* nocapture readonly %rng_state, <4 x float> addrspace(1)* %__bvh_nodes, <4 x float> addrspace(1)* %__tri_woop, i32 addrspace(1)* %__prim_type, i32 addrspace(1)* %__prim_visibility, i32 addrspace(1)* %__prim_index, i32 addrspace(1)* %__prim_object, i32 addrspace(1)* %__object_node, <4 x float> addrspace(1)* %__objects, <4 x float> addrspace(1)* %__objects_vector, float addrspace(1)* %__tri_shader, <4 x float> addrspace(1)* %__tri_vnormal, <4 x float> addrspace(1)* %__tri_vindex, <4 x float> addrspace(1)* %__tri_verts, <4 x float> addrspace(1)* %__curves, <4 x float> addrspace(1)* %__curve_keys, <4 x i32> addrspace(1)* %__attributes_map, float addrspace(1)* %__attributes_float, <4 x float> addrspace(1)* %__attributes_float3, <4 x i8> addrspace(1)* %__attributes_uchar4, <4 x float> addrspace(1)* %__light_distribution, <4 x float> addrspace(1)* %__light_data, <2 x float> addrspace(1)* %__light_background_marginal_cdf, <2 x float> addrspace(1)* %__light_background_conditional_cdf, <4 x float> addrspace(1)* %__particles, <4 x i32> addrspace(1)* %__svm_nodes, i32 addrspace(1)* %__shader_flag, i32 addrspace(1)* %__object_flag, float addrspace(1)* %__lookup_table, i32 addrspace(1)* %__sobol_directions, <4 x i8> addrspace(1)* %__tex_image_packed, <4 x i32> addrspace(1)* %__tex_image_packed_info, i32 %sample, i32 %sx, i32 %sy, i32 %sw, i32 %sh, i32 %offset, i32 %stride) #2 { %traversalStack.i.i = alloca [192 x i32], align 4 %P.i.i.sroa.0 = alloca <4 x float>, align 16 %idir.i.i.sroa.0 = alloca <4 x float>, align 16 %sd.i = alloca %struct.ShaderData.8, align 16 %ray.i.sroa.14 = alloca <4 x float>, align 16 %kglobals = alloca %struct.KernelGlobals.2, align 8 %1 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 0 call void @llvm.lifetime.start(i64 128, i8* %1) %2 = bitcast %struct.KernelGlobals.2* %kglobals to %struct.KernelData.19 addrspace(2)** store %struct.KernelData.19 addrspace(2)* %data, %struct.KernelData.19 addrspace(2)** %2, align 8 %3 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 2 %4 = bitcast i8* %3 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__bvh_nodes, <4 x float> addrspace(1)** %4, align 4 %5 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 4 %6 = bitcast i8* %5 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__tri_woop, <4 x float> addrspace(1)** %6, align 8 %7 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 6 %8 = bitcast i8* %7 to i32 addrspace(1)** store i32 addrspace(1)* %__prim_type, i32 addrspace(1)** %8, align 4 %9 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 8 %10 = bitcast i8* %9 to i32 addrspace(1)** store i32 addrspace(1)* %__prim_visibility, i32 addrspace(1)** %10, align 8 %11 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 10 %12 = bitcast i8* %11 to i32 addrspace(1)** store i32 addrspace(1)* %__prim_index, i32 addrspace(1)** %12, align 4 %13 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 12 %14 = bitcast i8* %13 to i32 addrspace(1)** store i32 addrspace(1)* %__prim_object, i32 addrspace(1)** %14, align 8 %15 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 14 %16 = bitcast i8* %15 to i32 addrspace(1)** store i32 addrspace(1)* %__object_node, i32 addrspace(1)** %16, align 4 %17 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 16 %18 = bitcast i8* %17 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__objects, <4 x float> addrspace(1)** %18, align 8 %19 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 18 %20 = bitcast i8* %19 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__objects_vector, <4 x float> addrspace(1)** %20, align 4 %21 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 20 %22 = bitcast i8* %21 to float addrspace(1)** store float addrspace(1)* %__tri_shader, float addrspace(1)** %22, align 8 %23 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 22 %24 = bitcast i8* %23 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__tri_vnormal, <4 x float> addrspace(1)** %24, align 4 %25 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 24 %26 = bitcast i8* %25 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__tri_vindex, <4 x float> addrspace(1)** %26, align 8 %27 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 26 %28 = bitcast i8* %27 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__tri_verts, <4 x float> addrspace(1)** %28, align 4 %29 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 28 %30 = bitcast i8* %29 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__curves, <4 x float> addrspace(1)** %30, align 8 %31 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 30 %32 = bitcast i8* %31 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__curve_keys, <4 x float> addrspace(1)** %32, align 4 %33 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 32 %34 = bitcast i8* %33 to <4 x i32> addrspace(1)** store <4 x i32> addrspace(1)* %__attributes_map, <4 x i32> addrspace(1)** %34, align 8 %35 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 34 %36 = bitcast i8* %35 to float addrspace(1)** store float addrspace(1)* %__attributes_float, float addrspace(1)** %36, align 4 %37 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 36 %38 = bitcast i8* %37 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__attributes_float3, <4 x float> addrspace(1)** %38, align 8 %39 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 38 %40 = bitcast i8* %39 to <4 x i8> addrspace(1)** store <4 x i8> addrspace(1)* %__attributes_uchar4, <4 x i8> addrspace(1)** %40, align 4 %41 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 40 %42 = bitcast i8* %41 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__light_distribution, <4 x float> addrspace(1)** %42, align 8 %43 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 42 %44 = bitcast i8* %43 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__light_data, <4 x float> addrspace(1)** %44, align 4 %45 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 44 %46 = bitcast i8* %45 to <2 x float> addrspace(1)** store <2 x float> addrspace(1)* %__light_background_marginal_cdf, <2 x float> addrspace(1)** %46, align 8 %47 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 46 %48 = bitcast i8* %47 to <2 x float> addrspace(1)** store <2 x float> addrspace(1)* %__light_background_conditional_cdf, <2 x float> addrspace(1)** %48, align 4 %49 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 48 %50 = bitcast i8* %49 to <4 x float> addrspace(1)** store <4 x float> addrspace(1)* %__particles, <4 x float> addrspace(1)** %50, align 8 %51 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 50 %52 = bitcast i8* %51 to <4 x i32> addrspace(1)** store <4 x i32> addrspace(1)* %__svm_nodes, <4 x i32> addrspace(1)** %52, align 4 %53 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 52 %54 = bitcast i8* %53 to i32 addrspace(1)** store i32 addrspace(1)* %__shader_flag, i32 addrspace(1)** %54, align 8 %55 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 54 %56 = bitcast i8* %55 to i32 addrspace(1)** store i32 addrspace(1)* %__object_flag, i32 addrspace(1)** %56, align 4 %57 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 56 %58 = bitcast i8* %57 to float addrspace(1)** store float addrspace(1)* %__lookup_table, float addrspace(1)** %58, align 8 %59 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 58 %60 = bitcast i8* %59 to i32 addrspace(1)** store i32 addrspace(1)* %__sobol_directions, i32 addrspace(1)** %60, align 4 %61 = getelementptr inbounds %struct.KernelGlobals.2* %kglobals, i32 0, i32 60 %62 = bitcast i8* %61 to <4 x i8> addrspace(1)** store <4 x i8> addrspace(1)* %__tex_image_packed, <4 x i8> addrspace(1)** %62, align 8 %x.i.i = tail call i32 @llvm.r600.read.tgid.x() #0 %x.i8.i = tail call i32 @llvm.r600.read.local.size.x() #0 %63 = mul i32 %x.i8.i, %x.i.i %x.i1.i = tail call i32 @llvm.r600.read.tidig.x() #0 %64 = add i32 %63, %sx %65 = add i32 %64, %x.i1.i %y.i.i = tail call i32 @llvm.r600.read.tgid.y() #0 %y.i10.i = tail call i32 @llvm.r600.read.local.size.y() #0 %66 = mul i32 %y.i10.i, %y.i.i %y.i3.i = tail call i32 @llvm.r600.read.tidig.y() #0 %67 = add i32 %66, %sy %68 = add i32 %67, %y.i3.i %69 = add nsw i32 %sw, %sx %70 = icmp slt i32 %65, %69 %71 = add nsw i32 %sh, %sy %72 = icmp slt i32 %68, %71 %or.cond = and i1 %70, %72 br i1 %or.cond, label %73, label %19955 ;