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 | OpMemoryModel Logical GLSL450 |
| 8 | OpEntryPoint Fragment %fragment_main "fragment_main" |
| 9 | OpExecutionMode %fragment_main OriginUpperLeft |
| 10 | OpName %dpdy_699a05 "dpdy_699a05" |
| 11 | OpName %res "res" |
| 12 | OpName %fragment_main "fragment_main" |
| 13 | %void = OpTypeVoid |
| 14 | %1 = OpTypeFunction %void |
| 15 | %float = OpTypeFloat 32 |
| 16 | %v4float = OpTypeVector %float 4 |
| 17 | %8 = OpConstantNull %v4float |
| 18 | %_ptr_Function_v4float = OpTypePointer Function %v4float |
| 19 | %dpdy_699a05 = OpFunction %void None %1 |
| 20 | %4 = OpLabel |
| 21 | %res = OpVariable %_ptr_Function_v4float Function %8 |
| 22 | %5 = OpDPdy %v4float %8 |
| 23 | OpStore %res %5 |
| 24 | OpReturn |
| 25 | OpFunctionEnd |
| 26 | %fragment_main = OpFunction %void None %1 |
| 27 | %12 = OpLabel |
| 28 | %13 = OpFunctionCall %void %dpdy_699a05 |
| 29 | OpReturn |
| 30 | OpFunctionEnd |