1 #if 0 2 // 3 // Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384 4 // 5 // Parameters: 6 // 7 // float4 add; 8 // float4 mult; 9 // sampler2D tex; 10 // 11 // 12 // Registers: 13 // 14 // Name Reg Size 15 // ------------ ----- ---- 16 // mult c0 1 17 // add c1 1 18 // tex s0 1 19 // 20 21 ps_2_0 22 dcl t0.xy 23 dcl_2d s0 24 texld r0, t0, s0 25 mul r0.xyz, r0.w, r0.x 26 mov r1, c0 27 mad r0, r0, r1, c1 28 mov oC0, r0 29 30 // approximately 5 instruction slots used (1 texture, 4 arithmetic) 31 #endif 32 33 const BYTE g_ps20_luminancepremultps[] = { 34 0, 2, 255, 255, 254, 255, 50, 0, 67, 84, 65, 66, 28, 0, 0, 0, 143, 0, 0, 35 0, 0, 2, 255, 255, 3, 0, 0, 0, 28, 0, 0, 0, 0, 1, 0, 0, 136, 0, 36 0, 0, 88, 0, 0, 0, 2, 0, 1, 0, 1, 0, 0, 0, 92, 0, 0, 0, 0, 37 0, 0, 0, 108, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 92, 0, 0, 0, 38 0, 0, 0, 0, 113, 0, 0, 0, 3, 0, 0, 0, 1, 0, 0, 0, 120, 0, 0, 39 0, 0, 0, 0, 0, 97, 100, 100, 0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 40 0, 0, 0, 0, 0, 0, 109, 117, 108, 116, 0, 116, 101, 120, 0, 171, 171, 171, 4, 41 0, 12, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 112, 115, 95, 50, 42 95, 48, 0, 77, 105, 99, 114, 111, 115, 111, 102, 116, 32, 40, 82, 41, 32, 72, 76, 43 83, 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 111, 109, 112, 105, 108, 101, 114, 32, 44 54, 46, 51, 46, 57, 54, 48, 48, 46, 49, 54, 51, 56, 52, 0, 171, 171, 171, 31, 45 0, 0, 2, 0, 0, 0, 128, 0, 0, 3, 176, 31, 0, 0, 2, 0, 0, 0, 144, 46 0, 8, 15, 160, 66, 0, 0, 3, 0, 0, 15, 128, 0, 0, 228, 176, 0, 8, 228, 47 160, 5, 0, 0, 3, 0, 0, 7, 128, 0, 0, 255, 128, 0, 0, 0, 128, 1, 0, 48 0, 2, 1, 0, 15, 128, 0, 0, 228, 160, 4, 0, 0, 4, 0, 0, 15, 128, 0, 49 0, 228, 128, 1, 0, 228, 128, 1, 0, 228, 160, 1, 0, 0, 2, 0, 8, 15, 128, 50 0, 0, 228, 128, 255, 255, 0, 0}; 51