Atlas - D3D11_PixelShader_Textures.h

Home / ext / SDL / src / render / direct3d11 Lines: 1 | Size: 11453 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// sampler0 sampler NA NA s0 1 33// texture0 texture float4 2d t0 1 34// Constants cbuffer NA NA cb0 1 35// 36// 37// 38// Input signature: 39// 40// Name Index Mask Register SysValue Format Used 41// -------------------- ----- ------ -------- -------- ------- ------ 42// SV_POSITION 0 xyzw 0 POS float 43// TEXCOORD 0 xy 1 NONE float xy 44// COLOR 0 xyzw 2 NONE float xyzw 45// 46// 47// Output signature: 48// 49// Name Index Mask Register SysValue Format Used 50// -------------------- ----- ------ -------- -------- ------- ------ 51// SV_TARGET 0 xyzw 0 TARGET float xyzw 52// 53// 54// Constant buffer to DX9 shader constant mappings: 55// 56// Target Reg Buffer Start Reg # of Regs Data Conversion 57// ---------- ------- --------- --------- ---------------------- 58// c0 cb0 0 1 ( FLT, FLT, FLT, FLT) 59// 60// 61// Sampler/Resource to DX9 shader sampler mappings: 62// 63// Target Sampler Source Sampler Source Resource 64// -------------- --------------- ---------------- 65// s0 s0 t0 66// 67// 68// Level9 shader bytecode: 69// 70 ps_2_0 71 dcl t0.xy 72 dcl t1 73 dcl_2d s0 74 texld r0, t0, s0 75 mul r0.xyz, r0, c0.w 76 mul r0, r0, t1 77 mov oC0, r0 78 79// approximately 4 instruction slots used (1 texture, 3 arithmetic) 80ps_4_0 81dcl_constantbuffer CB0[1], immediateIndexed 82dcl_sampler s0, mode_default 83dcl_resource_texture2d (float,float,float,float) t0 84dcl_input_ps linear v1.xy 85dcl_input_ps linear v2.xyzw 86dcl_output o0.xyzw 87dcl_temps 1 88sample r0.xyzw, v1.xyxx, t0.xyzw, s0 89mul r0.xyz, r0.xyzx, cb0[0].wwww 90mul o0.xyzw, r0.xyzw, v2.xyzw 91ret 92// Approximately 4 instruction slots used 93#endif 94 95const BYTE g_main[] = 96{ 97 68, 88, 66, 67, 98, 171, 98 127, 123, 23, 170, 245, 47, 99 35, 199, 24, 186, 200, 109, 100 190, 201, 1, 0, 0, 0, 101 160, 5, 0, 0, 6, 0, 102 0, 0, 56, 0, 0, 0, 103 220, 0, 0, 0, 168, 1, 104 0, 0, 36, 2, 0, 0, 105 248, 4, 0, 0, 108, 5, 106 0, 0, 65, 111, 110, 57, 107 156, 0, 0, 0, 156, 0, 108 0, 0, 0, 2, 255, 255, 109 104, 0, 0, 0, 52, 0, 110 0, 0, 1, 0, 40, 0, 111 0, 0, 52, 0, 0, 0, 112 52, 0, 1, 0, 36, 0, 113 0, 0, 52, 0, 0, 0, 114 0, 0, 0, 0, 0, 0, 115 1, 0, 0, 0, 0, 0, 116 0, 0, 0, 2, 255, 255, 117 31, 0, 0, 2, 0, 0, 118 0, 128, 0, 0, 3, 176, 119 31, 0, 0, 2, 0, 0, 120 0, 128, 1, 0, 15, 176, 121 31, 0, 0, 2, 0, 0, 122 0, 144, 0, 8, 15, 160, 123 66, 0, 0, 3, 0, 0, 124 15, 128, 0, 0, 228, 176, 125 0, 8, 228, 160, 5, 0, 126 0, 3, 0, 0, 7, 128, 127 0, 0, 228, 128, 0, 0, 128 255, 160, 5, 0, 0, 3, 129 0, 0, 15, 128, 0, 0, 130 228, 128, 1, 0, 228, 176, 131 1, 0, 0, 2, 0, 8, 132 15, 128, 0, 0, 228, 128, 133 255, 255, 0, 0, 83, 72, 134 68, 82, 196, 0, 0, 0, 135 64, 0, 0, 0, 49, 0, 136 0, 0, 89, 0, 0, 4, 137 70, 142, 32, 0, 0, 0, 138 0, 0, 1, 0, 0, 0, 139 90, 0, 0, 3, 0, 96, 140 16, 0, 0, 0, 0, 0, 141 88, 24, 0, 4, 0, 112, 142 16, 0, 0, 0, 0, 0, 143 85, 85, 0, 0, 98, 16, 144 0, 3, 50, 16, 16, 0, 145 1, 0, 0, 0, 98, 16, 146 0, 3, 242, 16, 16, 0, 147 2, 0, 0, 0, 101, 0, 148 0, 3, 242, 32, 16, 0, 149 0, 0, 0, 0, 104, 0, 150 0, 2, 1, 0, 0, 0, 151 69, 0, 0, 9, 242, 0, 152 16, 0, 0, 0, 0, 0, 153 70, 16, 16, 0, 1, 0, 154 0, 0, 70, 126, 16, 0, 155 0, 0, 0, 0, 0, 96, 156 16, 0, 0, 0, 0, 0, 157 56, 0, 0, 8, 114, 0, 158 16, 0, 0, 0, 0, 0, 159 70, 2, 16, 0, 0, 0, 160 0, 0, 246, 143, 32, 0, 161 0, 0, 0, 0, 0, 0, 162 0, 0, 56, 0, 0, 7, 163 242, 32, 16, 0, 0, 0, 164 0, 0, 70, 14, 16, 0, 165 0, 0, 0, 0, 70, 30, 166 16, 0, 2, 0, 0, 0, 167 62, 0, 0, 1, 83, 84, 168 65, 84, 116, 0, 0, 0, 169 4, 0, 0, 0, 1, 0, 170 0, 0, 0, 0, 0, 0, 171 3, 0, 0, 0, 2, 0, 172 0, 0, 0, 0, 0, 0, 173 0, 0, 0, 0, 1, 0, 174 0, 0, 0, 0, 0, 0, 175 0, 0, 0, 0, 0, 0, 176 0, 0, 0, 0, 0, 0, 177 0, 0, 0, 0, 0, 0, 178 0, 0, 1, 0, 0, 0, 179 0, 0, 0, 0, 0, 0, 180 0, 0, 0, 0, 0, 0, 181 0, 0, 0, 0, 0, 0, 182 0, 0, 0, 0, 0, 0, 183 0, 0, 0, 0, 0, 0, 184 0, 0, 0, 0, 0, 0, 185 0, 0, 0, 0, 0, 0, 186 0, 0, 0, 0, 0, 0, 187 0, 0, 0, 0, 0, 0, 188 0, 0, 82, 68, 69, 70, 189 204, 2, 0, 0, 1, 0, 190 0, 0, 152, 0, 0, 0, 191 3, 0, 0, 0, 28, 0, 192 0, 0, 0, 4, 255, 255, 193 0, 1, 0, 0, 164, 2, 194 0, 0, 124, 0, 0, 0, 195 3, 0, 0, 0, 0, 0, 196 0, 0, 0, 0, 0, 0, 197 0, 0, 0, 0, 0, 0, 198 0, 0, 1, 0, 0, 0, 199 1, 0, 0, 0, 133, 0, 200 0, 0, 2, 0, 0, 0, 201 5, 0, 0, 0, 4, 0, 202 0, 0, 255, 255, 255, 255, 203 0, 0, 0, 0, 1, 0, 204 0, 0, 13, 0, 0, 0, 205 142, 0, 0, 0, 0, 0, 206 0, 0, 0, 0, 0, 0, 207 0, 0, 0, 0, 0, 0, 208 0, 0, 0, 0, 0, 0, 209 1, 0, 0, 0, 1, 0, 210 0, 0, 115, 97, 109, 112, 211 108, 101, 114, 48, 0, 116, 212 101, 120, 116, 117, 114, 101, 213 48, 0, 67, 111, 110, 115, 214 116, 97, 110, 116, 115, 0, 215 142, 0, 0, 0, 13, 0, 216 0, 0, 176, 0, 0, 0, 217 112, 0, 0, 0, 0, 0, 218 0, 0, 0, 0, 0, 0, 219 232, 1, 0, 0, 0, 0, 220 0, 0, 4, 0, 0, 0, 221 0, 0, 0, 0, 248, 1, 222 0, 0, 0, 0, 0, 0, 223 8, 2, 0, 0, 4, 0, 224 0, 0, 4, 0, 0, 0, 225 0, 0, 0, 0, 248, 1, 226 0, 0, 0, 0, 0, 0, 227 21, 2, 0, 0, 8, 0, 228 0, 0, 4, 0, 0, 0, 229 0, 0, 0, 0, 248, 1, 230 0, 0, 0, 0, 0, 0, 231 32, 2, 0, 0, 12, 0, 232 0, 0, 4, 0, 0, 0, 233 2, 0, 0, 0, 248, 1, 234 0, 0, 0, 0, 0, 0, 235 44, 2, 0, 0, 16, 0, 236 0, 0, 16, 0, 0, 0, 237 0, 0, 0, 0, 56, 2, 238 0, 0, 0, 0, 0, 0, 239 72, 2, 0, 0, 32, 0, 240 0, 0, 4, 0, 0, 0, 241 0, 0, 0, 0, 248, 1, 242 0, 0, 0, 0, 0, 0, 243 87, 2, 0, 0, 36, 0, 244 0, 0, 4, 0, 0, 0, 245 0, 0, 0, 0, 248, 1, 246 0, 0, 0, 0, 0, 0, 247 103, 2, 0, 0, 40, 0, 248 0, 0, 4, 0, 0, 0, 249 0, 0, 0, 0, 248, 1, 250 0, 0, 0, 0, 0, 0, 251 119, 2, 0, 0, 44, 0, 252 0, 0, 4, 0, 0, 0, 253 0, 0, 0, 0, 248, 1, 254 0, 0, 0, 0, 0, 0, 255 135, 2, 0, 0, 48, 0, 256 0, 0, 16, 0, 0, 0, 257 0, 0, 0, 0, 56, 2, 258 0, 0, 0, 0, 0, 0, 259 143, 2, 0, 0, 64, 0, 260 0, 0, 16, 0, 0, 0, 261 0, 0, 0, 0, 56, 2, 262 0, 0, 0, 0, 0, 0, 263 150, 2, 0, 0, 80, 0, 264 0, 0, 16, 0, 0, 0, 265 0, 0, 0, 0, 56, 2, 266 0, 0, 0, 0, 0, 0, 267 157, 2, 0, 0, 96, 0, 268 0, 0, 16, 0, 0, 0, 269 0, 0, 0, 0, 56, 2, 270 0, 0, 0, 0, 0, 0, 271 115, 99, 82, 71, 66, 95, 272 111, 117, 116, 112, 117, 116, 273 0, 171, 171, 171, 0, 0, 274 3, 0, 1, 0, 1, 0, 275 0, 0, 0, 0, 0, 0, 276 0, 0, 116, 101, 120, 116, 277 117, 114, 101, 95, 116, 121, 278 112, 101, 0, 105, 110, 112, 279 117, 116, 95, 116, 121, 112, 280 101, 0, 99, 111, 108, 111, 281 114, 95, 115, 99, 97, 108, 282 101, 0, 116, 101, 120, 101, 283 108, 95, 115, 105, 122, 101, 284 0, 171, 1, 0, 3, 0, 285 1, 0, 4, 0, 0, 0, 286 0, 0, 0, 0, 0, 0, 287 116, 111, 110, 101, 109, 97, 288 112, 95, 109, 101, 116, 104, 289 111, 100, 0, 116, 111, 110, 290 101, 109, 97, 112, 95, 102, 291 97, 99, 116, 111, 114, 49, 292 0, 116, 111, 110, 101, 109, 293 97, 112, 95, 102, 97, 99, 294 116, 111, 114, 50, 0, 115, 295 100, 114, 95, 119, 104, 105, 296 116, 101, 95, 112, 111, 105, 297 110, 116, 0, 89, 111, 102, 298 102, 115, 101, 116, 0, 82, 299 99, 111, 101, 102, 102, 0, 300 71, 99, 111, 101, 102, 102, 301 0, 66, 99, 111, 101, 102, 302 102, 0, 77, 105, 99, 114, 303 111, 115, 111, 102, 116, 32, 304 40, 82, 41, 32, 72, 76, 305 83, 76, 32, 83, 104, 97, 306 100, 101, 114, 32, 67, 111, 307 109, 112, 105, 108, 101, 114, 308 32, 49, 48, 46, 49, 0, 309 73, 83, 71, 78, 108, 0, 310 0, 0, 3, 0, 0, 0, 311 8, 0, 0, 0, 80, 0, 312 0, 0, 0, 0, 0, 0, 313 1, 0, 0, 0, 3, 0, 314 0, 0, 0, 0, 0, 0, 315 15, 0, 0, 0, 92, 0, 316 0, 0, 0, 0, 0, 0, 317 0, 0, 0, 0, 3, 0, 318 0, 0, 1, 0, 0, 0, 319 3, 3, 0, 0, 101, 0, 320 0, 0, 0, 0, 0, 0, 321 0, 0, 0, 0, 3, 0, 322 0, 0, 2, 0, 0, 0, 323 15, 15, 0, 0, 83, 86, 324 95, 80, 79, 83, 73, 84, 325 73, 79, 78, 0, 84, 69, 326 88, 67, 79, 79, 82, 68, 327 0, 67, 79, 76, 79, 82, 328 0, 171, 79, 83, 71, 78, 329 44, 0, 0, 0, 1, 0, 330 0, 0, 8, 0, 0, 0, 331 32, 0, 0, 0, 0, 0, 332 0, 0, 0, 0, 0, 0, 333 3, 0, 0, 0, 0, 0, 334 0, 0, 15, 0, 0, 0, 335 83, 86, 95, 84, 65, 82, 336 71, 69, 84, 0, 171, 171 337}; 338
[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.