Skip to content

Commit

Permalink
Add d3d11 shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Oct 28, 2024
1 parent 2976b86 commit 7741273
Show file tree
Hide file tree
Showing 3 changed files with 1,422 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/testgputext/shaders/dxbc50.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "shader.vert.sm50.dxbc.h"
#include "shader.frag.sm50.dxbc.h"
100 changes: 100 additions & 0 deletions examples/testgputext/shaders/shader.frag.sm50.dxbc.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
static const signed char shader_frag_sm50_dxbc[] =
{
68, 88, 66, 67, -1, 20,
65, 76, -24, -32, -71, 65,
93, 71,-103, -84, -31, -14,
-22, 35, 1, 0, 0, 0,
64, 2, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
-120, 0, 0, 0, -68, 0,
0, 0, 104, 1, 0, 0,
73, 83, 71, 78, 80, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, -85, -85, -85, 84, 69,
88, 67, 79, 79, 82, 68,
0, -85, -85, -85, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
-85, -85, 82, 68, 69, 70,
-92, 0, 0, 0, 0, 0,
0, 0,-112, 0, 0, 0,
2, 0, 0, 0, 60, 0,
0, 0, 0, 5, -1, -1,
0, 0, 0, 0,-112, 0,
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, 3, 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,
-116, 0, 0, 0, 2, 0,
0, 0, 5, 0, 0, 0,
4, 0, 0, 0, -1, -1,
-1, -1, 0, 0, 0, 0,
1, 0, 0, 0, 12, 0,
0, 0, 95, 95, 49, 54,
95, 115, 97, 109, 112, 108,
101, 114, 0, -85, -85, -85,
95, 49, 54, 0, 118, 107,
100, 51, 100, 45, 115, 104,
97, 100, 101, 114, 32, 49,
46, 49, 48, 0, -85, -85,
83, 72, 68, 82, -48, 0,
0, 0, 80, 0, 0, 0,
52, 0, 0, 0, 90, 0,
0, 3, 0, 96, 16, 0,
0, 0, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
0, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
-14, 16, 16, 0, 0, 0,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
-14, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 54, 0,
0, 5, 50, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
54, 0, 0, 5, -14, 0,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 69, 0, 0, 9,
-14, 0, 16, 0, 0, 0,
0, 0, 70, 0, 16, 0,
0, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
-14, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
1, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, -14, 32,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1

};
Loading

0 comments on commit 7741273

Please sign in to comment.