169 lines
5.5 KiB
C
169 lines
5.5 KiB
C
#if 0
|
|
//
|
|
// Generated by Microsoft (R) D3D Shader Disassembler
|
|
//
|
|
//
|
|
// Input signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// POSITION 0 xy 0 NONE float xy
|
|
// COLOR 0 xyzw 1 NONE float xyzw
|
|
// TEXCOORD 0 xy 2 NONE float xy
|
|
//
|
|
//
|
|
// Output signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// SV_POSITION 0 xyzw 0 POS float xyzw
|
|
// COLOR 0 xyzw 1 NONE float xyzw
|
|
// TEXCOORD 0 xy 2 NONE float xy
|
|
//
|
|
vs_5_1
|
|
dcl_globalFlags refactoringAllowed
|
|
dcl_constantbuffer CB0[0:0][4], immediateIndexed, space=0
|
|
dcl_input v0.xy
|
|
dcl_input v1.xyzw
|
|
dcl_input v2.xy
|
|
dcl_output_siv o0.xyzw, position
|
|
dcl_output o1.xyzw
|
|
dcl_output o2.xy
|
|
dcl_temps 1
|
|
mul r0.xyzw, v0.yyyy, CB0[0][1].xyzw
|
|
mad r0.xyzw, CB0[0][0].xyzw, v0.xxxx, r0.xyzw
|
|
add o0.xyzw, r0.xyzw, CB0[0][3].xyzw
|
|
mov o1.xyzw, v1.xyzw
|
|
mov o2.xy, v2.xyxx
|
|
ret
|
|
// Approximately 0 instruction slots used
|
|
#endif
|
|
|
|
const BYTE nk_d3d12_vertex_shader[] =
|
|
{
|
|
68, 88, 66, 67, 187, 129,
|
|
163, 57, 169, 94, 219, 158,
|
|
174, 23, 30, 91, 108, 150,
|
|
135, 141, 1, 0, 0, 0,
|
|
232, 2, 0, 0, 4, 0,
|
|
0, 0, 48, 0, 0, 0,
|
|
160, 0, 0, 0, 20, 1,
|
|
0, 0, 56, 2, 0, 0,
|
|
73, 83, 71, 78, 104, 0,
|
|
0, 0, 3, 0, 0,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