1 #if 0 2 // 3 // Generated by Microsoft (R) D3D Shader Disassembler 4 // 5 // 6 // Input signature: 7 // 8 // Name Index Mask Register SysValue Format Used 9 // -------------------- ----- ------ -------- -------- ------- ------ 10 // SV_POSITION 0 xyzw 0 POS float 11 // COLOR 0 xyzw 1 NONE float xyzw 12 // TEXCOORD 0 xy 2 NONE float xy 13 // 14 // 15 // Output signature: 16 // 17 // Name Index Mask Register SysValue Format Used 18 // -------------------- ----- ------ -------- -------- ------- ------ 19 // SV_Target 0 xyzw 0 TARGET float xyzw 20 // 21 // 22 // Sampler/Resource to DX9 shader sampler mappings: 23 // 24 // Target Sampler Source Sampler Source Resource 25 // -------------- --------------- ---------------- 26 // s0 s0 t0 27 // 28 // 29 // Level9 shader bytecode: 30 // 31 ps_2_0 32 dcl t0 33 dcl t1.xy 34 dcl_2d s0 35 texld r0, t1, s0 36 mul r0, r0, t0 37 mov oC0, r0 38 39 // approximately 3 instruction slots used (1 texture, 2 arithmetic) 40 // 41 // Sampler/Resource to DX9 shader sampler mappings: 42 // 43 // Target Sampler Source Sampler Source Resource 44 // -------------- --------------- ---------------- 45 // s0 s0 t0 46 // 47 // 48 // XNA shader bytecode: 49 // 50 ps_2_0 51 dcl t0 52 dcl t1.xy 53 dcl_2d s0 54 texld r0, r2, s0 55 mul oC0, r0, r1 56 57 // approximately 2 instruction slots used (1 texture, 1 arithmetic) 58 ps_4_0 59 dcl_sampler s0, mode_default 60 dcl_resource_texture2d (float,float,float,float) t0 61 dcl_input_ps linear v1.xyzw 62 dcl_input_ps linear v2.xy 63 dcl_output o0.xyzw 64 dcl_temps 1 65 sample r0.xyzw, v2.xyxx, t0.xyzw, s0 66 mul o0.xyzw, r0.xyzw, v1.xyzw 67 ret 68 // Approximately 0 instruction slots used 69 #endif 70 71 const BYTE nk_d3d11_pixel_shader[] = 72 { 73 68, 88, 66, 67, 249, 46, 74 26, 75, 111, 182, 161, 241, 75 199, 179, 191, 89, 44, 229, 76 245, 103, 1, 0, 0, 0, 77 124, 2, 0, 0, 5, 0, 78 0, 0, 52, 0, 0, 0, 79 176, 0, 0, 0, 56, 1, 80 0, 0, 212, 1, 0, 0, 81 72, 2, 0, 0, 88, 78, 82 65, 83, 116, 0, 0, 0, 83 116, 0, 0, 0, 0, 2, 84 255, 255, 76, 0, 0, 0, 85 40, 0, 0, 0, 0, 0, 86 40, 0, 0, 0, 40, 0, 87 0, 0, 40, 0, 1, 0, 88 36, 0, 0, 0, 40, 0, 89 0, 0, 0, 0, 0, 2, 90 255, 255, 31, 0, 0, 2, 91 0, 0, 0, 128, 0, 0, 92 15, 176, 31, 0, 0, 2, 93 0, 0, 0, 128, 1, 0, 94 3, 176, 31, 0, 0, 2, 95 0, 0, 0, 144, 0, 8, 96 15, 160, 66, 0, 0, 3, 97 0, 0, 15, 128, 2, 0, 98 228, 128, 0, 8, 228, 160, 99 5, 0, 0, 3, 0, 8, 100 15, 128, 0, 0, 228, 128, 101 1, 0, 228, 128, 255, 255, 102 0, 0, 65, 111, 110, 57, 103 128, 0, 0, 0, 128, 0, 104 0, 0, 0, 2, 255, 255, 105 88, 0, 0, 0, 40, 0, 106 0, 0, 0, 0, 40, 0, 107 0, 0, 40, 0, 0, 0, 108 40, 0, 1, 0, 36, 0, 109 0, 0, 40, 0, 0, 0, 110 0, 0, 0, 2, 255, 255, 111 31, 0, 0, 2, 0, 0, 112 0, 128, 0, 0, 15, 176, 113 31, 0, 0, 2, 0, 0, 114 0, 128, 1, 0, 3, 176, 115 31, 0, 0, 2, 0, 0, 116 0, 144, 0, 8, 15, 160, 117 66, 0, 0, 3, 0, 0, 118 15, 128, 1, 0, 228, 176, 119 0, 8, 228, 160, 5, 0, 120 0, 3, 0, 0, 15, 128, 121 0, 0, 228, 128, 0, 0, 122 228, 176, 1, 0, 0, 2, 123 0, 8, 15, 128, 0, 0, 124 228, 128, 255, 255, 0, 0, 125 83, 72, 68, 82, 148, 0, 126 0, 0, 64, 0, 0, 0, 127 37, 0, 0, 0, 90, 0, 128 0, 3, 0, 96, 16, 0, 129 0, 0, 0, 0, 88, 24, 130 0, 4, 0, 112, 16, 0, 131 0, 0, 0, 0, 85, 85, 132 0, 0, 98, 16, 0, 3, 133 242, 16, 16, 0, 1, 0, 134 0, 0, 98, 16, 0, 3, 135 50, 16, 16, 0, 2, 0, 136 0, 0, 101, 0, 0, 3, 137 242, 32, 16, 0, 0, 0, 138 0, 0, 104, 0, 0, 2, 139 1, 0, 0, 0, 69, 0, 140 0, 9, 242, 0, 16, 0, 141 0, 0, 0, 0, 70, 16, 142 16, 0, 2, 0, 0, 0, 143 70, 126, 16, 0, 0, 0, 144 0, 0, 0, 96, 16, 0, 145 0, 0, 0, 0, 56, 0, 146 0, 7, 242, 32, 16, 0, 147 0, 0, 0, 0, 70, 14, 148 16, 0, 0, 0, 0, 0, 149 70, 30, 16, 0, 1, 0, 150 0, 0, 62, 0, 0, 1, 151 73, 83, 71, 78, 108, 0, 152 0, 0, 3, 0, 0, 0, 153 8, 0, 0, 0, 80, 0, 154 0, 0, 0, 0, 0, 0, 155 1, 0, 0, 0, 3, 0, 156 0, 0, 0, 0, 0, 0, 157 15, 0, 0, 0, 92, 0, 158 0, 0, 0, 0, 0, 0, 159 0, 0, 0, 0, 3, 0, 160 0, 0, 1, 0, 0, 0, 161 15, 15, 0, 0, 98, 0, 162 0, 0, 0, 0, 0, 0, 163 0, 0, 0, 0, 3, 0, 164 0, 0, 2, 0, 0, 0, 165 3, 3, 0, 0, 83, 86, 166 95, 80, 79, 83, 73, 84, 167 73, 79, 78, 0, 67, 79, 168 76, 79, 82, 0, 84, 69, 169 88, 67, 79, 79, 82, 68, 170 0, 171, 79, 83, 71, 78, 171 44, 0, 0, 0, 1, 0, 172 0, 0, 8, 0, 0, 0, 173 32, 0, 0, 0, 0, 0, 174 0, 0, 0, 0, 0, 0, 175 3, 0, 0, 0, 0, 0, 176 0, 0, 15, 0, 0, 0, 177 83, 86, 95, 84, 97, 114, 178 103, 101, 116, 0, 171, 171 179 }; 180