MinecraftConsoles/Minecraft.Client/Windows64/4JLibs/inc/Render/VS_ScreenSpace.h
2026-03-12 23:22:14 +03:00

209 lines
6.7 KiB
C

#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
// Buffer Definitions:
//
// cbuffer screenspace_constants
// {
//
// float4 v_scaleoffset; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// screenspace_constants cbuffer NA NA cb9 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_VertexID 0 x 0 VERTID uint x
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
vs_4_0
dcl_constantbuffer CB9[1], immediateIndexed
dcl_input_sgv v0.x, vertex_id
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_temps 1
ishl r0.x, v0.x, l(1)
and r0.x, r0.x, l(2)
and r0.z, v0.x, l(2)
utof r0.xy, r0.xzxx
mad o0.xy, r0.xyxx, l(2.000000, -2.000000, 0.000000, 0.000000), l(-1.000000, 1.000000, 0.000000, 0.000000)
mul r0.xy, r0.xyxx, cb9[0].zwzz
mad o1.xy, r0.xyxx, l(0.500000, 0.500000, 0.000000, 0.000000), cb9[0].xyxx
mov o0.zw, l(0,0,1.000000,1.000000)
ret
// Approximately 9 instruction slots used
#endif
const BYTE g_main_VS_ScreenSpace[] =
{
68, 88, 66, 67, 37, 30,
105, 189, 236, 181, 127, 58,
95, 144, 208, 39, 252, 185,
160, 237, 1, 0, 0, 0,
128, 3, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
8, 1, 0, 0, 60, 1,
0, 0, 148, 1, 0, 0,
4, 3, 0, 0, 82, 68,
69, 70, 204, 0, 0, 0,
1, 0, 0, 0, 84, 0,
0, 0, 1, 0, 0, 0,
28, 0, 0, 0, 0, 4,
254, 255, 0, 129, 0, 0,
164, 0, 0, 0, 60, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
9, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
115, 99, 114, 101, 101, 110,
115, 112, 97, 99, 101, 95,
99, 111, 110, 115, 116, 97,
110, 116, 115, 0, 171, 171,
60, 0, 0, 0, 1, 0,
0, 0, 108, 0, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
132, 0, 0, 0, 0, 0,
0, 0, 16, 0, 0, 0,
2, 0, 0, 0, 148, 0,
0, 0, 0, 0, 0, 0,
118, 95, 115, 99, 97, 108,
101, 111, 102, 102, 115, 101,
116, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
73, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
1, 1, 0, 0, 83, 86,
95, 86, 101, 114, 116, 101,
120, 73, 68, 0, 79, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 12,
0, 0, 83, 86, 95, 80,
79, 83, 73, 84, 73, 79,
78, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 83, 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