1 #if 0 2 // 3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 4 // 5 // 6 // fxc /E PS_PassthroughLumAlpha /T ps_4_0 /Fh 7 // compiled/passthroughlumalpha11ps.h Passthrough11.hlsl 8 // 9 // 10 // Resource Bindings: 11 // 12 // Name Type Format Dim Slot Elements 13 // ------------------------------ ---------- ------- ----------- ---- -------- 14 // Sampler sampler NA NA 0 1 15 // Texture texture float4 2d 0 1 16 // 17 // 18 // 19 // Input signature: 20 // 21 // Name Index Mask Register SysValue Format Used 22 // -------------------- ----- ------ -------- -------- ------ ------ 23 // SV_POSITION 0 xyzw 0 POS float 24 // TEXCOORD 0 xy 1 NONE float xy 25 // 26 // 27 // Output signature: 28 // 29 // Name Index Mask Register SysValue Format Used 30 // -------------------- ----- ------ -------- -------- ------ ------ 31 // SV_TARGET 0 xyzw 0 TARGET float xyzw 32 // 33 ps_4_0 34 dcl_sampler s0, mode_default 35 dcl_resource_texture2d (float,float,float,float) t0 36 dcl_input_ps linear v1.xy 37 dcl_output o0.xyzw 38 dcl_temps 1 39 sample r0.xyzw, v1.xyxx, t0.xyzw, s0 40 mov o0.xyzw, r0.xxxw 41 ret 42 // Approximately 3 instruction slots used 43 #endif 44 45 const BYTE g_PS_PassthroughLumAlpha[] = 46 { 47 68, 88, 66, 67, 197, 72, 48 251, 236, 53, 107, 182, 146, 49 196, 219, 130, 187, 140, 159, 50 211, 123, 1, 0, 0, 0, 51 108, 2, 0, 0, 5, 0, 52 0, 0, 52, 0, 0, 0, 53 220, 0, 0, 0, 52, 1, 54 0, 0, 104, 1, 0, 0, 55 240, 1, 0, 0, 82, 68, 56 69, 70, 160, 0, 0, 0, 57 0, 0, 0, 0, 0, 0, 58 0, 0, 2, 0, 0, 0, 59 28, 0, 0, 0, 0, 4, 60 255, 255, 0, 1, 0, 0, 61 108, 0, 0, 0, 92, 0, 62 0, 0, 3, 0, 0, 0, 63 0, 0, 0, 0, 0, 0, 64 0, 0, 0, 0, 0, 0, 65 0, 0, 0, 0, 1, 0, 66 0, 0, 1, 0, 0, 0, 67 100, 0, 0, 0, 2, 0, 68 0, 0, 5, 0, 0, 0, 69 4, 0, 0, 0, 255, 255, 70 255, 255, 0, 0, 0, 0, 71 1, 0, 0, 0, 13, 0, 72 0, 0, 83, 97, 109, 112, 73 108, 101, 114, 0, 84, 101, 74 120, 116, 117, 114, 101, 0, 75 77, 105, 99, 114, 111, 115, 76 111, 102, 116, 32, 40, 82, 77 41, 32, 72, 76, 83, 76, 78 32, 83, 104, 97, 100, 101, 79 114, 32, 67, 111, 109, 112, 80 105, 108, 101, 114, 32, 57, 81 46, 50, 57, 46, 57, 53, 82 50, 46, 51, 49, 49, 49, 83 0, 171, 171, 171, 73, 83, 84 71, 78, 80, 0, 0, 0, 85 2, 0, 0, 0, 8, 0, 86 0, 0, 56, 0, 0, 0, 87 0, 0, 0, 0, 1, 0, 88 0, 0, 3, 0, 0, 0, 89 0, 0, 0, 0, 15, 0, 90 0, 0, 68, 0, 0, 0, 91 0, 0, 0, 0, 0, 0, 92 0, 0, 3, 0, 0, 0, 93 1, 0, 0, 0, 3, 3, 94 0, 0, 83, 86, 95, 80, 95 79, 83, 73, 84, 73, 79, 96 78, 0, 84, 69, 88, 67, 97 79, 79, 82, 68, 0, 171, 98 171, 171, 79, 83, 71, 78, 99 44, 0, 0, 0, 1, 0, 100 0, 0, 8, 0, 0, 0, 101 32, 0, 0, 0, 0, 0, 102 0, 0, 0, 0, 0, 0, 103 3, 0, 0, 0, 0, 0, 104 0, 0, 15, 0, 0, 0, 105 83, 86, 95, 84, 65, 82, 106 71, 69, 84, 0, 171, 171, 107 83, 72, 68, 82, 128, 0, 108 0, 0, 64, 0, 0, 0, 109 32, 0, 0, 0, 90, 0, 110 0, 3, 0, 96, 16, 0, 111 0, 0, 0, 0, 88, 24, 112 0, 4, 0, 112, 16, 0, 113 0, 0, 0, 0, 85, 85, 114 0, 0, 98, 16, 0, 3, 115 50, 16, 16, 0, 1, 0, 116 0, 0, 101, 0, 0, 3, 117 242, 32, 16, 0, 0, 0, 118 0, 0, 104, 0, 0, 2, 119 1, 0, 0, 0, 69, 0, 120 0, 9, 242, 0, 16, 0, 121 0, 0, 0, 0, 70, 16, 122 16, 0, 1, 0, 0, 0, 123 70, 126, 16, 0, 0, 0, 124 0, 0, 0, 96, 16, 0, 125 0, 0, 0, 0, 54, 0, 126 0, 5, 242, 32, 16, 0, 127 0, 0, 0, 0, 6, 12, 128 16, 0, 0, 0, 0, 0, 129 62, 0, 0, 1, 83, 84, 130 65, 84, 116, 0, 0, 0, 131 3, 0, 0, 0, 1, 0, 132 0, 0, 0, 0, 0, 0, 133 2, 0, 0, 0, 0, 0, 134 0, 0, 0, 0, 0, 0, 135 0, 0, 0, 0, 1, 0, 136 0, 0, 0, 0, 0, 0, 137 0, 0, 0, 0, 0, 0, 138 0, 0, 0, 0, 0, 0, 139 0, 0, 0, 0, 0, 0, 140 0, 0, 1, 0, 0, 0, 141 0, 0, 0, 0, 0, 0, 142 0, 0, 0, 0, 0, 0, 143 0, 0, 0, 0, 1, 0, 144 0, 0, 0, 0, 0, 0, 145 0, 0, 0, 0, 0, 0, 146 0, 0, 0, 0, 0, 0, 147 0, 0, 0, 0, 0, 0, 148 0, 0, 0, 0, 0, 0, 149 0, 0, 0, 0, 0, 0, 150 0, 0 151 }; 152