1 #if 0 2 // 3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 4 // 5 // 6 // fxc /nologo /E PS_BufferToTexture_4F /T ps_4_0 /Fh 7 // compiled/buffertotexture11_ps_4f.h BufferToTexture11.hlsl 8 // 9 // 10 // Buffer Definitions: 11 // 12 // cbuffer BufferCopyParams 13 // { 14 // 15 // uint FirstPixelOffset; // Offset: 0 Size: 4 [unused] 16 // uint PixelsPerRow; // Offset: 4 Size: 4 [unused] 17 // uint RowStride; // Offset: 8 Size: 4 [unused] 18 // uint RowsPerSlice; // Offset: 12 Size: 4 [unused] 19 // float2 PositionOffset; // Offset: 16 Size: 8 [unused] 20 // float2 PositionScale; // Offset: 24 Size: 8 [unused] 21 // int2 TexLocationOffset; // Offset: 32 Size: 8 [unused] 22 // int2 TexLocationScale; // Offset: 40 Size: 8 [unused] 23 // uint FirstSlice; // Offset: 48 Size: 4 [unused] 24 // 25 // } 26 // 27 // 28 // Resource Bindings: 29 // 30 // Name Type Format Dim Slot Elements 31 // ------------------------------ ---------- ------- ----------- ---- -------- 32 // Buffer4F texture float4 buf 0 1 33 // BufferCopyParams cbuffer NA NA 0 1 34 // 35 // 36 // 37 // Input signature: 38 // 39 // Name Index Mask Register SysValue Format Used 40 // -------------------- ----- ------ -------- -------- ------ ------ 41 // SV_Position 0 xyzw 0 POS float 42 // TEXCOORD 0 x 1 NONE uint x 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 ps_4_0 52 dcl_constantbuffer cb0[1], immediateIndexed 53 dcl_resource_buffer (float,float,float,float) t0 54 dcl_input_ps constant v1.x 55 dcl_output o0.xyzw 56 ld o0.xyzw, v1.xxxx, t0.xyzw 57 ret 58 // Approximately 2 instruction slots used 59 #endif 60 61 const BYTE g_PS_BufferToTexture_4F[] = { 62 68, 88, 66, 67, 143, 104, 46, 161, 50, 189, 182, 102, 245, 177, 159, 82, 43, 210, 80, 63 71, 1, 0, 0, 0, 252, 3, 0, 0, 5, 0, 0, 0, 52, 0, 0, 0, 140, 2, 64 0, 0, 228, 2, 0, 0, 24, 3, 0, 0, 128, 3, 0, 0, 82, 68, 69, 70, 80, 65 2, 0, 0, 1, 0, 0, 0, 120, 0, 0, 0, 2, 0, 0, 0, 28, 0, 0, 0, 66 0, 4, 255, 255, 0, 1, 0, 0, 28, 2, 0, 0, 92, 0, 0, 0, 2, 0, 0, 67 0, 5, 0, 0, 0, 1, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 68 0, 0, 13, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 69 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 70 66, 117, 102, 102, 101, 114, 52, 70, 0, 66, 117, 102, 102, 101, 114, 67, 111, 112, 121, 71 80, 97, 114, 97, 109, 115, 0, 171, 171, 101, 0, 0, 0, 9, 0, 0, 0, 144, 0, 72 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 1, 0, 0, 0, 73 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 124, 1, 0, 0, 0, 0, 0, 0, 74 140, 1, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 124, 1, 0, 75 0, 0, 0, 0, 0, 153, 1, 0, 0, 8, 0, 0, 0, 4, 0, 0, 0, 0, 0, 76 0, 0, 124, 1, 0, 0, 0, 0, 0, 0, 163, 1, 0, 0, 12, 0, 0, 0, 4, 77 0, 0, 0, 0, 0, 0, 0, 124, 1, 0, 0, 0, 0, 0, 0, 176, 1, 0, 0, 78 16, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 192, 1, 0, 0, 0, 0, 0, 79 0, 208, 1, 0, 0, 24, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 192, 1, 80 0, 0, 0, 0, 0, 0, 222, 1, 0, 0, 32, 0, 0, 0, 8, 0, 0, 0, 0, 81 0, 0, 0, 240, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 40, 0, 0, 0, 82 8, 0, 0, 0, 0, 0, 0, 0, 240, 1, 0, 0, 0, 0, 0, 0, 17, 2, 0, 83 0, 48, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 124, 1, 0, 0, 0, 0, 84 0, 0, 70, 105, 114, 115, 116, 80, 105, 120, 101, 108, 79, 102, 102, 115, 101, 116, 0, 85 171, 171, 171, 0, 0, 19, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86 80, 105, 120, 101, 108, 115, 80, 101, 114, 82, 111, 119, 0, 82, 111, 119, 83, 116, 114, 87 105, 100, 101, 0, 82, 111, 119, 115, 80, 101, 114, 83, 108, 105, 99, 101, 0, 80, 111, 88 115, 105, 116, 105, 111, 110, 79, 102, 102, 115, 101, 116, 0, 171, 1, 0, 3, 0, 1, 89 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 111, 115, 105, 116, 105, 111, 110, 90 83, 99, 97, 108, 101, 0, 84, 101, 120, 76, 111, 99, 97, 116, 105, 111, 110, 79, 102, 91 102, 115, 101, 116, 0, 1, 0, 2, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 92 0, 0, 84, 101, 120, 76, 111, 99, 97, 116, 105, 111, 110, 83, 99, 97, 108, 101, 0, 93 70, 105, 114, 115, 116, 83, 108, 105, 99, 101, 0, 77, 105, 99, 114, 111, 115, 111, 102, 94 116, 32, 40, 82, 41, 32, 72, 76, 83, 76, 32, 83, 104, 97, 100, 101, 114, 32, 67, 95 111, 109, 112, 105, 108, 101, 114, 32, 57, 46, 50, 57, 46, 57, 53, 50, 46, 51, 49, 96 49, 49, 0, 171, 171, 171, 73, 83, 71, 78, 80, 0, 0, 0, 2, 0, 0, 0, 8, 97 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 98 0, 0, 0, 0, 15, 0, 0, 0, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 99 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 83, 86, 95, 80, 111, 115, 100 105, 116, 105, 111, 110, 0, 84, 69, 88, 67, 79, 79, 82, 68, 0, 171, 171, 171, 79, 101 83, 71, 78, 44, 0, 0, 0, 1, 0, 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 102 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 103 0, 83, 86, 95, 84, 97, 114, 103, 101, 116, 0, 171, 171, 83, 72, 68, 82, 96, 0, 104 0, 0, 64, 0, 0, 0, 24, 0, 0, 0, 89, 0, 0, 4, 70, 142, 32, 0, 0, 105 0, 0, 0, 1, 0, 0, 0, 88, 8, 0, 4, 0, 112, 16, 0, 0, 0, 0, 0, 106 85, 85, 0, 0, 98, 8, 0, 3, 18, 16, 16, 0, 1, 0, 0, 0, 101, 0, 0, 107 3, 242, 32, 16, 0, 0, 0, 0, 0, 45, 0, 0, 7, 242, 32, 16, 0, 0, 0, 108 0, 0, 6, 16, 16, 0, 1, 0, 0, 0, 70, 126, 16, 0, 0, 0, 0, 0, 62, 109 0, 0, 1, 83, 84, 65, 84, 116, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 110 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 115 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; 116