123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410 |
- #if 0
- //
- // Generated by Microsoft (R) HLSL Shader Compiler 10.1
- //
- //
- // Buffer Definitions:
- //
- // cbuffer MatrixBuffer
- // {
- //
- // float4x4 knochenMatrix[128]; // Offset: 0 Size: 8192
- //
- // }
- //
- // cbuffer Kamera
- // {
- //
- // float4x4 view; // Offset: 0 Size: 64
- // float4x4 projection; // Offset: 64 Size: 64
- //
- // }
- //
- //
- // Resource Bindings:
- //
- // Name Type Format Dim HLSL Bind Count
- // ------------------------------ ---------- ------- ----------- -------------- ------
- // MatrixBuffer cbuffer NA NA cb0 1
- // Kamera cbuffer NA NA cb1 1
- //
- //
- //
- // Input signature:
- //
- // Name Index Mask Register SysValue Format Used
- // -------------------- ----- ------ -------- -------- ------- ------
- // POSITION 0 xyzw 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
- // VERTEX_ID 0 x 4 NONE uint
- //
- //
- // 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
- // TEXCOORD 1 xyz 3 NONE float xyz
- //
- vs_5_0
- dcl_globalFlags refactoringAllowed
- dcl_constantbuffer CB0[512], dynamicIndexed
- dcl_constantbuffer CB1[8], immediateIndexed
- 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
- mov r0.xyz, v0.xyzx
- mov r0.w, l(1.000000)
- ishl r1.x, v3.x, l(2)
- dp4 r2.x, r0.xyzw, cb0[r1.x + 0].xyzw
- dp4 r2.y, r0.xyzw, cb0[r1.x + 1].xyzw
- dp4 r2.z, r0.xyzw, cb0[r1.x + 2].xyzw
- dp4 r2.w, r0.xyzw, cb0[r1.x + 3].xyzw
- mov o0.xyzw, r2.xyzw
- dp4 r0.x, r2.xyzw, cb1[0].xyzw
- dp4 r0.y, r2.xyzw, cb1[1].xyzw
- dp4 r0.z, r2.xyzw, cb1[2].xyzw
- dp4 r0.w, r2.xyzw, cb1[3].xyzw
- dp4 o1.x, r0.xyzw, cb1[4].xyzw
- dp4 o1.y, r0.xyzw, cb1[5].xyzw
- dp4 o1.z, r0.xyzw, cb1[6].xyzw
- dp4 o1.w, r0.xyzw, cb1[7].xyzw
- mov o2.xy, v1.xyxx
- dp3 r0.x, v2.xyzx, cb0[r1.x + 0].xyzx
- dp3 r0.y, v2.xyzx, cb0[r1.x + 1].xyzx
- dp3 r0.z, v2.xyzx, cb0[r1.x + 2].xyzx
- dp3 r0.w, r0.xyzx, r0.xyzx
- rsq r0.w, r0.w
- mul o3.xyz, r0.wwww, r0.xyzx
- ret
- // Approximately 24 instruction slots used
- #endif
- const BYTE UIVertexShader[] =
- {
- 68, 88, 66, 67, 145, 178,
- 205, 52, 223, 143, 151, 116,
- 78, 112, 177, 241, 7, 115,
- 203, 22, 1, 0, 0, 0,
- 96, 7, 0, 0, 5, 0,
- 0, 0, 52, 0, 0, 0,
- 16, 2, 0, 0, 200, 2,
- 0, 0, 88, 3, 0, 0,
- 196, 6, 0, 0, 82, 68,
- 69, 70, 212, 1, 0, 0,
- 2, 0, 0, 0, 144, 0,
- 0, 0, 2, 0, 0, 0,
- 60, 0, 0, 0, 0, 5,
- 254, 255, 0, 1, 0, 0,
- 171, 1, 0, 0, 82, 68,
- 49, 49, 60, 0, 0, 0,
- 24, 0, 0, 0, 32, 0,
- 0, 0, 40, 0, 0, 0,
- 36, 0, 0, 0, 12, 0,
- 0, 0, 0, 0, 0, 0,
- 124, 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, 1, 0,
- 0, 0, 137, 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,
- 1, 0, 0, 0, 77, 97,
- 116, 114, 105, 120, 66, 117,
- 102, 102, 101, 114, 0, 75,
- 97, 109, 101, 114, 97, 0,
- 124, 0, 0, 0, 1, 0,
- 0, 0, 192, 0, 0, 0,
- 0, 32, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 137, 0, 0, 0, 2, 0,
- 0, 0, 36, 1, 0, 0,
- 128, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 232, 0, 0, 0, 0, 0,
- 0, 0, 0, 32, 0, 0,
- 2, 0, 0, 0, 0, 1,
- 0, 0, 0, 0, 0, 0,
- 255, 255, 255, 255, 0, 0,
- 0, 0, 255, 255, 255, 255,
- 0, 0, 0, 0, 107, 110,
- 111, 99, 104, 101, 110, 77,
- 97, 116, 114, 105, 120, 0,
- 102, 108, 111, 97, 116, 52,
- 120, 52, 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,
- 246, 0, 0, 0, 116, 1,
- 0, 0, 0, 0, 0, 0,
- 64, 0, 0, 0, 2, 0,
- 0, 0, 124, 1, 0, 0,
- 0, 0, 0, 0, 255, 255,
- 255, 255, 0, 0, 0, 0,
- 255, 255, 255, 255, 0, 0,
- 0, 0, 160, 1, 0, 0,
- 64, 0, 0, 0, 64, 0,
- 0, 0, 2, 0, 0, 0,
- 124, 1, 0, 0, 0, 0,
- 0, 0, 255, 255, 255, 255,
- 0, 0, 0, 0, 255, 255,
- 255, 255, 0, 0, 0, 0,
- 118, 105, 101, 119, 0, 171,
- 171, 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, 246, 0,
- 0, 0, 112, 114, 111, 106,
- 101, 99, 116, 105, 111, 110,
- 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, 171,
- 73, 83, 71, 78, 176, 0,
- 0, 0, 5, 0, 0, 0,
- 8, 0, 0, 0, 128, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 0, 0, 0, 0,
- 15, 7, 0, 0, 137, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 1, 0, 0, 0,
- 3, 3, 0, 0, 146, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 2, 0, 0, 0,
- 7, 7, 0, 0, 153, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 1, 0,
- 0, 0, 3, 0, 0, 0,
- 1, 1, 0, 0, 164, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 1, 0,
- 0, 0, 4, 0, 0, 0,
- 1, 0, 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, 86, 69,
- 82, 84, 69, 88, 95, 73,
- 68, 0, 171, 171, 79, 83,
- 71, 78, 136, 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, 125, 0, 0, 0,
- 1, 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, 171, 171, 83, 72,
- 69, 88, 100, 3, 0, 0,
- 80, 0, 1, 0, 217, 0,
- 0, 0, 106, 8, 0, 1,
- 89, 8, 0, 4, 70, 142,
- 32, 0, 0, 0, 0, 0,
- 0, 2, 0, 0, 89, 0,
- 0, 4, 70, 142, 32, 0,
- 1, 0, 0, 0, 8, 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, 54, 0, 0, 5,
- 114, 0, 16, 0, 0, 0,
- 0, 0, 70, 18, 16, 0,
- 0, 0, 0, 0, 54, 0,
- 0, 5, 130, 0, 16, 0,
- 0, 0, 0, 0, 1, 64,
- 0, 0, 0, 0, 128, 63,
- 41, 0, 0, 7, 18, 0,
- 16, 0, 1, 0, 0, 0,
- 10, 16, 16, 0, 3, 0,
- 0, 0, 1, 64, 0, 0,
- 2, 0, 0, 0, 17, 0,
- 0, 9, 18, 0, 16, 0,
- 2, 0, 0, 0, 70, 14,
- 16, 0, 0, 0, 0, 0,
- 70, 142, 32, 4, 0, 0,
- 0, 0, 10, 0, 16, 0,
- 1, 0, 0, 0, 17, 0,
- 0, 10, 34, 0, 16, 0,
- 2, 0, 0, 0, 70, 14,
- 16, 0, 0, 0, 0, 0,
- 70, 142, 32, 6, 0, 0,
- 0, 0, 1, 0, 0, 0,
- 10, 0, 16, 0, 1, 0,
- 0, 0, 17, 0, 0, 10,
- 66, 0, 16, 0, 2, 0,
- 0, 0, 70, 14, 16, 0,
- 0, 0, 0, 0, 70, 142,
- 32, 6, 0, 0, 0, 0,
- 2, 0, 0, 0, 10, 0,
- 16, 0, 1, 0, 0, 0,
- 17, 0, 0, 10, 130, 0,
- 16, 0, 2, 0, 0, 0,
- 70, 14, 16, 0, 0, 0,
- 0, 0, 70, 142, 32, 6,
- 0, 0, 0, 0, 3, 0,
- 0, 0, 10, 0, 16, 0,
- 1, 0, 0, 0, 54, 0,
- 0, 5, 242, 32, 16, 0,
- 0, 0, 0, 0, 70, 14,
- 16, 0, 2, 0, 0, 0,
- 17, 0, 0, 8, 18, 0,
- 16, 0, 0, 0, 0, 0,
- 70, 14, 16, 0, 2, 0,
- 0, 0, 70, 142, 32, 0,
- 1, 0, 0, 0, 0, 0,
- 0, 0, 17, 0, 0, 8,
- 34, 0, 16, 0, 0, 0,
- 0, 0, 70, 14, 16, 0,
- 2, 0, 0, 0, 70, 142,
- 32, 0, 1, 0, 0, 0,
- 1, 0, 0, 0, 17, 0,
- 0, 8, 66, 0, 16, 0,
- 0, 0, 0, 0, 70, 14,
- 16, 0, 2, 0, 0, 0,
- 70, 142, 32, 0, 1, 0,
- 0, 0, 2, 0, 0, 0,
- 17, 0, 0, 8, 130, 0,
- 16, 0, 0, 0, 0, 0,
- 70, 14, 16, 0, 2, 0,
- 0, 0, 70, 142, 32, 0,
- 1, 0, 0, 0, 3, 0,
- 0, 0, 17, 0, 0, 8,
- 18, 32, 16, 0, 1, 0,
- 0, 0, 70, 14, 16, 0,
- 0, 0, 0, 0, 70, 142,
- 32, 0, 1, 0, 0, 0,
- 4, 0, 0, 0, 17, 0,
- 0, 8, 34, 32, 16, 0,
- 1, 0, 0, 0, 70, 14,
- 16, 0, 0, 0, 0, 0,
- 70, 142, 32, 0, 1, 0,
- 0, 0, 5, 0, 0, 0,
- 17, 0, 0, 8, 66, 32,
- 16, 0, 1, 0, 0, 0,
- 70, 14, 16, 0, 0, 0,
- 0, 0, 70, 142, 32, 0,
- 1, 0, 0, 0, 6, 0,
- 0, 0, 17, 0, 0, 8,
- 130, 32, 16, 0, 1, 0,
- 0, 0, 70, 14, 16, 0,
- 0, 0, 0, 0, 70, 142,
- 32, 0, 1, 0, 0, 0,
- 7, 0, 0, 0, 54, 0,
- 0, 5, 50, 32, 16, 0,
- 2, 0, 0, 0, 70, 16,
- 16, 0, 1, 0, 0, 0,
- 16, 0, 0, 9, 18, 0,
- 16, 0, 0, 0, 0, 0,
- 70, 18, 16, 0, 2, 0,
- 0, 0, 70, 130, 32, 4,
- 0, 0, 0, 0, 10, 0,
- 16, 0, 1, 0, 0, 0,
- 16, 0, 0, 10, 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