[3443:3443:0520/232845.090702:INFO:CONSOLE:0] "/* Dumped SPIRV disassembly */ ; SPIR-V ; Version: 1.4 ; Generator: Google Tint Compiler; 1 ; Bound: 65 ; Schema: 0 OpCapability Shader OpCapability VulkanMemoryModel OpCapability VulkanMemoryModelDeviceScope OpExtension "SPV_KHR_vulkan_memory_model" %39 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical Vulkan OpEntryPoint Vertex %56 "dawn_entry_point_687474703a2f2f3132372e302e302e3120687474703a2f2f3132372e302e302e31" %1 %gl_VertexIndex %gl_Position %11 %12 %15 OpMemberDecorate %_struct_3 0 Offset 0 OpMemberDecorate %_struct_3 1 Offset 4 OpDecorate %_struct_3 Block OpDecorate %gl_VertexIndex BuiltIn VertexIndex OpDecorate %gl_Position BuiltIn Position OpDecorate %11 Location 0 OpDecorate %12 Location 1 OpDecorate %12 Flat OpDecorate %15 Location 2 %float = OpTypeFloat 32 %_struct_3 = OpTypeStruct %float %float %_ptr_PushConstant__struct_3 = OpTypePointer PushConstant %_struct_3 %1 = OpVariable %_ptr_PushConstant__struct_3 PushConstant %uint = OpTypeInt 32 0 %_ptr_Input_uint = OpTypePointer Input %uint %gl_VertexIndex = OpVariable %_ptr_Input_uint Input %v4float = OpTypeVector %float 4 %_ptr_Output_v4float = OpTypePointer Output %v4float %gl_Position = OpVariable %_ptr_Output_v4float Output %11 = OpVariable %_ptr_Output_v4float Output %int = OpTypeInt 32 1 %_ptr_Output_int = OpTypePointer Output %int %12 = OpVariable %_ptr_Output_int Output %15 = OpVariable %_ptr_Output_v4float Output %_struct_17 = OpTypeStruct %v4float %v4float %int %19 = OpTypeFunction %_struct_17 %uint %v2float = OpTypeVector %float 2 %uint_3 = OpConstant %uint 3 %_arr_v2float_uint_3 = OpTypeArray %v2float %uint_3 %_ptr_Function__arr_v2float_uint_3 = OpTypePointer Function %_arr_v2float_uint_3 %float_n1 = OpConstant %float -1 %27 = OpConstantComposite %v2float %float_n1 %float_n1 %float_3 = OpConstant %float 3 %29 = OpConstantComposite %v2float %float_3 %float_n1 %31 = OpConstantComposite %v2float %float_n1 %float_3 %26 = OpConstantComposite %_arr_v2float_uint_3 %27 %29 %31 %_ptr_Function__struct_17 = OpTypePointer Function %_struct_17 %34 = OpConstantNull %_struct_17 %_ptr_Function_v4float = OpTypePointer Function %v4float %uint_0 = OpConstant %uint 0 %uint_2 = OpConstant %uint 2 %_ptr_Function_v2float = OpTypePointer Function %v2float %float_0 = OpConstant %float 0 %float_1 = OpConstant %float 1 %uint_1 = OpConstant %uint 1 %float_2 = OpConstant %float 2 %float_4 = OpConstant %float 4 %49 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4 %_ptr_Function_int = OpTypePointer Function %int %int_2125315823 = OpConstant %int 2125315823 %void = OpTypeVoid %58 = OpTypeFunction %void %16 = OpFunction %_struct_17 None %19 %18 = OpFunctionParameter %uint %20 = OpLabel %21 = OpVariable %_ptr_Function__arr_v2float_uint_3 Function %32 = OpVariable %_ptr_Function__struct_17 Function %34 OpStore %21 %26 %35 = OpAccessChain %_ptr_Function_v4float %32 %uint_0 %38 = OpExtInst %uint %39 UMin %18 %uint_2 %41 = OpAccessChain %_ptr_Function_v2float %21 %38 %43 = OpLoad %v2float %41 None %44 = OpCompositeConstruct %v4float %43 %float_0 %float_1 OpStore %35 %44 None %47 = OpAccessChain %_ptr_Function_v4float %32 %uint_1 OpStore %47 %49 None %52 = OpAccessChain %_ptr_Function_int %32 %uint_2 OpStore %52 %int_2125315823 None %55 = OpLoad %_struct_17 %32 None OpReturnValue %55 OpFunctionEnd %56 = OpFunction %void None %58 %59 = OpLabel %60 = OpLoad %uint %gl_VertexIndex None %61 = OpFunctionCall %_struct_17 %16 %60 %62 = OpCompositeExtract %v4float %61 0 OpStore %gl_Position %62 None %63 = OpCompositeExtract %v4float %61 1 OpStore %11 %63 None %64 = OpCompositeExtract %int %61 2 OpStore %12 %64 None OpStore %15 %62 None OpReturn OpFunctionEnd ", source: http://127.0.0.1:8080/poc.html (0) [3443:3443:0520/232845.091026:INFO:CONSOLE:0] "/* Dumped SPIRV disassembly */ ; SPIR-V ; Version: 1.4 ; Generator: Google Tint Compiler; 1 ; Bound: 58 ; Schema: 0 OpCapability Shader OpCapability VulkanMemoryModel OpCapability VulkanMemoryModelDeviceScope OpCapability SampleRateShading OpCapability InterpolationFunction OpExtension "SPV_KHR_vulkan_memory_model" %35 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical Vulkan OpEntryPoint Fragment %25 "dawn_entry_point_687474703a2f2f3132372e302e302e3120687474703a2f2f3132372e302e302e31" %1 %5 %gl_SampleID %gl_FragCoord %12 %13 OpExecutionMode %25 OriginUpperLeft OpMemberDecorate %_struct_3 0 Offset 0 OpMemberDecorate %_struct_3 1 Offset 4 OpDecorate %_struct_3 Block OpDecorate %5 Location 0 OpDecorate %gl_SampleID Flat OpDecorate %gl_SampleID BuiltIn SampleId OpDecorate %gl_FragCoord BuiltIn FragCoord OpDecorate %12 Location 1 OpDecorate %13 Location 0 %float = OpTypeFloat 32 %_struct_3 = OpTypeStruct %float %float %_ptr_PushConstant__struct_3 = OpTypePointer PushConstant %_struct_3 %1 = OpVariable %_ptr_PushConstant__struct_3 PushConstant %v4float = OpTypeVector %float 4 %_ptr_Input_v4float = OpTypePointer Input %v4float %5 = OpVariable %_ptr_Input_v4float Input %uint = OpTypeInt 32 0 %_ptr_Input_uint = OpTypePointer Input %uint %gl_SampleID = OpVariable %_ptr_Input_uint Input %gl_FragCoord = OpVariable %_ptr_Input_v4float Input %12 = OpVariable %_ptr_Input_v4float Input %_ptr_Output_v4float = OpTypePointer Output %v4float %13 = OpVariable %_ptr_Output_v4float Output %19 = OpTypeFunction %v4float %v4float %uint %v4float %void = OpTypeVoid %27 = OpTypeFunction %void %v2float = OpTypeVector %float 2 %float_0_5 = OpConstant %float 0.5 %37 = OpConstantComposite %v2float %float_0_5 %float_0_5 %40 = OpConstantNull %v2float %float_1 = OpConstant %float 1 %_ptr_PushConstant_float = OpTypePointer PushConstant %float %uint_0 = OpConstant %uint 0 %uint_1 = OpConstant %uint 1 %15 = OpFunction %v4float None %19 %16 = OpFunctionParameter %v4float %17 = OpFunctionParameter %uint %18 = OpFunctionParameter %v4float %20 = OpLabel %21 = OpFAdd %v4float %18 %16 %22 = OpConvertUToF %float %17 %23 = OpCompositeConstruct %v4float %22 %22 %22 %22 %24 = OpFAdd %v4float %21 %23 OpReturnValue %24 OpFunctionEnd %25 = OpFunction %void None %27 %28 = OpLabel %29 = OpLoad %v4float %5 None %30 = OpLoad %uint %gl_SampleID None %31 = OpLoad %v4float %gl_FragCoord None %32 = OpVectorShuffle %v2float %31 %31 0 1 %34 = OpExtInst %v2float %35 Floor %32 %36 = OpFAdd %v2float %34 %37 %39 = OpExtInst %v4float %35 InterpolateAtOffset %12 %40 %41 = OpCompositeExtract %float %39 2 %42 = OpCompositeExtract %float %39 3 %43 = OpFDiv %float %41 %42 %44 = OpFDiv %float %float_1 %42 %46 = OpAccessChain %_ptr_PushConstant_float %1 %uint_0 %49 = OpLoad %float %46 None %50 = OpAccessChain %_ptr_PushConstant_float %1 %uint_1 %52 = OpLoad %float %50 None %53 = OpFSub %float %52 %49 %54 = OpFMul %float %53 %43 %55 = OpFAdd %float %49 %54 %56 = OpCompositeConstruct %v4float %36 %55 %44 %57 = OpFunctionCall %v4float %15 %29 %30 %56 OpStore %13 %57 None OpReturn OpFunctionEnd ", source: http://127.0.0.1:8080/poc.html (0)