Skip to content

Commit 2901f62

Browse files
committed
[shaders] embed shaders in le_2d, le_imgui
make le_2d and le_imgui self-contained by embedding their shaders into their source code as precompiled spir-v. Move shader source files into respective modules; add README.md telling you how to compile shaders using ./compile_shaders.sh script.
1 parent 3b94911 commit 2901f62

File tree

11 files changed

+194
-57
lines changed

11 files changed

+194
-57
lines changed

modules/le_2d/le_2d.cpp

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
#include "le_tessellator.h"
2424
#include "le_path.h"
2525

26+
namespace {
27+
#include "shaders/2d_primitives_frag.h"
28+
#include "shaders/2d_primitives_vert.h"
29+
} // namespace
30+
2631
using vec2f = glm::vec2;
2732
using StrokeCapType = le_2d_api::StrokeCapType;
2833
using StrokeJoinType = le_2d_api::StrokeJoinType;
@@ -657,8 +662,18 @@ static void le_2d_draw_primitives( le_2d_o* self ) {
657662
} else {
658663
auto* pm = encoder.getPipelineManager();
659664

660-
static auto vert = LeShaderModuleBuilder( pm ).setSourceFilePath( "./resources/shaders/2d_primitives.vert" ).setShaderStage( le::ShaderStage::eVertex ).setHandle( LE_SHADER_MODULE_HANDLE( "2d_primitives_shader_vert" ) ).build();
661-
static auto frag = LeShaderModuleBuilder( pm ).setSourceFilePath( "./resources/shaders/2d_primitives.frag" ).setShaderStage( le::ShaderStage::eFragment ).setHandle( LE_SHADER_MODULE_HANDLE( "2d_primitives_shader_frag" ) ).build();
665+
static auto vert =
666+
LeShaderModuleBuilder( pm )
667+
.setSpirvCode( SPIRV_SOURCE_2D_PRIMITIVES_VERT, sizeof( SPIRV_SOURCE_2D_PRIMITIVES_VERT ) / sizeof( uint32_t ) )
668+
.setShaderStage( le::ShaderStage::eVertex )
669+
.setHandle( LE_SHADER_MODULE_HANDLE( "2d_primitives_shader_vert" ) )
670+
.build();
671+
static auto frag =
672+
LeShaderModuleBuilder( pm )
673+
.setSpirvCode( SPIRV_SOURCE_2D_PRIMITIVES_FRAG, sizeof( SPIRV_SOURCE_2D_PRIMITIVES_FRAG ) / sizeof( uint32_t ) )
674+
.setShaderStage( le::ShaderStage::eFragment )
675+
.setHandle( LE_SHADER_MODULE_HANDLE( "2d_primitives_shader_frag" ) )
676+
.build();
662677

663678
// clang-format off
664679
static auto pipeline =
@@ -680,7 +695,7 @@ static void le_2d_draw_primitives( le_2d_o* self ) {
680695
.end()
681696
.end()
682697
.withRasterizationState()
683-
.setPolygonMode(le::PolygonMode::eLine)
698+
.setPolygonMode(le::PolygonMode::eFill)
684699
// .setCullMode(le::CullModeFlagBits::eBack)
685700
.setFrontFace(le::FrontFace::eCounterClockwise)
686701
.end()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ void main()
1616
{
1717
outFragColor = inColor;
1818
//* texture( tex_unit_0, inTexCoord.st);
19-
// outFragColor = vec4(1) ;//* texture( tex_unit_0, inTexCoord.st);
19+
// outFragColor = vec4(1) * texture( tex_unit_0, inTexCoord.st);
2020
// outFragColor = vec4(inTexCoord.xy, 0,1);//* texture( tex_unit_0, inTexCoord.st);
2121
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// 1114.0.0
2+
#pragma once
3+
const uint32_t SPIRV_SOURCE_2D_PRIMITIVES_FRAG[] = {
4+
0x07230203,0x00010000,0x0008000b,0x00000010,0x00000000,0x00020011,0x00000001,0x0006000b,
5+
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
6+
0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000009,0x0000000b,0x0000000f,
7+
0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00090004,0x415f4c47,
8+
0x735f4252,0x72617065,0x5f657461,0x64616873,0x6f5f7265,0x63656a62,0x00007374,0x00090004,
9+
0x415f4c47,0x735f4252,0x69646168,0x6c5f676e,0x75676e61,0x5f656761,0x70303234,0x006b6361,
10+
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00060005,0x00000009,0x4674756f,0x43676172,
11+
0x726f6c6f,0x00000000,0x00040005,0x0000000b,0x6f436e69,0x00726f6c,0x00050005,0x0000000f,
12+
0x65546e69,0x6f6f4378,0x00006472,0x00040047,0x00000009,0x0000001e,0x00000000,0x00040047,
13+
0x0000000b,0x0000001e,0x00000000,0x00040047,0x0000000f,0x0000001e,0x00000001,0x00020013,
14+
0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,
15+
0x00000007,0x00000006,0x00000004,0x00040020,0x00000008,0x00000003,0x00000007,0x0004003b,
16+
0x00000008,0x00000009,0x00000003,0x00040020,0x0000000a,0x00000001,0x00000007,0x0004003b,
17+
0x0000000a,0x0000000b,0x00000001,0x00040017,0x0000000d,0x00000006,0x00000002,0x00040020,
18+
0x0000000e,0x00000001,0x0000000d,0x0004003b,0x0000000e,0x0000000f,0x00000001,0x00050036,
19+
0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003d,0x00000007,
20+
0x0000000c,0x0000000b,0x0003003e,0x00000009,0x0000000c,0x000100fd,0x00010038
21+
};
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
// 1114.0.0
2+
#pragma once
3+
const uint32_t SPIRV_SOURCE_2D_PRIMITIVES_VERT[] = {
4+
0x07230203,0x00010000,0x0008000b,0x00000058,0x00000000,0x00020011,0x00000001,0x0006000b,
5+
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
6+
0x000e000f,0x00000000,0x00000004,0x6e69616d,0x00000000,0x00000009,0x0000000b,0x00000012,
7+
0x0000002c,0x00000039,0x00000044,0x0000004e,0x00000055,0x00000057,0x00030003,0x00000002,
8+
0x000001c2,0x00090004,0x415f4c47,0x735f4252,0x72617065,0x5f657461,0x64616873,0x6f5f7265,
9+
0x63656a62,0x00007374,0x00090004,0x415f4c47,0x735f4252,0x69646168,0x6c5f676e,0x75676e61,
10+
0x5f656761,0x70303234,0x006b6361,0x00040005,0x00000004,0x6e69616d,0x00000000,0x00050005,
11+
0x00000009,0x5474756f,0x6f437865,0x0064726f,0x00050005,0x0000000b,0x65546e69,0x6f6f4378,
12+
0x00006472,0x00030005,0x0000000f,0x006c6f63,0x00040005,0x00000012,0x6f6c6f63,0x00000072,
13+
0x00050005,0x0000002c,0x4374756f,0x726f6c6f,0x00000000,0x00050005,0x00000030,0x6e617274,
14+
0x726f6673,0x0000006d,0x00050005,0x00000039,0x6e617274,0x74616c73,0x006e6f69,0x00060005,
15+
0x00000042,0x505f6c67,0x65567265,0x78657472,0x00000000,0x00060006,0x00000042,0x00000000,
16+
0x505f6c67,0x7469736f,0x006e6f69,0x00030005,0x00000044,0x00000000,0x00030005,0x00000046,
17+
0x0070764d,0x00040006,0x00000046,0x00000000,0x0070766d,0x00030005,0x00000048,0x00000000,
18+
0x00040005,0x0000004e,0x6f506e69,0x00000073,0x00040005,0x00000055,0x6c616373,0x00000065,
19+
0x00060005,0x00000057,0x61746f72,0x6e6f6974,0x7763635f,0x00000000,0x00040047,0x00000009,
20+
0x0000001e,0x00000001,0x00040047,0x0000000b,0x0000001e,0x00000001,0x00040047,0x00000012,
21+
0x0000001e,0x00000005,0x00040047,0x0000002c,0x0000001e,0x00000000,0x00040047,0x00000039,
22+
0x0000001e,0x00000002,0x00050048,0x00000042,0x00000000,0x0000000b,0x00000000,0x00030047,
23+
0x00000042,0x00000002,0x00040048,0x00000046,0x00000000,0x00000005,0x00050048,0x00000046,
24+
0x00000000,0x00000023,0x00000000,0x00050048,0x00000046,0x00000000,0x00000007,0x00000010,
25+
0x00030047,0x00000046,0x00000002,0x00040047,0x00000048,0x00000022,0x00000000,0x00040047,
26+
0x00000048,0x00000021,0x00000000,0x00040047,0x0000004e,0x0000001e,0x00000000,0x00040047,
27+
0x00000055,0x0000001e,0x00000003,0x00040047,0x00000057,0x0000001e,0x00000004,0x00020013,
28+
0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,
29+
0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000003,0x00000007,0x0004003b,
30+
0x00000008,0x00000009,0x00000003,0x00040020,0x0000000a,0x00000001,0x00000007,0x0004003b,
31+
0x0000000a,0x0000000b,0x00000001,0x00040017,0x0000000d,0x00000006,0x00000004,0x00040020,
32+
0x0000000e,0x00000007,0x0000000d,0x00040015,0x00000010,0x00000020,0x00000000,0x00040020,
33+
0x00000011,0x00000001,0x00000010,0x0004003b,0x00000011,0x00000012,0x00000001,0x00040015,
34+
0x00000014,0x00000020,0x00000001,0x0004002b,0x00000014,0x00000015,0x00000018,0x0004002b,
35+
0x00000010,0x00000017,0x000000ff,0x0004002b,0x00000014,0x0000001b,0x00000010,0x0004002b,
36+
0x00000014,0x00000020,0x00000008,0x0004002b,0x00000006,0x00000028,0x437f0000,0x00040020,
37+
0x0000002b,0x00000003,0x0000000d,0x0004003b,0x0000002b,0x0000002c,0x00000003,0x00040018,
38+
0x0000002e,0x0000000d,0x00000004,0x00040020,0x0000002f,0x00000007,0x0000002e,0x0004002b,
39+
0x00000006,0x00000031,0x3f800000,0x0004002b,0x00000006,0x00000032,0x00000000,0x0007002c,
40+
0x0000000d,0x00000033,0x00000031,0x00000032,0x00000032,0x00000032,0x0007002c,0x0000000d,
41+
0x00000034,0x00000032,0x00000031,0x00000032,0x00000032,0x0007002c,0x0000000d,0x00000035,
42+
0x00000032,0x00000032,0x00000031,0x00000032,0x0007002c,0x0000000d,0x00000036,0x00000032,
43+
0x00000032,0x00000032,0x00000031,0x0007002c,0x0000002e,0x00000037,0x00000033,0x00000034,
44+
0x00000035,0x00000036,0x0004002b,0x00000014,0x00000038,0x00000003,0x0004003b,0x0000000a,
45+
0x00000039,0x00000001,0x0004002b,0x00000010,0x0000003b,0x00000000,0x00040020,0x0000003c,
46+
0x00000007,0x00000006,0x0004002b,0x00000010,0x0000003f,0x00000001,0x0003001e,0x00000042,
47+
0x0000000d,0x00040020,0x00000043,0x00000003,0x00000042,0x0004003b,0x00000043,0x00000044,
48+
0x00000003,0x0004002b,0x00000014,0x00000045,0x00000000,0x0003001e,0x00000046,0x0000002e,
49+
0x00040020,0x00000047,0x00000002,0x00000046,0x0004003b,0x00000047,0x00000048,0x00000002,
50+
0x00040020,0x00000049,0x00000002,0x0000002e,0x0004003b,0x0000000a,0x0000004e,0x00000001,
51+
0x0004003b,0x0000000a,0x00000055,0x00000001,0x00040020,0x00000056,0x00000001,0x00000006,
52+
0x0004003b,0x00000056,0x00000057,0x00000001,0x00050036,0x00000002,0x00000004,0x00000000,
53+
0x00000003,0x000200f8,0x00000005,0x0004003b,0x0000000e,0x0000000f,0x00000007,0x0004003b,
54+
0x0000002f,0x00000030,0x00000007,0x0004003d,0x00000007,0x0000000c,0x0000000b,0x0003003e,
55+
0x00000009,0x0000000c,0x0004003d,0x00000010,0x00000013,0x00000012,0x000500c2,0x00000010,
56+
0x00000016,0x00000013,0x00000015,0x000500c7,0x00000010,0x00000018,0x00000016,0x00000017,
57+
0x00040070,0x00000006,0x00000019,0x00000018,0x0004003d,0x00000010,0x0000001a,0x00000012,
58+
0x000500c2,0x00000010,0x0000001c,0x0000001a,0x0000001b,0x000500c7,0x00000010,0x0000001d,
59+
0x0000001c,0x00000017,0x00040070,0x00000006,0x0000001e,0x0000001d,0x0004003d,0x00000010,
60+
0x0000001f,0x00000012,0x000500c2,0x00000010,0x00000021,0x0000001f,0x00000020,0x000500c7,
61+
0x00000010,0x00000022,0x00000021,0x00000017,0x00040070,0x00000006,0x00000023,0x00000022,
62+
0x0004003d,0x00000010,0x00000024,0x00000012,0x000500c7,0x00000010,0x00000025,0x00000024,
63+
0x00000017,0x00040070,0x00000006,0x00000026,0x00000025,0x00070050,0x0000000d,0x00000027,
64+
0x00000019,0x0000001e,0x00000023,0x00000026,0x00070050,0x0000000d,0x00000029,0x00000028,
65+
0x00000028,0x00000028,0x00000028,0x00050088,0x0000000d,0x0000002a,0x00000027,0x00000029,
66+
0x0003003e,0x0000000f,0x0000002a,0x0004003d,0x0000000d,0x0000002d,0x0000000f,0x0003003e,
67+
0x0000002c,0x0000002d,0x0003003e,0x00000030,0x00000037,0x0004003d,0x00000007,0x0000003a,
68+
0x00000039,0x00060041,0x0000003c,0x0000003d,0x00000030,0x00000038,0x0000003b,0x00050051,
69+
0x00000006,0x0000003e,0x0000003a,0x00000000,0x0003003e,0x0000003d,0x0000003e,0x00060041,
70+
0x0000003c,0x00000040,0x00000030,0x00000038,0x0000003f,0x00050051,0x00000006,0x00000041,
71+
0x0000003a,0x00000001,0x0003003e,0x00000040,0x00000041,0x00050041,0x00000049,0x0000004a,
72+
0x00000048,0x00000045,0x0004003d,0x0000002e,0x0000004b,0x0000004a,0x0004003d,0x0000002e,
73+
0x0000004c,0x00000030,0x00050092,0x0000002e,0x0000004d,0x0000004b,0x0000004c,0x0004003d,
74+
0x00000007,0x0000004f,0x0000004e,0x00050051,0x00000006,0x00000050,0x0000004f,0x00000000,
75+
0x00050051,0x00000006,0x00000051,0x0000004f,0x00000001,0x00070050,0x0000000d,0x00000052,
76+
0x00000050,0x00000051,0x00000032,0x00000031,0x00050091,0x0000000d,0x00000053,0x0000004d,
77+
0x00000052,0x00050041,0x0000002b,0x00000054,0x00000044,0x00000045,0x0003003e,0x00000054,
78+
0x00000053,0x000100fd,0x00010038
79+
};

modules/le_imgui/imgui_frag.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// 1114.0.0
2+
#pragma once
3+
const uint32_t SPIRV_SOURCE_IMGUI_FRAG[] = {
4+
0x07230203,0x00010000,0x0008000b,0x00000018,0x00000000,0x00020011,0x00000001,0x0006000b,
5+
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
6+
0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000009,0x0000000b,0x00000014,
7+
0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00090004,0x415f4c47,
8+
0x735f4252,0x72617065,0x5f657461,0x64616873,0x6f5f7265,0x63656a62,0x00007374,0x00090004,
9+
0x415f4c47,0x735f4252,0x69646168,0x6c5f676e,0x75676e61,0x5f656761,0x70303234,0x006b6361,
10+
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00060005,0x00000009,0x4674756f,0x43676172,
11+
0x726f6c6f,0x00000000,0x00040005,0x0000000b,0x6f436e69,0x00726f6c,0x00050005,0x00000010,
12+
0x5f786574,0x74696e75,0x0000305f,0x00050005,0x00000014,0x65546e69,0x6f6f4378,0x00006472,
13+
0x00040047,0x00000009,0x0000001e,0x00000000,0x00040047,0x0000000b,0x0000001e,0x00000000,
14+
0x00040047,0x00000010,0x00000022,0x00000000,0x00040047,0x00000010,0x00000021,0x00000001,
15+
0x00040047,0x00000014,0x0000001e,0x00000001,0x00020013,0x00000002,0x00030021,0x00000003,
16+
0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,0x00000004,
17+
0x00040020,0x00000008,0x00000003,0x00000007,0x0004003b,0x00000008,0x00000009,0x00000003,
18+
0x00040020,0x0000000a,0x00000001,0x00000007,0x0004003b,0x0000000a,0x0000000b,0x00000001,
19+
0x00090019,0x0000000d,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,
20+
0x00000000,0x0003001b,0x0000000e,0x0000000d,0x00040020,0x0000000f,0x00000000,0x0000000e,
21+
0x0004003b,0x0000000f,0x00000010,0x00000000,0x00040017,0x00000012,0x00000006,0x00000002,
22+
0x00040020,0x00000013,0x00000001,0x00000012,0x0004003b,0x00000013,0x00000014,0x00000001,
23+
0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003d,
24+
0x00000007,0x0000000c,0x0000000b,0x0004003d,0x0000000e,0x00000011,0x00000010,0x0004003d,
25+
0x00000012,0x00000015,0x00000014,0x00050057,0x00000007,0x00000016,0x00000011,0x00000015,
26+
0x00050085,0x00000007,0x00000017,0x0000000c,0x00000016,0x0003003e,0x00000009,0x00000017,
27+
0x000100fd,0x00010038
28+
};

modules/le_imgui/imgui_vert.h

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// 1114.0.0
2+
#pragma once
3+
const uint32_t SPIRV_SOURCE_IMGUI_VERT[] = {
4+
0x07230203,0x00010000,0x0008000b,0x00000028,0x00000000,0x00020011,0x00000001,0x0006000b,
5+
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
6+
0x000b000f,0x00000000,0x00000004,0x6e69616d,0x00000000,0x00000009,0x0000000b,0x0000000f,
7+
0x00000011,0x00000015,0x0000001f,0x00030003,0x00000002,0x000001c2,0x00090004,0x415f4c47,
8+
0x735f4252,0x72617065,0x5f657461,0x64616873,0x6f5f7265,0x63656a62,0x00007374,0x00090004,
9+
0x415f4c47,0x735f4252,0x69646168,0x6c5f676e,0x75676e61,0x5f656761,0x70303234,0x006b6361,
10+
0x00040005,0x00000004,0x6e69616d,0x00000000,0x00050005,0x00000009,0x5474756f,0x6f437865,
11+
0x0064726f,0x00050005,0x0000000b,0x65546e69,0x6f6f4378,0x00006472,0x00050005,0x0000000f,
12+
0x4374756f,0x726f6c6f,0x00000000,0x00040005,0x00000011,0x6f436e69,0x00726f6c,0x00060005,
13+
0x00000013,0x505f6c67,0x65567265,0x78657472,0x00000000,0x00060006,0x00000013,0x00000000,
14+
0x505f6c67,0x7469736f,0x006e6f69,0x00030005,0x00000015,0x00000000,0x00030005,0x00000019,
15+
0x0070764d,0x000a0006,0x00000019,0x00000000,0x65646f6d,0x6569566c,0x6f725077,0x7463656a,
16+
0x4d6e6f69,0x69727461,0x00000078,0x00030005,0x0000001b,0x00000000,0x00040005,0x0000001f,
17+
0x6f506e69,0x00000073,0x00040047,0x00000009,0x0000001e,0x00000001,0x00040047,0x0000000b,
18+
0x0000001e,0x00000001,0x00040047,0x0000000f,0x0000001e,0x00000000,0x00040047,0x00000011,
19+
0x0000001e,0x00000002,0x00050048,0x00000013,0x00000000,0x0000000b,0x00000000,0x00030047,
20+
0x00000013,0x00000002,0x00040048,0x00000019,0x00000000,0x00000005,0x00050048,0x00000019,
21+
0x00000000,0x00000023,0x00000000,0x00050048,0x00000019,0x00000000,0x00000007,0x00000010,
22+
0x00030047,0x00000019,0x00000002,0x00040047,0x0000001b,0x00000022,0x00000000,0x00040047,
23+
0x0000001b,0x00000021,0x00000000,0x00040047,0x0000001f,0x0000001e,0x00000000,0x00020013,
24+
0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,
25+
0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000003,0x00000007,0x0004003b,
26+
0x00000008,0x00000009,0x00000003,0x00040020,0x0000000a,0x00000001,0x00000007,0x0004003b,
27+
0x0000000a,0x0000000b,0x00000001,0x00040017,0x0000000d,0x00000006,0x00000004,0x00040020,
28+
0x0000000e,0x00000003,0x0000000d,0x0004003b,0x0000000e,0x0000000f,0x00000003,0x00040020,
29+
0x00000010,0x00000001,0x0000000d,0x0004003b,0x00000010,0x00000011,0x00000001,0x0003001e,
30+
0x00000013,0x0000000d,0x00040020,0x00000014,0x00000003,0x00000013,0x0004003b,0x00000014,
31+
0x00000015,0x00000003,0x00040015,0x00000016,0x00000020,0x00000001,0x0004002b,0x00000016,
32+
0x00000017,0x00000000,0x00040018,0x00000018,0x0000000d,0x00000004,0x0003001e,0x00000019,
33+
0x00000018,0x00040020,0x0000001a,0x00000002,0x00000019,0x0004003b,0x0000001a,0x0000001b,
34+
0x00000002,0x00040020,0x0000001c,0x00000002,0x00000018,0x0004003b,0x0000000a,0x0000001f,
35+
0x00000001,0x0004002b,0x00000006,0x00000021,0x00000000,0x0004002b,0x00000006,0x00000022,
36+
0x3f800000,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
37+
0x0004003d,0x00000007,0x0000000c,0x0000000b,0x0003003e,0x00000009,0x0000000c,0x0004003d,
38+
0x0000000d,0x00000012,0x00000011,0x0003003e,0x0000000f,0x00000012,0x00050041,0x0000001c,
39+
0x0000001d,0x0000001b,0x00000017,0x0004003d,0x00000018,0x0000001e,0x0000001d,0x0004003d,
40+
0x00000007,0x00000020,0x0000001f,0x00050051,0x00000006,0x00000023,0x00000020,0x00000000,
41+
0x00050051,0x00000006,0x00000024,0x00000020,0x00000001,0x00070050,0x0000000d,0x00000025,
42+
0x00000023,0x00000024,0x00000021,0x00000022,0x00050091,0x0000000d,0x00000026,0x0000001e,
43+
0x00000025,0x00050041,0x0000000e,0x00000027,0x00000015,0x00000017,0x0003003e,0x00000027,
44+
0x00000026,0x000100fd,0x00010038
45+
};

modules/le_imgui/shaders/imgui_frag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// 1113.1.1
1+
// 1114.0.0
22
#pragma once
33
const uint32_t SPIRV_SOURCE_IMGUI_FRAG[] = {
44
0x07230203,0x00010000,0x0008000b,0x00000018,0x00000000,0x00020011,0x00000001,0x0006000b,

modules/le_imgui/shaders/imgui_vert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// 1113.1.1
1+
// 1114.0.0
22
#pragma once
33
const uint32_t SPIRV_SOURCE_IMGUI_VERT[] = {
44
0x07230203,0x00010000,0x0008000b,0x00000028,0x00000000,0x00020011,0x00000001,0x0006000b,

resources/shaders/imgui.frag

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)