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