David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 101 |
| 6 | ; Schema: 0 |
| 7 | OpCapability DerivativeControl |
| 8 | OpCapability Shader |
| 9 | OpMemoryModel Logical Simple |
| 10 | OpEntryPoint Fragment %100 "main" |
| 11 | OpExecutionMode %100 OriginUpperLeft |
| 12 | %void = OpTypeVoid |
| 13 | %4 = OpTypeFunction %void |
| 14 | %uint = OpTypeInt 32 0 |
| 15 | %int = OpTypeInt 32 1 |
| 16 | %float = OpTypeFloat 32 |
| 17 | %uint_10 = OpConstant %uint 10 |
| 18 | %uint_20 = OpConstant %uint 20 |
| 19 | %int_30 = OpConstant %int 30 |
| 20 | %int_40 = OpConstant %int 40 |
| 21 | %float_50 = OpConstant %float 50 |
| 22 | %float_60 = OpConstant %float 60 |
| 23 | %float_70 = OpConstant %float 70 |
| 24 | %_ptr_Function_uint = OpTypePointer Function %uint |
| 25 | %_ptr_Function_int = OpTypePointer Function %int |
| 26 | %_ptr_Function_float = OpTypePointer Function %float |
| 27 | %v2uint = OpTypeVector %uint 2 |
| 28 | %v2int = OpTypeVector %int 2 |
| 29 | %v2float = OpTypeVector %float 2 |
| 30 | %v3float = OpTypeVector %float 3 |
| 31 | %22 = OpConstantComposite %v2uint %uint_10 %uint_20 |
| 32 | %23 = OpConstantComposite %v2uint %uint_20 %uint_10 |
| 33 | %24 = OpConstantComposite %v2int %int_30 %int_40 |
| 34 | %25 = OpConstantComposite %v2int %int_40 %int_30 |
| 35 | %26 = OpConstantComposite %v2float %float_50 %float_60 |
| 36 | %27 = OpConstantComposite %v2float %float_60 %float_50 |
| 37 | %28 = OpConstantComposite %v3float %float_50 %float_60 %float_70 |
| 38 | %29 = OpConstantComposite %v3float %float_60 %float_70 %float_50 |
| 39 | %mat2v2float = OpTypeMatrix %v2float 2 |
| 40 | %mat2v3float = OpTypeMatrix %v3float 2 |
| 41 | %mat3v2float = OpTypeMatrix %v2float 3 |
| 42 | %33 = OpConstantComposite %mat2v2float %26 %27 |
| 43 | %34 = OpConstantComposite %mat2v2float %27 %26 |
| 44 | %35 = OpConstantComposite %mat3v2float %26 %27 %26 |
| 45 | %36 = OpConstantComposite %mat2v3float %28 %29 |
| 46 | %100 = OpFunction %void None %4 |
| 47 | %37 = OpLabel |
| 48 | %1 = OpCopyObject %float %float_50 |
| 49 | %2 = OpDPdyCoarse %float %1 |
| 50 | OpReturn |
| 51 | OpFunctionEnd |
| 52 | |