1 #if 0 2 // 3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 4 // 5 // 6 // fxc /nologo /E PS_ClearFloat_FL9 /T ps_4_0_level_9_3 /Fh 7 // compiled\clearfloat11_fl9ps.h Clear11.hlsl 8 // 9 // 10 // Buffer Definitions: 11 // 12 // cbuffer ColorAndDepthDataFloat 13 // { 14 // 15 // float4 color_Float; // Offset: 0 Size: 16 16 // float zValueF_Float; // Offset: 16 Size: 4 17 // 18 // } 19 // 20 // 21 // Resource Bindings: 22 // 23 // Name Type Format Dim Slot Elements 24 // ------------------------------ ---------- ------- ----------- ---- -------- 25 // ColorAndDepthDataFloat cbuffer NA NA 0 1 26 // 27 // 28 // 29 // Input signature: 30 // 31 // Name Index Mask Register SysValue Format Used 32 // -------------------- ----- ------ -------- -------- ------ ------ 33 // SV_POSITION 0 xyzw 0 POS float 34 // 35 // 36 // Output signature: 37 // 38 // Name Index Mask Register SysValue Format Used 39 // -------------------- ----- ------ -------- -------- ------ ------ 40 // SV_TARGET 0 xyzw 0 TARGET float xyzw 41 // SV_TARGET 1 xyzw 1 TARGET float xyzw 42 // SV_TARGET 2 xyzw 2 TARGET float xyzw 43 // SV_TARGET 3 xyzw 3 TARGET float xyzw 44 // SV_DEPTH 0 N/A oDepth DEPTH float YES 45 // 46 // 47 // Constant buffer to DX9 shader constant mappings: 48 // 49 // Target Reg Buffer Start Reg # of Regs Data Conversion 50 // ---------- ------- --------- --------- ---------------------- 51 // c0 cb0 0 2 ( FLT, FLT, FLT, FLT) 52 // 53 // 54 // Level9 shader bytecode: 55 // 56 ps_2_x 57 mov oC0, c0 58 mov oC1, c0 59 mov oC2, c0 60 mov oC3, c0 61 mov oDepth, c1.x 62 63 // approximately 5 instruction slots used 64 ps_4_0 65 dcl_constantbuffer cb0[2], immediateIndexed 66 dcl_output o0.xyzw 67 dcl_output o1.xyzw 68 dcl_output o2.xyzw 69 dcl_output o3.xyzw 70 dcl_output oDepth 71 mov o0.xyzw, cb0[0].xyzw 72 mov o1.xyzw, cb0[0].xyzw 73 mov o2.xyzw, cb0[0].xyzw 74 mov o3.xyzw, cb0[0].xyzw 75 mov oDepth, cb0[1].x 76 ret 77 // Approximately 6 instruction slots used 78 #endif 79 80 const BYTE g_PS_ClearFloat_FL9[] = { 81 68, 88, 66, 67, 104, 72, 248, 31, 140, 236, 7, 58, 247, 255, 77, 116, 217, 183, 170, 82 19, 1, 0, 0, 0, 228, 3, 0, 0, 6, 0, 0, 0, 56, 0, 0, 0, 180, 0, 83 0, 0, 132, 1, 0, 0, 0, 2, 0, 0, 20, 3, 0, 0, 72, 3, 0, 0, 65, 84 111, 110, 57, 116, 0, 0, 0, 116, 0, 0, 0, 0, 2, 255, 255, 68, 0, 0, 0, 85 48, 0, 0, 0, 1, 0, 36, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 36, 86 0, 0, 0, 48, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 1, 2, 87 255, 255, 1, 0, 0, 2, 0, 8, 15, 128, 0, 0, 228, 160, 1, 0, 0, 2, 1, 88 8, 15, 128, 0, 0, 228, 160, 1, 0, 0, 2, 2, 8, 15, 128, 0, 0, 228, 160, 89 1, 0, 0, 2, 3, 8, 15, 128, 0, 0, 228, 160, 1, 0, 0, 2, 0, 8, 15, 90 144, 1, 0, 0, 160, 255, 255, 0, 0, 83, 72, 68, 82, 200, 0, 0, 0, 64, 0, 91 0, 0, 50, 0, 0, 0, 89, 0, 0, 4, 70, 142, 32, 0, 0, 0, 0, 0, 2, 92 0, 0, 0, 101, 0, 0, 3, 242, 32, 16, 0, 0, 0, 0, 0, 101, 0, 0, 3, 93 242, 32, 16, 0, 1, 0, 0, 0, 101, 0, 0, 3, 242, 32, 16, 0, 2, 0, 0, 94 0, 101, 0, 0, 3, 242, 32, 16, 0, 3, 0, 0, 0, 101, 0, 0, 2, 1, 192, 95 0, 0, 54, 0, 0, 6, 242, 32, 16, 0, 0, 0, 0, 0, 70, 142, 32, 0, 0, 96 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 6, 242, 32, 16, 0, 1, 0, 0, 0, 97 70, 142, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 6, 242, 32, 16, 98 0, 2, 0, 0, 0, 70, 142, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 0, 99 0, 6, 242, 32, 16, 0, 3, 0, 0, 0, 70, 142, 32, 0, 0, 0, 0, 0, 0, 100 0, 0, 0, 54, 0, 0, 5, 1, 192, 0, 0, 10, 128, 32, 0, 0, 0, 0, 0, 101 1, 0, 0, 0, 62, 0, 0, 1, 83, 84, 65, 84, 116, 0, 0, 0, 6, 0, 0, 102 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 106 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 107 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 108 68, 69, 70, 12, 1, 0, 0, 1, 0, 0, 0, 84, 0, 0, 0, 1, 0, 0, 0, 109 28, 0, 0, 0, 0, 4, 255, 255, 0, 1, 0, 0, 216, 0, 0, 0, 60, 0, 0, 110 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 67, 111, 108, 111, 114, 65, 110, 100, 68, 112 101, 112, 116, 104, 68, 97, 116, 97, 70, 108, 111, 97, 116, 0, 171, 60, 0, 0, 0, 113 2, 0, 0, 0, 108, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114 0, 156, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 2, 0, 0, 0, 168, 0, 115 0, 0, 0, 0, 0, 0, 184, 0, 0, 0, 16, 0, 0, 0, 4, 0, 0, 0, 2, 116 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 99, 111, 108, 111, 114, 95, 70, 108, 117 111, 97, 116, 0, 1, 0, 3, 0, 1, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 118 0, 122, 86, 97, 108, 117, 101, 70, 95, 70, 108, 111, 97, 116, 0, 171, 171, 0, 0, 119 3, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 77, 105, 99, 114, 111, 120 115, 111, 102, 116, 32, 40, 82, 41, 32, 72, 76, 83, 76, 32, 83, 104, 97, 100, 101, 121 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, 57, 46, 50, 57, 46, 57, 53, 50, 122 46, 51, 49, 49, 49, 0, 171, 171, 171, 73, 83, 71, 78, 44, 0, 0, 0, 1, 0, 123 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3, 124 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 83, 86, 95, 80, 79, 83, 73, 84, 125 73, 79, 78, 0, 79, 83, 71, 78, 148, 0, 0, 0, 5, 0, 0, 0, 8, 0, 0, 126 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 127 0, 0, 15, 0, 0, 0, 128, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 3, 128 0, 0, 0, 1, 0, 0, 0, 15, 0, 0, 0, 128, 0, 0, 0, 2, 0, 0, 0, 129 0, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 15, 0, 0, 0, 128, 0, 0, 130 0, 3, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 15, 0, 131 0, 0, 138, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 255, 132 255, 255, 255, 1, 14, 0, 0, 83, 86, 95, 84, 65, 82, 71, 69, 84, 0, 83, 86, 133 95, 68, 69, 80, 84, 72, 0, 171}; 134