Atlas - D3D11_PixelShader_Colors.h
Home / ext / SDL / src / render / direct3d11 Lines: 1 | Size: 9776 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1#if 0 2// 3// Generated by Microsoft (R) HLSL Shader Compiler 10.1 4// 5// 6// Buffer Definitions: 7// 8// cbuffer Constants 9// { 10// 11// float scRGB_output; // Offset: 0 Size: 4 [unused] 12// float texture_type; // Offset: 4 Size: 4 [unused] 13// float input_type; // Offset: 8 Size: 4 [unused] 14// float color_scale; // Offset: 12 Size: 4 15// float4 texel_size; // Offset: 16 Size: 16 [unused] 16// float tonemap_method; // Offset: 32 Size: 4 [unused] 17// float tonemap_factor1; // Offset: 36 Size: 4 [unused] 18// float tonemap_factor2; // Offset: 40 Size: 4 [unused] 19// float sdr_white_point; // Offset: 44 Size: 4 [unused] 20// float4 Yoffset; // Offset: 48 Size: 16 [unused] 21// float4 Rcoeff; // Offset: 64 Size: 16 [unused] 22// float4 Gcoeff; // Offset: 80 Size: 16 [unused] 23// float4 Bcoeff; // Offset: 96 Size: 16 [unused] 24// 25// } 26// 27// 28// Resource Bindings: 29// 30// Name Type Format Dim HLSL Bind Count 31// ------------------------------ ---------- ------- ----------- -------------- ------ 32// Constants cbuffer NA NA cb0 1 33// 34// 35// 36// Input signature: 37// 38// Name Index Mask Register SysValue Format Used 39// -------------------- ----- ------ -------- -------- ------- ------ 40// SV_POSITION 0 xyzw 0 POS float 41// TEXCOORD 0 xy 1 NONE float 42// COLOR 0 xyzw 2 NONE float xyzw 43// 44// 45// Output signature: 46// 47// Name Index Mask Register SysValue Format Used 48// -------------------- ----- ------ -------- -------- ------- ------ 49// SV_TARGET 0 xyzw 0 TARGET float xyzw 50// 51// 52// Constant buffer to DX9 shader constant mappings: 53// 54// Target Reg Buffer Start Reg # of Regs Data Conversion 55// ---------- ------- --------- --------- ---------------------- 56// c0 cb0 0 1 ( FLT, FLT, FLT, FLT) 57// 58// 59// Level9 shader bytecode: 60// 61 ps_2_0 62 dcl t1 63 mul r0.xyz, t1, c0.w 64 mov r0.w, t1.w 65 mov oC0, r0 66 67// approximately 3 instruction slots used 68ps_4_0 69dcl_constantbuffer CB0[1], immediateIndexed 70dcl_input_ps linear v2.xyzw 71dcl_output o0.xyzw 72dcl_temps 1 73mov r0.x, cb0[0].w 74mov r0.w, l(1.000000) 75mul o0.xyzw, r0.xxxw, v2.xyzw 76ret 77// Approximately 4 instruction slots used 78#endif 79 80const BYTE g_main[] = 81{ 82 68, 88, 66, 67, 131, 2, 83 46, 215, 253, 13, 129, 98, 84 132, 106, 250, 166, 217, 206, 85 9, 154, 1, 0, 0, 0, 86 224, 4, 0, 0, 6, 0, 87 0, 0, 56, 0, 0, 0, 88 172, 0, 0, 0, 56, 1, 89 0, 0, 180, 1, 0, 0, 90 56, 4, 0, 0, 172, 4, 91 0, 0, 65, 111, 110, 57, 92 108, 0, 0, 0, 108, 0, 93 0, 0, 0, 2, 255, 255, 94 60, 0, 0, 0, 48, 0, 95 0, 0, 1, 0, 36, 0, 96 0, 0, 48, 0, 0, 0, 97 48, 0, 0, 0, 36, 0, 98 0, 0, 48, 0, 0, 0, 99 0, 0, 1, 0, 0, 0, 100 0, 0, 0, 0, 0, 2, 101 255, 255, 31, 0, 0, 2, 102 0, 0, 0, 128, 1, 0, 103 15, 176, 5, 0, 0, 3, 104 0, 0, 7, 128, 1, 0, 105 228, 176, 0, 0, 255, 160, 106 1, 0, 0, 2, 0, 0, 107 8, 128, 1, 0, 255, 176, 108 1, 0, 0, 2, 0, 8, 109 15, 128, 0, 0, 228, 128, 110 255, 255, 0, 0, 83, 72, 111 68, 82, 132, 0, 0, 0, 112 64, 0, 0, 0, 33, 0, 113 0, 0, 89, 0, 0, 4, 114 70, 142, 32, 0, 0, 0, 115 0, 0, 1, 0, 0, 0, 116 98, 16, 0, 3, 242, 16, 117 16, 0, 2, 0, 0, 0, 118 101, 0, 0, 3, 242, 32, 119 16, 0, 0, 0, 0, 0, 120 104, 0, 0, 2, 1, 0, 121 0, 0, 54, 0, 0, 6, 122 18, 0, 16, 0, 0, 0, 123 0, 0, 58, 128, 32, 0, 124 0, 0, 0, 0, 0, 0, 125 0, 0, 54, 0, 0, 5, 126 130, 0, 16, 0, 0, 0, 127 0, 0, 1, 64, 0, 0, 128 0, 0, 128, 63, 56, 0, 129 0, 7, 242, 32, 16, 0, 130 0, 0, 0, 0, 6, 12, 131 16, 0, 0, 0, 0, 0, 132 70, 30, 16, 0, 2, 0, 133 0, 0, 62, 0, 0, 1, 134 83, 84, 65, 84, 116, 0, 135 0, 0, 4, 0, 0, 0, 136 1, 0, 0, 0, 0, 0, 137 0, 0, 2, 0, 0, 0, 138 1, 0, 0, 0, 0, 0, 139 0, 0, 0, 0, 0, 0, 140 1, 0, 0, 0, 0, 0, 141 0, 0, 0, 0, 0, 0, 142 0, 0, 0, 0, 0, 0, 143 0, 0, 0, 0, 0, 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 2, 0, 0, 0, 0, 0, 149 0, 0, 0, 0, 0, 0, 150 0, 0, 0, 0, 0, 0, 151 0, 0, 0, 0, 0, 0, 152 0, 0, 0, 0, 0, 0, 153 0, 0, 0, 0, 0, 0, 154 0, 0, 0, 0, 82, 68, 155 69, 70, 124, 2, 0, 0, 156 1, 0, 0, 0, 72, 0, 157 0, 0, 1, 0, 0, 0, 158 28, 0, 0, 0, 0, 4, 159 255, 255, 0, 1, 0, 0, 160 84, 2, 0, 0, 60, 0, 161 0, 0, 0, 0, 0, 0, 162 0, 0, 0, 0, 0, 0, 163 0, 0, 0, 0, 0, 0, 164 0, 0, 0, 0, 1, 0, 165 0, 0, 1, 0, 0, 0, 166 67, 111, 110, 115, 116, 97, 167 110, 116, 115, 0, 171, 171, 168 60, 0, 0, 0, 13, 0, 169 0, 0, 96, 0, 0, 0, 170 112, 0, 0, 0, 0, 0, 171 0, 0, 0, 0, 0, 0, 172 152, 1, 0, 0, 0, 0, 173 0, 0, 4, 0, 0, 0, 174 0, 0, 0, 0, 168, 1, 175 0, 0, 0, 0, 0, 0, 176 184, 1, 0, 0, 4, 0, 177 0, 0, 4, 0, 0, 0, 178 0, 0, 0, 0, 168, 1, 179 0, 0, 0, 0, 0, 0, 180 197, 1, 0, 0, 8, 0, 181 0, 0, 4, 0, 0, 0, 182 0, 0, 0, 0, 168, 1, 183 0, 0, 0, 0, 0, 0, 184 208, 1, 0, 0, 12, 0, 185 0, 0, 4, 0, 0, 0, 186 2, 0, 0, 0, 168, 1, 187 0, 0, 0, 0, 0, 0, 188 220, 1, 0, 0, 16, 0, 189 0, 0, 16, 0, 0, 0, 190 0, 0, 0, 0, 232, 1, 191 0, 0, 0, 0, 0, 0, 192 248, 1, 0, 0, 32, 0, 193 0, 0, 4, 0, 0, 0, 194 0, 0, 0, 0, 168, 1, 195 0, 0, 0, 0, 0, 0, 196 7, 2, 0, 0, 36, 0, 197 0, 0, 4, 0, 0, 0, 198 0, 0, 0, 0, 168, 1, 199 0, 0, 0, 0, 0, 0, 200 23, 2, 0, 0, 40, 0, 201 0, 0, 4, 0, 0, 0, 202 0, 0, 0, 0, 168, 1, 203 0, 0, 0, 0, 0, 0, 204 39, 2, 0, 0, 44, 0, 205 0, 0, 4, 0, 0, 0, 206 0, 0, 0, 0, 168, 1, 207 0, 0, 0, 0, 0, 0, 208 55, 2, 0, 0, 48, 0, 209 0, 0, 16, 0, 0, 0, 210 0, 0, 0, 0, 232, 1, 211 0, 0, 0, 0, 0, 0, 212 63, 2, 0, 0, 64, 0, 213 0, 0, 16, 0, 0, 0, 214 0, 0, 0, 0, 232, 1, 215 0, 0, 0, 0, 0, 0, 216 70, 2, 0, 0, 80, 0, 217 0, 0, 16, 0, 0, 0, 218 0, 0, 0, 0, 232, 1, 219 0, 0, 0, 0, 0, 0, 220 77, 2, 0, 0, 96, 0, 221 0, 0, 16, 0, 0, 0, 222 0, 0, 0, 0, 232, 1, 223 0, 0, 0, 0, 0, 0, 224 115, 99, 82, 71, 66, 95, 225 111, 117, 116, 112, 117, 116, 226 0, 171, 171, 171, 0, 0, 227 3, 0, 1, 0, 1, 0, 228 0, 0, 0, 0, 0, 0, 229 0, 0, 116, 101, 120, 116, 230 117, 114, 101, 95, 116, 121, 231 112, 101, 0, 105, 110, 112, 232 117, 116, 95, 116, 121, 112, 233 101, 0, 99, 111, 108, 111, 234 114, 95, 115, 99, 97, 108, 235 101, 0, 116, 101, 120, 101, 236 108, 95, 115, 105, 122, 101, 237 0, 171, 1, 0, 3, 0, 238 1, 0, 4, 0, 0, 0, 239 0, 0, 0, 0, 0, 0, 240 116, 111, 110, 101, 109, 97, 241 112, 95, 109, 101, 116, 104, 242 111, 100, 0, 116, 111, 110, 243 101, 109, 97, 112, 95, 102, 244 97, 99, 116, 111, 114, 49, 245 0, 116, 111, 110, 101, 109, 246 97, 112, 95, 102, 97, 99, 247 116, 111, 114, 50, 0, 115, 248 100, 114, 95, 119, 104, 105, 249 116, 101, 95, 112, 111, 105, 250 110, 116, 0, 89, 111, 102, 251 102, 115, 101, 116, 0, 82, 252 99, 111, 101, 102, 102, 0, 253 71, 99, 111, 101, 102, 102, 254 0, 66, 99, 111, 101, 102, 255 102, 0, 77, 105, 99, 114, 256 111, 115, 111, 102, 116, 32, 257 40, 82, 41, 32, 72, 76, 258 83, 76, 32, 83, 104, 97, 259 100, 101, 114, 32, 67, 111, 260 109, 112, 105, 108, 101, 114, 261 32, 49, 48, 46, 49, 0, 262 73, 83, 71, 78, 108, 0, 263 0, 0, 3, 0, 0, 0, 264 8, 0, 0, 0, 80, 0, 265 0, 0, 0, 0, 0, 0, 266 1, 0, 0, 0, 3, 0, 267 0, 0, 0, 0, 0, 0, 268 15, 0, 0, 0, 92, 0, 269 0, 0, 0, 0, 0, 0, 270 0, 0, 0, 0, 3, 0, 271 0, 0, 1, 0, 0, 0, 272 3, 0, 0, 0, 101, 0, 273 0, 0, 0, 0, 0, 0, 274 0, 0, 0, 0, 3, 0, 275 0, 0, 2, 0, 0, 0, 276 15, 15, 0, 0, 83, 86, 277 95, 80, 79, 83, 73, 84, 278 73, 79, 78, 0, 84, 69, 279 88, 67, 79, 79, 82, 68, 280 0, 67, 79, 76, 79, 82, 281 0, 171, 79, 83, 71, 78, 282 44, 0, 0, 0, 1, 0, 283 0, 0, 8, 0, 0, 0, 284 32, 0, 0, 0, 0, 0, 285 0, 0, 0, 0, 0, 0, 286 3, 0, 0, 0, 0, 0, 287 0, 0, 15, 0, 0, 0, 288 83, 86, 95, 84, 65, 82, 289 71, 69, 84, 0, 171, 171 290}; 291[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.