Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 1 | ; SPIR-V |
| 2 | ; Version: 1.3 |
| 3 | ; Generator: Google Tint Compiler; 0 |
| 4 | ; Bound: 14 |
| 5 | ; Schema: 0 |
| 6 | OpCapability Shader |
| 7 | OpCapability DerivativeControl |
| 8 | OpMemoryModel Logical GLSL450 |
| 9 | OpEntryPoint Fragment %fragment_main "fragment_main" |
| 10 | OpExecutionMode %fragment_main OriginUpperLeft |
| 11 | OpName %dpdxFine_f401a2 "dpdxFine_f401a2" |
| 12 | OpName %res "res" |
| 13 | OpName %fragment_main "fragment_main" |
| 14 | %void = OpTypeVoid |
| 15 | %1 = OpTypeFunction %void |
| 16 | %float = OpTypeFloat 32 |
| 17 | %float_1 = OpConstant %float 1 |
| 18 | %_ptr_Function_float = OpTypePointer Function %float |
| 19 | %10 = OpConstantNull %float |
| 20 | %dpdxFine_f401a2 = OpFunction %void None %1 |
| 21 | %4 = OpLabel |
| 22 | %res = OpVariable %_ptr_Function_float Function %10 |
| 23 | %5 = OpDPdxFine %float %float_1 |
| 24 | OpStore %res %5 |
| 25 | OpReturn |
| 26 | OpFunctionEnd |
| 27 | %fragment_main = OpFunction %void None %1 |
| 28 | %12 = OpLabel |
| 29 | %13 = OpFunctionCall %void %dpdxFine_f401a2 |
| 30 | OpReturn |
| 31 | OpFunctionEnd |