123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446 |
- #if 0
- //
- // Generated by Microsoft (R) HLSL Shader Compiler 10.1
- //
- //
- // Buffer Definitions:
- //
- // cbuffer Kamera
- // {
- //
- // struct KameraBuffer
- // {
- //
- // float4x4 view; // Offset: 0
- // float4x4 projection; // Offset: 64
- //
- // } Kamera; // Offset: 0 Size: 128
- //
- // }
- //
- // cbuffer Skelett
- // {
- //
- // struct MatrixBuffer
- // {
- //
- // float4x4 knochenMatrix[128]; // Offset: 0
- //
- // } Skelett; // Offset: 0 Size: 8192
- //
- // }
- //
- //
- // Resource Bindings:
- //
- // Name Type Format Dim ID HLSL Bind Count
- // ------------------------------ ---------- ------- ----------- ------- -------------- ------
- // Kamera cbuffer NA NA CB0 cb0 1
- // Skelett cbuffer NA NA CB1 cb1 1
- //
- //
- //
- // Input signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // POSITION 0 xyz 0 NONE float xyz
- // TEXCOORD 0 xy 1 NONE float xy
- // NORMAL 0 xyz 2 NONE float xyz
- // KNOCHEN_ID 0 x 3 NONE uint x
- //
- //
- // Output signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // POSITION 0 xyzw 0 NONE float xyzw
- // SV_POSITION 0 xyzw 1 POS float xyzw
- // TEXCOORD 0 xy 2 NONE float xy
- // NORMAL 0 xyz 3 NONE float xyz
- //
- vs_5_1
- dcl_globalFlags refactoringAllowed
- dcl_constantbuffer CB0[0:0][8], immediateIndexed, space=0
- dcl_constantbuffer CB1[1:1][512], dynamicIndexed, space=0
- dcl_input v0.xyz
- dcl_input v1.xy
- dcl_input v2.xyz
- dcl_input v3.x
- dcl_output o0.xyzw
- dcl_output_siv o1.xyzw, position
- dcl_output o2.xy
- dcl_output o3.xyz
- dcl_temps 3
- ishl r0.x, v3.x, l(2)
- dp3 r1.x, v2.xyzx, CB1[1][r0.x + 0].xyzx
- dp3 r1.y, v2.xyzx, CB1[1][r0.x + 1].xyzx
- dp3 r1.z, v2.xyzx, CB1[1][r0.x + 2].xyzx
- dp3 r0.y, r1.xyzx, r1.xyzx
- rsq r0.y, r0.y
- mul o3.xyz, r0.yyyy, r1.xyzx
- mov r1.xyz, v0.xyzx
- mov r1.w, l(1.000000)
- dp4 r2.x, r1.xyzw, CB1[1][r0.x + 0].xyzw
- dp4 r2.y, r1.xyzw, CB1[1][r0.x + 1].xyzw
- dp4 r2.z, r1.xyzw, CB1[1][r0.x + 2].xyzw
- dp4 r2.w, r1.xyzw, CB1[1][r0.x + 3].xyzw
- dp4 r0.x, r2.xyzw, CB0[0][0].xyzw
- dp4 r0.y, r2.xyzw, CB0[0][1].xyzw
- dp4 r0.z, r2.xyzw, CB0[0][2].xyzw
- dp4 r0.w, r2.xyzw, CB0[0][3].xyzw
- dp4 o1.x, r0.xyzw, CB0[0][4].xyzw
- dp4 o1.y, r0.xyzw, CB0[0][5].xyzw
- dp4 o1.z, r0.xyzw, CB0[0][6].xyzw
- dp4 o1.w, r0.xyzw, CB0[0][7].xyzw
- mov o0.xyzw, r2.xyzw
- mov o2.xy, v1.xyxx
- ret
- // Approximately 24 instruction slots used
- #endif
- const BYTE DX12VertexShaderBytes[] =
- {
- 68, 88, 66, 67, 189, 31,
- 198, 11, 194, 238, 54, 18,
- 222, 139, 23, 227, 122, 64,
- 97, 214, 1, 0, 0, 0,
- 0, 8, 0, 0, 5, 0,
- 0, 0, 52, 0, 0, 0,
- 120, 2, 0, 0, 12, 3,
- 0, 0, 164, 3, 0, 0,
- 100, 7, 0, 0, 82, 68,
- 69, 70, 60, 2, 0, 0,
- 2, 0, 0, 0, 156, 0,
- 0, 0, 2, 0, 0, 0,
- 60, 0, 0, 0, 1, 5,
- 254, 255, 0, 5, 0, 0,
- 20, 2, 0, 0, 19, 19,
- 68, 37, 60, 0, 0, 0,
- 24, 0, 0, 0, 40, 0,
- 0, 0, 40, 0, 0, 0,
- 36, 0, 0, 0, 12, 0,
- 0, 0, 0, 0, 0, 0,
- 140, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 1, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 147, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 1, 0, 0, 0, 1, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 1, 0,
- 0, 0, 75, 97, 109, 101,
- 114, 97, 0, 83, 107, 101,
- 108, 101, 116, 116, 0, 171,
- 140, 0, 0, 0, 1, 0,
- 0, 0, 204, 0, 0, 0,
- 128, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 147, 0, 0, 0, 1, 0,
- 0, 0, 124, 1, 0, 0,
- 0, 32, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 140, 0, 0, 0, 0, 0,
- 0, 0, 128, 0, 0, 0,
- 2, 0, 0, 0, 88, 1,
- 0, 0, 0, 0, 0, 0,
- 255, 255, 255, 255, 0, 0,
- 0, 0, 255, 255, 255, 255,
- 0, 0, 0, 0, 75, 97,
- 109, 101, 114, 97, 66, 117,
- 102, 102, 101, 114, 0, 118,
- 105, 101, 119, 0, 102, 108,
- 111, 97, 116, 52, 120, 52,
- 0, 171, 3, 0, 3, 0,
- 4, 0, 4, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 6, 1,
- 0, 0, 112, 114, 111, 106,
- 101, 99, 116, 105, 111, 110,
- 0, 171, 1, 1, 0, 0,
- 16, 1, 0, 0, 0, 0,
- 0, 0, 52, 1, 0, 0,
- 16, 1, 0, 0, 64, 0,
- 0, 0, 5, 0, 0, 0,
- 1, 0, 32, 0, 0, 0,
- 2, 0, 64, 1, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 244, 0,
- 0, 0, 147, 0, 0, 0,
- 0, 0, 0, 0, 0, 32,
- 0, 0, 2, 0, 0, 0,
- 240, 1, 0, 0, 0, 0,
- 0, 0, 255, 255, 255, 255,
- 0, 0, 0, 0, 255, 255,
- 255, 255, 0, 0, 0, 0,
- 77, 97, 116, 114, 105, 120,
- 66, 117, 102, 102, 101, 114,
- 0, 107, 110, 111, 99, 104,
- 101, 110, 77, 97, 116, 114,
- 105, 120, 0, 171, 3, 0,
- 3, 0, 4, 0, 4, 0,
- 128, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 6, 1, 0, 0, 177, 1,
- 0, 0, 192, 1, 0, 0,
- 0, 0, 0, 0, 5, 0,
- 0, 0, 1, 0, 0, 8,
- 0, 0, 1, 0, 228, 1,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 164, 1, 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,
- 140, 0, 0, 0, 4, 0,
- 0, 0, 8, 0, 0, 0,
- 104, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 3, 0, 0, 0, 0, 0,
- 0, 0, 7, 7, 0, 0,
- 113, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 3, 0, 0, 0, 1, 0,
- 0, 0, 3, 3, 0, 0,
- 122, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 3, 0, 0, 0, 2, 0,
- 0, 0, 7, 7, 0, 0,
- 129, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 1, 0, 0, 0, 3, 0,
- 0, 0, 1, 1, 0, 0,
- 80, 79, 83, 73, 84, 73,
- 79, 78, 0, 84, 69, 88,
- 67, 79, 79, 82, 68, 0,
- 78, 79, 82, 77, 65, 76,
- 0, 75, 78, 79, 67, 72,
- 69, 78, 95, 73, 68, 0,
- 79, 83, 71, 78, 144, 0,
- 0, 0, 4, 0, 0, 0,
- 8, 0, 0, 0, 104, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 0, 0, 0, 0,
- 15, 0, 0, 0, 113, 0,
- 0, 0, 0, 0, 0, 0,
- 1, 0, 0, 0, 3, 0,
- 0, 0, 1, 0, 0, 0,
- 15, 0, 0, 0, 125, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 2, 0, 0, 0,
- 3, 12, 0, 0, 134, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 3, 0, 0, 0,
- 7, 8, 0, 0, 80, 79,
- 83, 73, 84, 73, 79, 78,
- 0, 83, 86, 95, 80, 79,
- 83, 73, 84, 73, 79, 78,
- 0, 84, 69, 88, 67, 79,
- 79, 82, 68, 0, 78, 79,
- 82, 77, 65, 76, 0, 171,
- 171, 171, 83, 72, 69, 88,
- 184, 3, 0, 0, 81, 0,
- 1, 0, 238, 0, 0, 0,
- 106, 8, 0, 1, 89, 0,
- 0, 7, 70, 142, 48, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 8, 0, 0, 0, 0, 0,
- 0, 0, 89, 8, 0, 7,
- 70, 142, 48, 0, 1, 0,
- 0, 0, 1, 0, 0, 0,
- 1, 0, 0, 0, 0, 2,
- 0, 0, 0, 0, 0, 0,
- 95, 0, 0, 3, 114, 16,
- 16, 0, 0, 0, 0, 0,
- 95, 0, 0, 3, 50, 16,
- 16, 0, 1, 0, 0, 0,
- 95, 0, 0, 3, 114, 16,
- 16, 0, 2, 0, 0, 0,
- 95, 0, 0, 3, 18, 16,
- 16, 0, 3, 0, 0, 0,
- 101, 0, 0, 3, 242, 32,
- 16, 0, 0, 0, 0, 0,
- 103, 0, 0, 4, 242, 32,
- 16, 0, 1, 0, 0, 0,
- 1, 0, 0, 0, 101, 0,
- 0, 3, 50, 32, 16, 0,
- 2, 0, 0, 0, 101, 0,
- 0, 3, 114, 32, 16, 0,
- 3, 0, 0, 0, 104, 0,
- 0, 2, 3, 0, 0, 0,
- 41, 0, 0, 7, 18, 0,
- 16, 0, 0, 0, 0, 0,
- 10, 16, 16, 0, 3, 0,
- 0, 0, 1, 64, 0, 0,
- 2, 0, 0, 0, 16, 0,
- 0, 10, 18, 0, 16, 0,
- 1, 0, 0, 0, 70, 18,
- 16, 0, 2, 0, 0, 0,
- 70, 130, 48, 32, 1, 0,
- 0, 0, 1, 0, 0, 0,
- 10, 0, 16, 0, 0, 0,
- 0, 0, 16, 0, 0, 11,
- 34, 0, 16, 0, 1, 0,
- 0, 0, 70, 18, 16, 0,
- 2, 0, 0, 0, 70, 130,
- 48, 48, 1, 0, 0, 0,
- 1, 0, 0, 0, 1, 0,
- 0, 0, 10, 0, 16, 0,
- 0, 0, 0, 0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