Atlas - D3D9_PixelShader_Palette_Nearest.h
Home / ext / SDL / src / render / direct3d Lines: 1 | Size: 2589 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// Parameters: 6// 7// sampler2D image; 8// sampler1D palette; 9// 10// 11// Registers: 12// 13// Name Reg Size 14// ------------ ----- ---- 15// image s0 1 16// palette s1 1 17// 18 19 ps_2_0 20 def c0, 255, 0.5, 0.00390625, 0 21 dcl t0.xy 22 dcl v0 23 dcl_2d s0 24 dcl_2d s1 25 texld r0, t0, s0 26 mad r0.x, r0.x, c0.x, c0.y 27 mul r0.xy, r0.x, c0.z 28 texld r0, r0, s1 29 mul r0, r0, v0 30 mov oC0, r0 31 32// approximately 6 instruction slots used (2 texture, 4 arithmetic) 33#endif 34 35const BYTE g_ps20_main[] = 36{ 37 0, 2, 255, 255, 254, 255, 38 42, 0, 67, 84, 65, 66, 39 28, 0, 0, 0, 123, 0, 40 0, 0, 0, 2, 255, 255, 41 2, 0, 0, 0, 28, 0, 42 0, 0, 0, 1, 0, 0, 43 116, 0, 0, 0, 68, 0, 44 0, 0, 3, 0, 0, 0, 45 1, 0, 0, 0, 76, 0, 46 0, 0, 0, 0, 0, 0, 47 92, 0, 0, 0, 3, 0, 48 1, 0, 1, 0, 0, 0, 49 100, 0, 0, 0, 0, 0, 50 0, 0, 105, 109, 97, 103, 51 101, 0, 171, 171, 4, 0, 52 12, 0, 1, 0, 1, 0, 53 1, 0, 0, 0, 0, 0, 54 0, 0, 112, 97, 108, 101, 55 116, 116, 101, 0, 4, 0, 56 11, 0, 1, 0, 1, 0, 57 1, 0, 0, 0, 0, 0, 58 0, 0, 112, 115, 95, 50, 59 95, 48, 0, 77, 105, 99, 60 114, 111, 115, 111, 102, 116, 61 32, 40, 82, 41, 32, 72, 62 76, 83, 76, 32, 83, 104, 63 97, 100, 101, 114, 32, 67, 64 111, 109, 112, 105, 108, 101, 65 114, 32, 49, 48, 46, 49, 66 0, 171, 81, 0, 0, 5, 67 0, 0, 15, 160, 0, 0, 68 127, 67, 0, 0, 0, 63, 69 0, 0, 128, 59, 0, 0, 70 0, 0, 31, 0, 0, 2, 71 0, 0, 0, 128, 0, 0, 72 3, 176, 31, 0, 0, 2, 73 0, 0, 0, 128, 0, 0, 74 15, 144, 31, 0, 0, 2, 75 0, 0, 0, 144, 0, 8, 76 15, 160, 31, 0, 0, 2, 77 0, 0, 0, 144, 1, 8, 78 15, 160, 66, 0, 0, 3, 79 0, 0, 15, 128, 0, 0, 80 228, 176, 0, 8, 228, 160, 81 4, 0, 0, 4, 0, 0, 82 1, 128, 0, 0, 0, 128, 83 0, 0, 0, 160, 0, 0, 84 85, 160, 5, 0, 0, 3, 85 0, 0, 3, 128, 0, 0, 86 0, 128, 0, 0, 170, 160, 87 66, 0, 0, 3, 0, 0, 88 15, 128, 0, 0, 228, 128, 89 1, 8, 228, 160, 5, 0, 90 0, 3, 0, 0, 15, 128, 91 0, 0, 228, 128, 0, 0, 92 228, 144, 1, 0, 0, 2, 93 0, 8, 15, 128, 0, 0, 94 228, 128, 255, 255, 0, 0 95}; 96[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.