diff --git a/examples/02-metaballs/fs_metaballs.bin.h b/examples/02-metaballs/fs_metaballs.bin.h index 9ac5096e..45d5d653 100644 --- a/examples/02-metaballs/fs_metaballs.bin.h +++ b/examples/02-metaballs/fs_metaballs.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_metaballs_glsl[401] = { - 0x46, 0x53, 0x48, 0x02, 0x03, 0x2c, 0xf5, 0x3f, 0x00, 0x00, 0x82, 0x01, 0x00, 0x00, 0x76, 0x61, // FSH..,.?......va + 0x46, 0x53, 0x48, 0x03, 0x03, 0x2c, 0xf5, 0x3f, 0x00, 0x00, 0x82, 0x01, 0x00, 0x00, 0x76, 0x61, // FSH..,.?......va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x61, 0x72, // c4 v_color0;.var 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, 0x63, // ying mediump vec @@ -29,7 +29,7 @@ static const uint8_t fs_metaballs_glsl[401] = }; static const uint8_t fs_metaballs_dx9[429] = { - 0x46, 0x53, 0x48, 0x02, 0x03, 0x2c, 0xf5, 0x3f, 0x00, 0x00, 0xa0, 0x01, 0x00, 0x03, 0xff, 0xff, // FSH..,.?........ + 0x46, 0x53, 0x48, 0x03, 0x03, 0x2c, 0xf5, 0x3f, 0x00, 0x00, 0xa0, 0x01, 0x00, 0x03, 0xff, 0xff, // FSH..,.?........ 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -57,9 +57,9 @@ static const uint8_t fs_metaballs_dx9[429] = 0x0e, 0x00, 0x00, 0x02, 0x00, 0x08, 0x04, 0x80, 0x00, 0x00, 0xaa, 0x80, 0x01, 0x00, 0x00, 0x02, // ................ 0x00, 0x08, 0x08, 0x80, 0x00, 0x00, 0xff, 0xa0, 0xff, 0xff, 0x00, 0x00, 0x00, // ............. }; -static const uint8_t fs_metaballs_dx11[894] = +static const uint8_t fs_metaballs_dx11[880] = { - 0x46, 0x53, 0x48, 0x02, 0x03, 0x2c, 0xf5, 0x3f, 0x00, 0x00, 0x60, 0x03, 0x44, 0x58, 0x42, 0x43, // FSH..,.?..`.DXBC + 0x46, 0x53, 0x48, 0x03, 0x03, 0x2c, 0xf5, 0x3f, 0x00, 0x00, 0x60, 0x03, 0x44, 0x58, 0x42, 0x43, // FSH..,.?..`.DXBC 0xb9, 0x51, 0x92, 0x02, 0x97, 0xf2, 0xba, 0xfc, 0x54, 0xc8, 0xab, 0x17, 0xb4, 0x61, 0x0b, 0x83, // .Q......T....a.. 0x01, 0x00, 0x00, 0x00, 0x60, 0x03, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....`.......4... 0x8c, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x34, 0x01, 0x00, 0x00, 0xe4, 0x02, 0x00, 0x00, // ........4....... @@ -114,5 +114,4 @@ static const uint8_t fs_metaballs_dx11[894] = 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .............. }; diff --git a/examples/02-metaballs/vs_metaballs.bin.h b/examples/02-metaballs/vs_metaballs.bin.h index eb850b6c..40084a0d 100644 --- a/examples/02-metaballs/vs_metaballs.bin.h +++ b/examples/02-metaballs/vs_metaballs.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_metaballs_glsl[553] = { - 0x56, 0x53, 0x48, 0x02, 0x03, 0x2c, 0xf5, 0x3f, 0x02, 0x00, 0x07, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..,.?...u_mod + 0x56, 0x53, 0x48, 0x03, 0x03, 0x2c, 0xf5, 0x3f, 0x02, 0x00, 0x07, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..,.?...u_mod 0x65, 0x6c, 0x09, 0x20, 0x00, 0x00, 0x20, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, // el. .. ..u_model 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, 0xf6, 0x01, // ViewProj........ 0x00, 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, // ..attribute medi @@ -38,7 +38,7 @@ static const uint8_t vs_metaballs_glsl[553] = }; static const uint8_t vs_metaballs_dx9[457] = { - 0x56, 0x53, 0x48, 0x02, 0x03, 0x2c, 0xf5, 0x3f, 0x02, 0x00, 0x07, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..,.?...u_mod + 0x56, 0x53, 0x48, 0x03, 0x03, 0x2c, 0xf5, 0x3f, 0x02, 0x00, 0x07, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..,.?...u_mod 0x65, 0x6c, 0x09, 0x20, 0x04, 0x00, 0x03, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, // el. .....u_model 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, 0x98, 0x01, // ViewProj........ 0x00, 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, // ........CTAB.... @@ -68,9 +68,9 @@ static const uint8_t vs_metaballs_dx9[457] = 0x01, 0x00, 0xaa, 0x90, 0x00, 0x00, 0xe4, 0x80, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, // ................ 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ......... }; -static const uint8_t vs_metaballs_dx11[1506] = +static const uint8_t vs_metaballs_dx11[1498] = { - 0x56, 0x53, 0x48, 0x02, 0x03, 0x2c, 0xf5, 0x3f, 0x02, 0x00, 0x07, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..,.?...u_mod + 0x56, 0x53, 0x48, 0x03, 0x03, 0x2c, 0xf5, 0x3f, 0x02, 0x00, 0x07, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..,.?...u_mod 0x65, 0x6c, 0x09, 0x20, 0xa0, 0x01, 0x80, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, // el. .....u_model 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x09, 0x04, 0x00, 0xa0, 0x05, // ViewProj........ 0x44, 0x58, 0x42, 0x43, 0xa5, 0x3e, 0x08, 0x72, 0x95, 0xb4, 0xc7, 0x93, 0x67, 0xbe, 0x53, 0x4c, // DXBC.>.r....g.SL @@ -163,6 +163,5 @@ static const uint8_t vs_metaballs_dx11[1506] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x30, 0x0a, // 0. + 0x00, 0x03, 0x05, 0x00, 0x02, 0x00, 0x01, 0x00, 0x30, 0x0a, // ........0. }; diff --git a/examples/04-mesh/makefile b/examples/04-mesh/makefile index 6ff014ef..90c11e95 100644 --- a/examples/04-mesh/makefile +++ b/examples/04-mesh/makefile @@ -9,11 +9,6 @@ BUILD_DIR=../../.build include $(BGFX_DIR)/premake/shader.mk -geometry: ../runtime/meshes/bunny.bin - -../runtime/meshes/bunny.bin: bunny.obj - ../../tools/bin/geometryc -f bunny.obj -o ../runtime/meshes/bunny.bin --packnormal 1 - rebuild: @make -s --no-print-directory TARGET=0 clean all @make -s --no-print-directory TARGET=1 clean all diff --git a/examples/12-lod/lod.cpp b/examples/12-lod/lod.cpp index ed8a1b05..3ceaa75c 100644 --- a/examples/12-lod/lod.cpp +++ b/examples/12-lod/lod.cpp @@ -171,7 +171,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) bgfx::setViewTransform(0, view, proj); float mtx[16]; - bx::mtxIdentity(mtx); + bx::mtxScale(mtx, 0.1f, 0.1f, 0.1f); float stipple[3]; float stippleInv[3]; diff --git a/examples/12-lod/makefile b/examples/12-lod/makefile index 6c1625bd..ca74b3d6 100644 --- a/examples/12-lod/makefile +++ b/examples/12-lod/makefile @@ -9,21 +9,6 @@ BUILD_DIR=../../.build include $(BGFX_DIR)/premake/shader.mk -GEOMETRY_SOURCES = \ - tree1b_lod0_1 \ - tree1b_lod0_2 \ - tree1b_lod1_1 \ - tree1b_lod1_2 \ - tree1b_lod2_1 \ - tree1b_lod2_2 - -GEOMETRY_BIN = $(addprefix ../runtime/meshes/, $(addsuffix .bin, $(basename $(GEOMETRY_SOURCES)))) - -geometry: $(GEOMETRY_BIN) - -../runtime/meshes/%.bin : %.obj - $(BGFX_DIR)/tools/bin/geometryc -f $(<) -o $(@) -s 0.1 --packnormal 1 - rebuild: @make -s --no-print-directory TARGET=0 clean all @make -s --no-print-directory TARGET=1 clean all diff --git a/examples/13-stencil/makefile b/examples/13-stencil/makefile index 97434769..15179e3f 100644 --- a/examples/13-stencil/makefile +++ b/examples/13-stencil/makefile @@ -9,11 +9,6 @@ BUILD_DIR=../../.build include $(BGFX_DIR)/premake/shader.mk -geometry: ../runtime/meshes/column.bin - -../runtime/meshes/column.bin: column.obj - ../../tools/bin/geometryc -f column.obj -o ../runtime/meshes/column.bin --packnormal 1 - rebuild: @make -s --no-print-directory TARGET=0 clean all @make -s --no-print-directory TARGET=1 clean all diff --git a/examples/13-stencil/stencil.cpp b/examples/13-stencil/stencil.cpp index 76499a6b..39ee78f5 100644 --- a/examples/13-stencil/stencil.cpp +++ b/examples/13-stencil/stencil.cpp @@ -60,11 +60,24 @@ struct PosNormalTexcoordVertex uint32_t m_normal; float m_u; float m_v; + + static void init() + { + ms_decl + .begin() + .add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float) + .add(bgfx::Attrib::Normal, 4, bgfx::AttribType::Uint8, true, true) + .add(bgfx::Attrib::TexCoord0, 2, bgfx::AttribType::Float) + .end(); + } + + static bgfx::VertexDecl ms_decl; }; +bgfx::VertexDecl PosNormalTexcoordVertex::ms_decl; + static const float s_texcoord = 5.0f; -static const uint32_t s_numHPlaneVertices = 4; -static PosNormalTexcoordVertex s_hplaneVertices[s_numHPlaneVertices] = +static PosNormalTexcoordVertex s_hplaneVertices[] = { { -1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f), s_texcoord, s_texcoord }, { 1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f), s_texcoord, 0.0f }, @@ -72,8 +85,7 @@ static PosNormalTexcoordVertex s_hplaneVertices[s_numHPlaneVertices] = { 1.0f, 0.0f, -1.0f, packF4u(0.0f, 1.0f, 0.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numVPlaneVertices = 4; -static PosNormalTexcoordVertex s_vplaneVertices[s_numVPlaneVertices] = +static PosNormalTexcoordVertex s_vplaneVertices[] = { { -1.0f, 1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 1.0f, 1.0f }, { 1.0f, 1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 1.0f, 0.0f }, @@ -81,8 +93,7 @@ static PosNormalTexcoordVertex s_vplaneVertices[s_numVPlaneVertices] = { 1.0f, -1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numCubeVertices = 24; -static const PosNormalTexcoordVertex s_cubeVertices[s_numCubeVertices] = +static const PosNormalTexcoordVertex s_cubeVertices[] = { { -1.0f, 1.0f, 1.0f, packF4u( 0.0f, 1.0f, 0.0f), 1.0f, 1.0f }, { 1.0f, 1.0f, 1.0f, packF4u( 0.0f, 1.0f, 0.0f), 0.0f, 1.0f }, @@ -110,8 +121,7 @@ static const PosNormalTexcoordVertex s_cubeVertices[s_numCubeVertices] = { -1.0f, -1.0f, 1.0f, packF4u(-1.0f, 0.0f, 0.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numCubeIndices = 36; -static const uint16_t s_cubeIndices[s_numCubeIndices] = +static const uint16_t s_cubeIndices[] = { 0, 1, 2, 1, 3, 2, @@ -129,8 +139,7 @@ static const uint16_t s_cubeIndices[s_numCubeIndices] = 21, 22, 23, }; -static const uint32_t s_numPlaneIndices = 6; -static const uint16_t s_planeIndices[s_numPlaneIndices] = +static const uint16_t s_planeIndices[] = { 0, 1, 2, 1, 3, 2, @@ -621,24 +630,6 @@ void clearViewMask(uint32_t _viewMask, uint8_t _flags, const ClearValues& _clear s_clearMask |= _viewMask; } -void submit(uint8_t _id, int32_t _depth = 0) -{ - // Submit - bgfx::submit(_id, _depth); - - // Keep track of submited view ids - s_viewMask |= 1 << _id; -} - -void submitMask(uint32_t _viewMask, int32_t _depth = 0) -{ - // Submit - bgfx::submitMask(_viewMask, _depth); - - // Keep track of submited view ids - s_viewMask |= _viewMask; -} - struct Aabb { float m_min[3]; @@ -692,6 +683,11 @@ struct Group PrimitiveArray m_prims; }; +namespace bgfx +{ + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); +} + struct Mesh { void load(const void* _vertices, uint32_t _numVertices, const bgfx::VertexDecl _decl @@ -720,8 +716,8 @@ struct Mesh void load(const char* _filePath) { -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) bx::CrtFileReader reader; @@ -740,7 +736,7 @@ struct Mesh bx::read(&reader, group.m_aabb); bx::read(&reader, group.m_obb); - bx::read(&reader, m_decl); + bgfx::read(&reader, m_decl); uint16_t stride = m_decl.getStride(); uint16_t numVertices; @@ -801,6 +797,7 @@ struct Mesh default: DBG("%08x at %d", chunk, reader.seek() ); + abort(); break; } } @@ -855,7 +852,10 @@ struct Mesh bgfx::setState(_renderState.m_state, _renderState.m_blendFactorRgba); // Submit - ::submit(_viewId); + bgfx::submit(_viewId); + + // Keep track of submited view ids + s_viewMask |= 1 << _viewId; } } @@ -913,12 +913,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) free(data); - bgfx::VertexDecl PosNormalTexcoordDecl; - PosNormalTexcoordDecl.begin(); - PosNormalTexcoordDecl.add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float); - PosNormalTexcoordDecl.add(bgfx::Attrib::Normal, 4, bgfx::AttribType::Uint8, true, true); - PosNormalTexcoordDecl.add(bgfx::Attrib::TexCoord0, 2, bgfx::AttribType::Float); - PosNormalTexcoordDecl.end(); + PosNormalTexcoordVertex::init(); s_uniforms.init(); s_uniforms.submitConstUniforms(); @@ -938,9 +933,9 @@ int _main_(int /*_argc*/, char** /*_argv*/) Mesh vplaneMesh; bunnyMesh.load("meshes/bunny.bin"); columnMesh.load("meshes/column.bin"); - cubeMesh.load(s_cubeVertices, s_numCubeVertices, PosNormalTexcoordDecl, s_cubeIndices, s_numCubeIndices); - hplaneMesh.load(s_hplaneVertices, s_numHPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); - vplaneMesh.load(s_vplaneVertices, s_numVPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); + cubeMesh.load(s_cubeVertices, BX_COUNTOF(s_cubeVertices), PosNormalTexcoordVertex::ms_decl, s_cubeIndices, BX_COUNTOF(s_cubeIndices) ); + hplaneMesh.load(s_hplaneVertices, BX_COUNTOF(s_hplaneVertices), PosNormalTexcoordVertex::ms_decl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); + vplaneMesh.load(s_vplaneVertices, BX_COUNTOF(s_vplaneVertices), PosNormalTexcoordVertex::ms_decl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); const bgfx::Memory* mem; @@ -954,8 +949,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) bgfx::TextureHandle fieldstoneTex = bgfx::createTexture(mem); // Setup lights. - const uint8_t colorCount = 5; - const float rgbInnerR[colorCount][4] = + const float rgbInnerR[][4] = { { 1.0f, 0.7f, 0.2f, 0.0f }, //yellow { 0.7f, 0.2f, 1.0f, 0.0f }, //purple @@ -967,7 +961,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) float lightRgbInnerR[MAX_NUM_LIGHTS][4]; for (uint8_t ii = 0, jj = 0; ii < MAX_NUM_LIGHTS; ++ii, ++jj) { - const uint8_t index = jj%colorCount; + const uint8_t index = jj%BX_COUNTOF(rgbInnerR); lightRgbInnerR[ii][0] = rgbInnerR[index][0]; lightRgbInnerR[ii][1] = rgbInnerR[index][1]; lightRgbInnerR[ii][2] = rgbInnerR[index][2]; @@ -1178,7 +1172,8 @@ int _main_(int /*_argc*/, char** /*_argv*/) // Make sure at the beginning everything gets cleared. clearView(0, BGFX_CLEAR_COLOR_BIT | BGFX_CLEAR_DEPTH_BIT | BGFX_CLEAR_STENCIL_BIT, clearValues); - submit(0); + bgfx::submit(0); + s_viewMask |= 1; // Bunny and columns color. s_uniforms.m_color[0] = 0.70f; diff --git a/examples/14-shadowvolumes/makefile b/examples/14-shadowvolumes/makefile index c122df28..5aa66e5b 100644 --- a/examples/14-shadowvolumes/makefile +++ b/examples/14-shadowvolumes/makefile @@ -9,13 +9,18 @@ BUILD_DIR=../../.build include $(BGFX_DIR)/premake/shader.mk -geometry: ../runtime/meshes/bunny_patched.bin ../runtime/meshes/bunny_decimated.bin +GEOMETRY_SRC= \ + bunny_patched \ + bunny_decimated \ + platform \ + cube -../runtime/meshes/bunny_patched.bin: bunny_patched.obj - ../../tools/bin/geometryc -f bunny_patched.obj -o ../runtime/meshes/bunny_patched.bin --packnormal 1 +GEOMETRY_BIN=$(addprefix $(RUNTIME_DIR)/meshes/, $(addsuffix .bin, $(basename $(GEOMETRY_SRC)))) -../runtime/meshes/bunny_decimated.bin: bunny_decimated.obj - ../../tools/bin/geometryc -f bunny_decimated.obj -o ../runtime/meshes/bunny_decimated.bin --packnormal 1 +geometry: $(GEOMETRY_BIN) + +$(RUNTIME_DIR)/meshes/%.bin : %.obj + $(SILENT) $(GEOMETRYC) -f $(<) -o $(@) --packnormal 1 rebuild: @make -s --no-print-directory TARGET=0 clean all diff --git a/examples/14-shadowvolumes/shadowvolumes.cpp b/examples/14-shadowvolumes/shadowvolumes.cpp index 338a922b..6391c07a 100644 --- a/examples/14-shadowvolumes/shadowvolumes.cpp +++ b/examples/14-shadowvolumes/shadowvolumes.cpp @@ -69,11 +69,24 @@ struct PosNormalTexcoordVertex uint32_t m_normal; float m_u; float m_v; + + static void init() + { + ms_decl + .begin() + .add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float) + .add(bgfx::Attrib::Normal, 4, bgfx::AttribType::Uint8, true, true) + .add(bgfx::Attrib::TexCoord0, 2, bgfx::AttribType::Float) + .end(); + } + + static bgfx::VertexDecl ms_decl; }; +bgfx::VertexDecl PosNormalTexcoordVertex::ms_decl; + static const float s_texcoord = 50.0f; -static const uint32_t s_numHPlaneVertices = 4; -static PosNormalTexcoordVertex s_hplaneVertices[s_numHPlaneVertices] = +static PosNormalTexcoordVertex s_hplaneVertices[] = { { -1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f), s_texcoord, s_texcoord }, { 1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f), s_texcoord, 0.0f }, @@ -81,8 +94,7 @@ static PosNormalTexcoordVertex s_hplaneVertices[s_numHPlaneVertices] = { 1.0f, 0.0f, -1.0f, packF4u(0.0f, 1.0f, 0.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numVPlaneVertices = 4; -static PosNormalTexcoordVertex s_vplaneVertices[s_numVPlaneVertices] = +static PosNormalTexcoordVertex s_vplaneVertices[] = { { -1.0f, 1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 1.0f, 1.0f }, { 1.0f, 1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 1.0f, 0.0f }, @@ -90,8 +102,7 @@ static PosNormalTexcoordVertex s_vplaneVertices[s_numVPlaneVertices] = { 1.0f, -1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numPlaneIndices = 6; -static const uint16_t s_planeIndices[s_numPlaneIndices] = +static const uint16_t s_planeIndices[] = { 0, 1, 2, 1, 3, 2, @@ -1028,6 +1039,11 @@ struct Group typedef std::vector GroupArray; +namespace bgfx +{ + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); +} + struct Mesh { void load(const void* _vertices, uint32_t _numVertices, const bgfx::VertexDecl _decl, const uint16_t* _indices, uint32_t _numIndices) @@ -1061,8 +1077,8 @@ struct Mesh void load(const char* _filePath) { -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) bx::CrtFileReader reader; @@ -1081,7 +1097,7 @@ struct Mesh bx::read(&reader, group.m_aabb); bx::read(&reader, group.m_obb); - bx::read(&reader, m_decl); + bgfx::read(&reader, m_decl); uint16_t stride = m_decl.getStride(); bx::read(&reader, group.m_numVertices); @@ -1145,6 +1161,7 @@ struct Mesh default: DBG("%08x at %d", chunk, reader.seek() ); + abort(); break; } } @@ -1936,12 +1953,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) free(data); - bgfx::VertexDecl PosNormalTexcoordDecl; - PosNormalTexcoordDecl.begin() - .add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float) - .add(bgfx::Attrib::Normal, 4, bgfx::AttribType::Uint8, true, true) - .add(bgfx::Attrib::TexCoord0, 2, bgfx::AttribType::Float) - .end(); + PosNormalTexcoordVertex::init(); s_uniforms.init(); s_uniforms.submitConstUniforms(); @@ -2045,15 +2057,15 @@ int _main_(int /*_argc*/, char** /*_argv*/) cubeModel.m_program = programTextureLightning; cubeModel.m_texture = figureTex; - hplaneFieldModel.load(s_hplaneVertices, s_numHPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); + hplaneFieldModel.load(s_hplaneVertices, BX_COUNTOF(s_hplaneVertices), PosNormalTexcoordVertex::ms_decl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); hplaneFieldModel.m_program = programTextureLightning; hplaneFieldModel.m_texture = fieldstoneTex; - hplaneFigureModel.load(s_hplaneVertices, s_numHPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); + hplaneFigureModel.load(s_hplaneVertices, BX_COUNTOF(s_hplaneVertices), PosNormalTexcoordVertex::ms_decl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); hplaneFigureModel.m_program = programTextureLightning; hplaneFigureModel.m_texture = figureTex; - vplaneModel.load(s_vplaneVertices, s_numVPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); + vplaneModel.load(s_vplaneVertices, BX_COUNTOF(s_vplaneVertices), PosNormalTexcoordVertex::ms_decl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); vplaneModel.m_program = programColorTexture; vplaneModel.m_texture = flareTex; @@ -2431,7 +2443,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) // Scene 0 - shadow casters - Columns. const float dist = 16.0f; - const float columnPositions[4][3] = + const float columnPositions[][3] = { { dist, 3.3f, dist }, { -dist, 3.3f, dist }, diff --git a/examples/15-shadowmaps-simple/makefile b/examples/15-shadowmaps-simple/makefile index 97434769..15179e3f 100644 --- a/examples/15-shadowmaps-simple/makefile +++ b/examples/15-shadowmaps-simple/makefile @@ -9,11 +9,6 @@ BUILD_DIR=../../.build include $(BGFX_DIR)/premake/shader.mk -geometry: ../runtime/meshes/column.bin - -../runtime/meshes/column.bin: column.obj - ../../tools/bin/geometryc -f column.obj -o ../runtime/meshes/column.bin --packnormal 1 - rebuild: @make -s --no-print-directory TARGET=0 clean all @make -s --no-print-directory TARGET=1 clean all diff --git a/examples/15-shadowmaps-simple/shadowmaps_simple.cpp b/examples/15-shadowmaps-simple/shadowmaps_simple.cpp index b63e281a..0681c00f 100644 --- a/examples/15-shadowmaps-simple/shadowmaps_simple.cpp +++ b/examples/15-shadowmaps-simple/shadowmaps_simple.cpp @@ -54,8 +54,7 @@ struct PosNormalVertex uint32_t m_normal; }; -static const uint32_t s_numHPlaneVertices = 4; -static PosNormalVertex s_hplaneVertices[s_numHPlaneVertices] = +static PosNormalVertex s_hplaneVertices[] = { { -1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f) }, { 1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f) }, @@ -63,8 +62,7 @@ static PosNormalVertex s_hplaneVertices[s_numHPlaneVertices] = { 1.0f, 0.0f, -1.0f, packF4u(0.0f, 1.0f, 0.0f) }, }; -static const uint32_t s_numPlaneIndices = 6; -static const uint16_t s_planeIndices[s_numPlaneIndices] = +static const uint16_t s_planeIndices[] = { 0, 1, 2, 1, 3, 2, @@ -184,7 +182,11 @@ struct Group Obb m_obb; PrimitiveArray m_prims; }; -; + +namespace bgfx +{ + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); +} struct Mesh { @@ -213,8 +215,8 @@ struct Mesh void load(const char* _filePath) { -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) bx::CrtFileReader reader; @@ -233,7 +235,7 @@ struct Mesh bx::read(&reader, group.m_aabb); bx::read(&reader, group.m_obb); - bx::read(&reader, m_decl); + bgfx::read(&reader, m_decl); uint16_t stride = m_decl.getStride(); uint16_t numVertices; @@ -437,7 +439,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) bunnyMesh.load("meshes/bunny.bin"); cubeMesh.load("meshes/cube.bin"); hollowcubeMesh.load("meshes/hollowcube.bin"); - hplaneMesh.load(s_hplaneVertices, s_numHPlaneVertices, PosNormalDecl, s_planeIndices, s_numPlaneIndices); + hplaneMesh.load(s_hplaneVertices, BX_COUNTOF(s_hplaneVertices), PosNormalDecl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); // Render targets. uint16_t shadowMapSize = 512; diff --git a/examples/16-shadowmaps/makefile b/examples/16-shadowmaps/makefile index 97434769..c484c18d 100644 --- a/examples/16-shadowmaps/makefile +++ b/examples/16-shadowmaps/makefile @@ -9,10 +9,16 @@ BUILD_DIR=../../.build include $(BGFX_DIR)/premake/shader.mk -geometry: ../runtime/meshes/column.bin +GEOMETRY_SRC= \ + tree \ + hollowcube -../runtime/meshes/column.bin: column.obj - ../../tools/bin/geometryc -f column.obj -o ../runtime/meshes/column.bin --packnormal 1 +GEOMETRY_BIN=$(addprefix $(RUNTIME_DIR)/meshes/, $(addsuffix .bin, $(basename $(GEOMETRY_SRC)))) + +geometry: $(GEOMETRY_BIN) + +$(RUNTIME_DIR)/meshes/%.bin : %.obj + $(SILENT) $(GEOMETRYC) -f $(<) -o $(@) --packnormal 1 rebuild: @make -s --no-print-directory TARGET=0 clean all diff --git a/examples/16-shadowmaps/shadowmaps.cpp b/examples/16-shadowmaps/shadowmaps.cpp index 20debe94..8dd04454 100644 --- a/examples/16-shadowmaps/shadowmaps.cpp +++ b/examples/16-shadowmaps/shadowmaps.cpp @@ -217,8 +217,7 @@ struct PosNormalTexcoordVertex }; static const float s_texcoord = 5.0f; -static const uint32_t s_numHPlaneVertices = 4; -static PosNormalTexcoordVertex s_hplaneVertices[s_numHPlaneVertices] = +static PosNormalTexcoordVertex s_hplaneVertices[] = { { -1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f), s_texcoord, s_texcoord }, { 1.0f, 0.0f, 1.0f, packF4u(0.0f, 1.0f, 0.0f), s_texcoord, 0.0f }, @@ -226,8 +225,7 @@ static PosNormalTexcoordVertex s_hplaneVertices[s_numHPlaneVertices] = { 1.0f, 0.0f, -1.0f, packF4u(0.0f, 1.0f, 0.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numVPlaneVertices = 4; -static PosNormalTexcoordVertex s_vplaneVertices[s_numVPlaneVertices] = +static PosNormalTexcoordVertex s_vplaneVertices[] = { { -1.0f, 1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 1.0f, 1.0f }, { 1.0f, 1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 1.0f, 0.0f }, @@ -235,8 +233,7 @@ static PosNormalTexcoordVertex s_vplaneVertices[s_numVPlaneVertices] = { 1.0f, -1.0f, 0.0f, packF4u(0.0f, 0.0f, -1.0f), 0.0f, 0.0f }, }; -static const uint32_t s_numPlaneIndices = 6; -static const uint16_t s_planeIndices[s_numPlaneIndices] = +static const uint16_t s_planeIndices[] = { 0, 1, 2, 1, 3, 2, @@ -941,6 +938,11 @@ struct Group PrimitiveArray m_prims; }; +namespace bgfx +{ + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); +} + struct Mesh { void load(const void* _vertices, uint32_t _numVertices, const bgfx::VertexDecl _decl, const uint16_t* _indices, uint32_t _numIndices) @@ -968,8 +970,8 @@ struct Mesh void load(const char* _filePath) { -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) bx::CrtFileReader reader; @@ -988,7 +990,7 @@ struct Mesh bx::read(&reader, group.m_aabb); bx::read(&reader, group.m_obb); - bx::read(&reader, m_decl); + bgfx::read(&reader, m_decl); uint16_t stride = m_decl.getStride(); uint16_t numVertices; @@ -1496,8 +1498,8 @@ int _main_(int /*_argc*/, char** /*_argv*/) treeMesh.load("meshes/tree.bin"); cubeMesh.load("meshes/cube.bin"); hollowcubeMesh.load("meshes/hollowcube.bin"); - hplaneMesh.load(s_hplaneVertices, s_numHPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); - vplaneMesh.load(s_vplaneVertices, s_numVPlaneVertices, PosNormalTexcoordDecl, s_planeIndices, s_numPlaneIndices); + hplaneMesh.load(s_hplaneVertices, BX_COUNTOF(s_hplaneVertices), PosNormalTexcoordDecl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); + vplaneMesh.load(s_vplaneVertices, BX_COUNTOF(s_vplaneVertices), PosNormalTexcoordDecl, s_planeIndices, BX_COUNTOF(s_planeIndices) ); // Materials. Material defaultMaterial = diff --git a/examples/17-drawstress/drawstress.cpp b/examples/17-drawstress/drawstress.cpp index c71e9079..8acf72f0 100644 --- a/examples/17-drawstress/drawstress.cpp +++ b/examples/17-drawstress/drawstress.cpp @@ -99,7 +99,7 @@ bgfx::ProgramHandle program; bgfx::VertexBufferHandle vbh; bgfx::IndexBufferHandle ibh; -bool mainloop() +BX_NO_INLINE bool mainloop() { if (!entry::processEvents(width, height, debug, reset, &mouseState) ) { @@ -115,7 +115,7 @@ bool mainloop() if (deltaTimeNs > 1000000) { - deltaTimeAvgNs = deltaTimeNs / numFrames; + deltaTimeAvgNs = deltaTimeNs / bx::int64_max(1, numFrames); if (autoAdjust) { diff --git a/examples/17-drawstress/fs_drawstress.bin.h b/examples/17-drawstress/fs_drawstress.bin.h index 44ce8d14..300aadb4 100644 --- a/examples/17-drawstress/fs_drawstress.bin.h +++ b/examples/17-drawstress/fs_drawstress.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_drawstress_glsl[91] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..L...va + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..L...va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x6f, 0x69, // c4 v_color0;.voi 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x67, 0x6c, // d main ().{. gl @@ -9,7 +9,7 @@ static const uint8_t fs_drawstress_glsl[91] = }; static const uint8_t fs_drawstress_dx9[137] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I..|..... + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I..|..... 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -19,9 +19,9 @@ static const uint8_t fs_drawstress_dx9[137] = 0x0a, 0x00, 0x00, 0x80, 0x00, 0x00, 0x0f, 0x90, 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x0f, 0x80, // ................ 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ......... }; -static const uint8_t fs_drawstress_dx11[494] = +static const uint8_t fs_drawstress_dx11[480] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xd0, 0x01, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xd0, 0x01, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC 0xa9, 0x98, 0xd1, 0xdb, 0x4a, 0xa2, 0x9c, 0xfe, 0x9c, 0xf1, 0xe4, 0xd0, 0x2c, 0xa5, 0xd6, 0xb6, // ....J.......,... 0x01, 0x00, 0x00, 0x00, 0xd0, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ............4... 0x8c, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x14, 0x01, 0x00, 0x00, 0x54, 0x01, 0x00, 0x00, // ............T... @@ -51,5 +51,4 @@ static const uint8_t fs_drawstress_dx11[494] = 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .............. }; diff --git a/examples/17-drawstress/vs_drawstress.bin.h b/examples/17-drawstress/vs_drawstress.bin.h index 85fe5d6a..e50aa29e 100644 --- a/examples/17-drawstress/vs_drawstress.bin.h +++ b/examples/17-drawstress/vs_drawstress.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_drawstress_glsl[335] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH....I...u_mod + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH....I...u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, // elViewProj...... 0x2a, 0x01, 0x00, 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, // *...attribute me 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, // diump vec4 a_col @@ -24,7 +24,7 @@ static const uint8_t vs_drawstress_glsl[335] = }; static const uint8_t vs_drawstress_dx9[319] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH....I...u_mod + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH....I...u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, // elViewProj...... 0x1c, 0x01, 0x00, 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x23, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, // ........#.CTAB.. 0x00, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, // ..W............. @@ -45,9 +45,9 @@ static const uint8_t vs_drawstress_dx9[319] = 0x00, 0x03, 0x00, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0xe4, 0x80, 0x03, 0x00, 0xe4, 0xa0, 0x01, 0x00, // ................ 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ............... }; -static const uint8_t vs_drawstress_dx11[1292] = +static const uint8_t vs_drawstress_dx11[1282] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH....I...u_mod + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH....I...u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x09, 0x04, 0x00, // elViewProj...... 0xd8, 0x04, 0x44, 0x58, 0x42, 0x43, 0x6a, 0x4b, 0x0d, 0xb3, 0x9f, 0x17, 0x81, 0xaa, 0x2b, 0x2c, // ..DXBCjK......+, 0xba, 0xf2, 0xbb, 0xc7, 0xc0, 0x11, 0x01, 0x00, 0x00, 0x00, 0xd8, 0x04, 0x00, 0x00, 0x05, 0x00, // ................ @@ -126,6 +126,6 @@ static const uint8_t vs_drawstress_dx11[1292] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0xff, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // ..........0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x05, 0x00, 0x01, 0x00, // ................ + 0x30, 0x0a, // 0. }; diff --git a/examples/18-ibl/ibl.cpp b/examples/18-ibl/ibl.cpp index 7225bf22..ce196709 100644 --- a/examples/18-ibl/ibl.cpp +++ b/examples/18-ibl/ibl.cpp @@ -161,12 +161,17 @@ struct Group PrimitiveArray m_prims; }; +namespace bgfx +{ + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); +} + struct Mesh { void load(const char* _filePath) { -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) bx::CrtFileReader reader; @@ -185,7 +190,7 @@ struct Mesh bx::read(&reader, group.m_aabb); bx::read(&reader, group.m_obb); - bx::read(&reader, m_decl); + bgfx::read(&reader, m_decl); uint16_t stride = m_decl.getStride(); uint16_t numVertices; diff --git a/examples/common/bgfx_utils.cpp b/examples/common/bgfx_utils.cpp index 99f993f0..75572b6b 100644 --- a/examples/common/bgfx_utils.cpp +++ b/examples/common/bgfx_utils.cpp @@ -264,14 +264,22 @@ struct Group PrimitiveArray m_prims; }; +namespace bgfx +{ + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); +} + struct Mesh { void load(bx::ReaderSeekerI* _reader) { -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) + using namespace bx; + using namespace bgfx; + Group group; uint32_t chunk; @@ -281,17 +289,18 @@ struct Mesh { case BGFX_CHUNK_MAGIC_VB: { - bx::read(_reader, group.m_sphere); - bx::read(_reader, group.m_aabb); - bx::read(_reader, group.m_obb); + read(_reader, group.m_sphere); + read(_reader, group.m_aabb); + read(_reader, group.m_obb); + + read(_reader, m_decl); - bx::read(_reader, m_decl); uint16_t stride = m_decl.getStride(); uint16_t numVertices; - bx::read(_reader, numVertices); + read(_reader, numVertices); const bgfx::Memory* mem = bgfx::alloc(numVertices*stride); - bx::read(_reader, mem->data, mem->size); + read(_reader, mem->data, mem->size); group.m_vbh = bgfx::createVertexBuffer(mem, m_decl); } @@ -300,9 +309,9 @@ struct Mesh case BGFX_CHUNK_MAGIC_IB: { uint32_t numIndices; - bx::read(_reader, numIndices); + read(_reader, numIndices); const bgfx::Memory* mem = bgfx::alloc(numIndices*2); - bx::read(_reader, mem->data, mem->size); + read(_reader, mem->data, mem->size); group.m_ibh = bgfx::createIndexBuffer(mem); } break; @@ -310,31 +319,31 @@ struct Mesh case BGFX_CHUNK_MAGIC_PRI: { uint16_t len; - bx::read(_reader, len); + read(_reader, len); std::string material; material.resize(len); - bx::read(_reader, const_cast(material.c_str() ), len); + read(_reader, const_cast(material.c_str() ), len); uint16_t num; - bx::read(_reader, num); + read(_reader, num); for (uint32_t ii = 0; ii < num; ++ii) { - bx::read(_reader, len); + read(_reader, len); std::string name; name.resize(len); - bx::read(_reader, const_cast(name.c_str() ), len); + read(_reader, const_cast(name.c_str() ), len); Primitive prim; - bx::read(_reader, prim.m_startIndex); - bx::read(_reader, prim.m_numIndices); - bx::read(_reader, prim.m_startVertex); - bx::read(_reader, prim.m_numVertices); - bx::read(_reader, prim.m_sphere); - bx::read(_reader, prim.m_aabb); - bx::read(_reader, prim.m_obb); + read(_reader, prim.m_startIndex); + read(_reader, prim.m_numIndices); + read(_reader, prim.m_startVertex); + read(_reader, prim.m_numVertices); + read(_reader, prim.m_sphere); + read(_reader, prim.m_aabb); + read(_reader, prim.m_obb); group.m_prims.push_back(prim); } diff --git a/examples/common/font/fs_font_basic.bin.h b/examples/common/font/fs_font_basic.bin.h index d78cdb4b..4e3a0958 100644 --- a/examples/common/font/fs_font_basic.bin.h +++ b/examples/common/font/fs_font_basic.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_font_basic_glsl[546] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH........u_tex + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH........u_tex 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x02, 0x02, 0x00, 0x00, 0x76, // Color..........v 0x61, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, // arying mediump v 0x65, 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x61, // ec4 v_color0;.va @@ -38,7 +38,7 @@ static const uint8_t fs_font_basic_glsl[546] = }; static const uint8_t fs_font_basic_dx9[445] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x03, 0xff, 0xff, // FSH............. + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x03, 0xff, 0xff, // FSH............. 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, 0x00, // ..".CTAB....S... 0x00, 0x03, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x4c, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, // L...0........... @@ -67,9 +67,9 @@ static const uint8_t fs_font_basic_dx9[445] = 0x00, 0x08, 0x08, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0xff, 0x90, 0x01, 0x00, 0x00, 0x02, // ................ 0x00, 0x08, 0x07, 0x80, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ............. }; -static const uint8_t fs_font_basic_dx11[950] = +static const uint8_t fs_font_basic_dx11[936] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x98, 0x03, 0x44, 0x58, 0x42, 0x43, // FSH.........DXBC + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x98, 0x03, 0x44, 0x58, 0x42, 0x43, // FSH.........DXBC 0x8b, 0xc1, 0x37, 0x20, 0x35, 0x89, 0x66, 0x6f, 0x9f, 0x41, 0xd9, 0x89, 0xb4, 0x72, 0x6c, 0x63, // ..7 5.fo.A...rlc 0x01, 0x00, 0x00, 0x00, 0x98, 0x03, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ............4... 0x00, 0x01, 0x00, 0x00, 0x74, 0x01, 0x00, 0x00, 0xa8, 0x01, 0x00, 0x00, 0x1c, 0x03, 0x00, 0x00, // ....t........... @@ -127,6 +127,5 @@ static const uint8_t fs_font_basic_dx11[950] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ...... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........ }; diff --git a/examples/common/font/fs_font_distance_field.bin.h b/examples/common/font/fs_font_distance_field.bin.h index 7d1085bb..bf090221 100644 --- a/examples/common/font/fs_font_distance_field.bin.h +++ b/examples/common/font/fs_font_distance_field.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_font_distance_field_glsl[1020] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH........u_tex + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH........u_tex 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0xdc, 0x03, 0x00, 0x00, 0x76, // Color..........v 0x61, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, // arying mediump v 0x65, 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x61, // ec4 v_color0;.va @@ -67,7 +67,7 @@ static const uint8_t fs_font_distance_field_glsl[1020] = }; static const uint8_t fs_font_distance_field_dx9[737] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xd4, 0x02, 0x00, 0x03, 0xff, 0xff, // FSH............. + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xd4, 0x02, 0x00, 0x03, 0xff, 0xff, // FSH............. 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, 0x00, // ..".CTAB....S... 0x00, 0x03, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x4c, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, // L...0........... @@ -115,9 +115,9 @@ static const uint8_t fs_font_distance_field_dx9[737] = 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x07, 0x80, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, // ................ 0x00, // . }; -static const uint8_t fs_font_distance_field_dx11[1386] = +static const uint8_t fs_font_distance_field_dx11[1372] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x4c, 0x05, 0x44, 0x58, 0x42, 0x43, // FSH.......L.DXBC + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x4c, 0x05, 0x44, 0x58, 0x42, 0x43, // FSH.......L.DXBC 0xe3, 0x81, 0xe8, 0x1f, 0xa3, 0x53, 0x27, 0x5a, 0x18, 0x92, 0x1a, 0x9c, 0xda, 0x52, 0x25, 0xcc, // .....S'Z.....R%. 0x01, 0x00, 0x00, 0x00, 0x4c, 0x05, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....L.......4... 0x00, 0x01, 0x00, 0x00, 0x74, 0x01, 0x00, 0x00, 0xa8, 0x01, 0x00, 0x00, 0xd0, 0x04, 0x00, 0x00, // ....t........... @@ -202,6 +202,5 @@ static const uint8_t fs_font_distance_field_dx11[1386] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .......... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ............ }; diff --git a/examples/common/font/fs_font_distance_field_subpixel.bin.h b/examples/common/font/fs_font_distance_field_subpixel.bin.h index 6685b65b..6a4614f6 100644 --- a/examples/common/font/fs_font_distance_field_subpixel.bin.h +++ b/examples/common/font/fs_font_distance_field_subpixel.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_font_distance_field_subpixel_glsl[1320] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH........u_tex + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH........u_tex 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x08, 0x05, 0x00, 0x00, 0x76, // Color..........v 0x61, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, // arying mediump v 0x65, 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x61, // ec4 v_color0;.va @@ -86,7 +86,7 @@ static const uint8_t fs_font_distance_field_subpixel_glsl[1320] = }; static const uint8_t fs_font_distance_field_subpixel_dx9[885] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x68, 0x03, 0x00, 0x03, 0xff, 0xff, // FSH.......h..... + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x68, 0x03, 0x00, 0x03, 0xff, 0xff, // FSH.......h..... 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, 0x00, // ..".CTAB....S... 0x00, 0x03, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x4c, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, // L...0........... @@ -143,9 +143,9 @@ static const uint8_t fs_font_distance_field_subpixel_dx9[885] = 0x05, 0x00, 0x00, 0x03, 0x00, 0x08, 0x07, 0x80, 0x00, 0x00, 0xe4, 0x80, 0x00, 0x00, 0xff, 0x90, // ................ 0xff, 0xff, 0x00, 0x00, 0x00, // ..... }; -static const uint8_t fs_font_distance_field_subpixel_dx11[1638] = +static const uint8_t fs_font_distance_field_subpixel_dx11[1624] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x48, 0x06, 0x44, 0x58, 0x42, 0x43, // FSH.......H.DXBC + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0x48, 0x06, 0x44, 0x58, 0x42, 0x43, // FSH.......H.DXBC 0xed, 0x8e, 0x22, 0x66, 0x47, 0x30, 0xe5, 0x3e, 0x6b, 0x26, 0x78, 0x48, 0x74, 0xfd, 0x39, 0x03, // .."fG0.>k&xHt.9. 0x01, 0x00, 0x00, 0x00, 0x48, 0x06, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....H.......4... 0x00, 0x01, 0x00, 0x00, 0x74, 0x01, 0x00, 0x00, 0xa8, 0x01, 0x00, 0x00, 0xcc, 0x05, 0x00, 0x00, // ....t........... @@ -246,6 +246,5 @@ static const uint8_t fs_font_distance_field_subpixel_dx11[1638] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ...... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........ }; diff --git a/examples/common/font/vs_font_basic.bin.h b/examples/common/font/vs_font_basic.bin.h index 4783ec97..7ba53b6e 100644 --- a/examples/common/font/vs_font_basic.bin.h +++ b/examples/common/font/vs_font_basic.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_font_basic_glsl[445] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, // elViewProj...... 0x98, 0x01, 0x00, 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, // ....attribute me 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, // diump vec4 a_col @@ -31,7 +31,7 @@ static const uint8_t vs_font_basic_glsl[445] = }; static const uint8_t vs_font_basic_dx9[335] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, // elViewProj...... 0x2c, 0x01, 0x00, 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x23, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, // ,.......#.CTAB.. 0x00, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, // ..W............. @@ -53,9 +53,9 @@ static const uint8_t vs_font_basic_dx9[335] = 0xe4, 0xa0, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0xe4, 0x90, 0x01, 0x00, // ................ 0x00, 0x02, 0x02, 0x00, 0x0f, 0xe0, 0x02, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ............... }; -static const uint8_t vs_font_basic_dx11[1360] = +static const uint8_t vs_font_basic_dx11[1352] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x09, 0x04, 0x00, // elViewProj...... 0x1c, 0x05, 0x44, 0x58, 0x42, 0x43, 0xb0, 0xdf, 0xc9, 0xf3, 0x7d, 0xe4, 0x67, 0xa3, 0x53, 0x24, // ..DXBC....}.g.S$ 0x43, 0x58, 0xed, 0x55, 0x34, 0x0e, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x05, 0x00, 0x00, 0x05, 0x00, // CX.U4........... @@ -138,6 +138,6 @@ static const uint8_t vs_font_basic_dx11[1360] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, // ................ - 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // ..............0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, // ................ + 0x05, 0x00, 0x01, 0x00, 0x10, 0x00, 0x30, 0x0a, // ......0. }; diff --git a/examples/common/font/vs_font_distance_field.bin.h b/examples/common/font/vs_font_distance_field.bin.h index 74e2c00e..c11bfd5c 100644 --- a/examples/common/font/vs_font_distance_field.bin.h +++ b/examples/common/font/vs_font_distance_field.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_font_distance_field_glsl[445] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, // elViewProj...... 0x98, 0x01, 0x00, 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, // ....attribute me 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, // diump vec4 a_col @@ -31,7 +31,7 @@ static const uint8_t vs_font_distance_field_glsl[445] = }; static const uint8_t vs_font_distance_field_dx9[335] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, // elViewProj...... 0x2c, 0x01, 0x00, 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x23, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, // ,.......#.CTAB.. 0x00, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, // ..W............. @@ -53,9 +53,9 @@ static const uint8_t vs_font_distance_field_dx9[335] = 0xe4, 0xa0, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0xe4, 0x90, 0x01, 0x00, // ................ 0x00, 0x02, 0x02, 0x00, 0x0f, 0xe0, 0x02, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ............... }; -static const uint8_t vs_font_distance_field_dx11[1360] = +static const uint8_t vs_font_distance_field_dx11[1352] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x09, 0x04, 0x00, // elViewProj...... 0x1c, 0x05, 0x44, 0x58, 0x42, 0x43, 0xb0, 0xdf, 0xc9, 0xf3, 0x7d, 0xe4, 0x67, 0xa3, 0x53, 0x24, // ..DXBC....}.g.S$ 0x43, 0x58, 0xed, 0x55, 0x34, 0x0e, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x05, 0x00, 0x00, 0x05, 0x00, // CX.U4........... @@ -138,6 +138,6 @@ static const uint8_t vs_font_distance_field_dx11[1360] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, // ................ - 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // ..............0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, // ................ + 0x05, 0x00, 0x01, 0x00, 0x10, 0x00, 0x30, 0x0a, // ......0. }; diff --git a/examples/common/font/vs_font_distance_field_subpixel.bin.h b/examples/common/font/vs_font_distance_field_subpixel.bin.h index d0d5cc4a..1d0b8988 100644 --- a/examples/common/font/vs_font_distance_field_subpixel.bin.h +++ b/examples/common/font/vs_font_distance_field_subpixel.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_font_distance_field_subpixel_glsl[445] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, // elViewProj...... 0x98, 0x01, 0x00, 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, // ....attribute me 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, // diump vec4 a_col @@ -31,7 +31,7 @@ static const uint8_t vs_font_distance_field_subpixel_glsl[445] = }; static const uint8_t vs_font_distance_field_subpixel_dx9[335] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, // elViewProj...... 0x2c, 0x01, 0x00, 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x23, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, // ,.......#.CTAB.. 0x00, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, // ..W............. @@ -53,9 +53,9 @@ static const uint8_t vs_font_distance_field_subpixel_dx9[335] = 0xe4, 0xa0, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0xe4, 0x90, 0x01, 0x00, // ................ 0x00, 0x02, 0x02, 0x00, 0x0f, 0xe0, 0x02, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ............... }; -static const uint8_t vs_font_distance_field_subpixel_dx11[1360] = +static const uint8_t vs_font_distance_field_subpixel_dx11[1352] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH........u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x09, 0x04, 0x00, // elViewProj...... 0x1c, 0x05, 0x44, 0x58, 0x42, 0x43, 0xb0, 0xdf, 0xc9, 0xf3, 0x7d, 0xe4, 0x67, 0xa3, 0x53, 0x24, // ..DXBC....}.g.S$ 0x43, 0x58, 0xed, 0x55, 0x34, 0x0e, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x05, 0x00, 0x00, 0x05, 0x00, // CX.U4........... @@ -138,6 +138,6 @@ static const uint8_t vs_font_distance_field_subpixel_dx11[1360] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, // ................ - 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // ..............0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, // ................ + 0x05, 0x00, 0x01, 0x00, 0x10, 0x00, 0x30, 0x0a, // ......0. }; diff --git a/examples/common/imgui/fs_imgui_color.bin.h b/examples/common/imgui/fs_imgui_color.bin.h index f32a7c10..a1dd157c 100644 --- a/examples/common/imgui/fs_imgui_color.bin.h +++ b/examples/common/imgui/fs_imgui_color.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_imgui_color_glsl[91] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..L...va + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..L...va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x6f, 0x69, // c4 v_color0;.voi 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x67, 0x6c, // d main ().{. gl @@ -9,7 +9,7 @@ static const uint8_t fs_imgui_color_glsl[91] = }; static const uint8_t fs_imgui_color_dx9[137] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I..|..... + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I..|..... 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -19,9 +19,9 @@ static const uint8_t fs_imgui_color_dx9[137] = 0x0a, 0x00, 0x00, 0x80, 0x00, 0x00, 0x0f, 0x90, 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x0f, 0x80, // ................ 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ......... }; -static const uint8_t fs_imgui_color_dx11[494] = +static const uint8_t fs_imgui_color_dx11[480] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xd0, 0x01, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xd0, 0x01, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC 0xa9, 0x98, 0xd1, 0xdb, 0x4a, 0xa2, 0x9c, 0xfe, 0x9c, 0xf1, 0xe4, 0xd0, 0x2c, 0xa5, 0xd6, 0xb6, // ....J.......,... 0x01, 0x00, 0x00, 0x00, 0xd0, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ............4... 0x8c, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x14, 0x01, 0x00, 0x00, 0x54, 0x01, 0x00, 0x00, // ............T... @@ -51,5 +51,4 @@ static const uint8_t fs_imgui_color_dx11[494] = 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .............. }; diff --git a/examples/common/imgui/fs_imgui_image.bin.h b/examples/common/imgui/fs_imgui_image.bin.h index 6c70ebae..98c6b241 100644 --- a/examples/common/imgui/fs_imgui_image.bin.h +++ b/examples/common/imgui/fs_imgui_image.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_imgui_image_glsl[310] = { - 0x46, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima + 0x46, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x0a, 0x73, 0x5f, 0x74, 0x65, // geLod.......s_te 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x05, 0x01, 0x00, 0x00, // xColor.......... 0x76, 0x61, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, // varying mediump @@ -23,7 +23,7 @@ static const uint8_t fs_imgui_image_glsl[310] = }; static const uint8_t fs_imgui_image_dx9[342] = { - 0x46, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima + 0x46, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x14, 0x01, 0x00, 0x00, 0x01, 0x00, 0x38, 0x01, 0x00, 0x03, 0xff, // geLod......8.... 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x83, 0x00, 0x00, // .....CTAB....... 0x00, 0x00, 0x03, 0xff, 0xff, 0x02, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, // ................ @@ -46,9 +46,9 @@ static const uint8_t fs_imgui_image_dx9[342] = 0x80, 0x00, 0x00, 0xe4, 0x80, 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x08, 0x80, 0x01, 0x00, 0x00, // ................ 0xa0, 0xff, 0xff, 0x00, 0x00, 0x00, // ...... }; -static const uint8_t fs_imgui_image_dx11[1335] = +static const uint8_t fs_imgui_image_dx11[1321] = { - 0x46, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima + 0x46, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x14, 0x00, 0x24, 0x0a, 0x01, 0x00, 0x08, 0x05, 0x44, 0x58, 0x42, // geLod..$.....DXB 0x43, 0x0e, 0x5a, 0x0f, 0xd9, 0xa2, 0x1e, 0x38, 0x23, 0x8d, 0xd9, 0x66, 0x18, 0x80, 0x6b, 0xb8, // C.Z....8#..f..k. 0xe6, 0x01, 0x00, 0x00, 0x00, 0x08, 0x05, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, // .............4.. @@ -130,6 +130,5 @@ static const uint8_t fs_imgui_image_dx11[1335] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // .....0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // .......0. }; diff --git a/examples/common/imgui/fs_imgui_image_swizz.bin.h b/examples/common/imgui/fs_imgui_image_swizz.bin.h index fa80aa55..5df2bfd9 100644 --- a/examples/common/imgui/fs_imgui_image_swizz.bin.h +++ b/examples/common/imgui/fs_imgui_image_swizz.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_imgui_image_swizz_glsl[377] = { - 0x46, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x03, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima + 0x46, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x03, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x09, 0x75, 0x5f, 0x73, 0x77, // geLod.......u_sw 0x69, 0x7a, 0x7a, 0x6c, 0x65, 0x07, 0x01, 0x00, 0x00, 0x01, 0x00, 0x0a, 0x73, 0x5f, 0x74, 0x65, // izzle.......s_te 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x38, 0x01, 0x00, 0x00, // xColor......8... @@ -27,7 +27,7 @@ static const uint8_t fs_imgui_image_swizz_glsl[377] = }; static const uint8_t fs_imgui_image_swizz_dx9[410] = { - 0x46, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima + 0x46, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x14, 0x01, 0x00, 0x00, 0x01, 0x00, 0x09, 0x75, 0x5f, 0x73, 0x77, // geLod.......u_sw 0x69, 0x7a, 0x7a, 0x6c, 0x65, 0x15, 0x01, 0x01, 0x00, 0x01, 0x00, 0x6c, 0x01, 0x00, 0x03, 0xff, // izzle......l.... 0xff, 0xfe, 0xff, 0x3a, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0xb3, 0x00, 0x00, // ...:.CTAB....... @@ -54,9 +54,9 @@ static const uint8_t fs_imgui_image_swizz_dx9[410] = 0x80, 0x00, 0x00, 0xe4, 0x80, 0x01, 0x00, 0xe4, 0xa0, 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x08, // ................ 0x80, 0x02, 0x00, 0x00, 0xa0, 0xff, 0xff, 0x00, 0x00, 0x00, // .......... }; -static const uint8_t fs_imgui_image_swizz_dx11[1399] = +static const uint8_t fs_imgui_image_swizz_dx11[1385] = { - 0x46, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima + 0x46, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x69, 0x6d, 0x61, // FSH.o.><...u_ima 0x67, 0x65, 0x4c, 0x6f, 0x64, 0x14, 0x00, 0x24, 0x0a, 0x01, 0x00, 0x09, 0x75, 0x5f, 0x73, 0x77, // geLod..$....u_sw 0x69, 0x7a, 0x7a, 0x6c, 0x65, 0x15, 0x00, 0x30, 0x0a, 0x01, 0x00, 0x38, 0x05, 0x44, 0x58, 0x42, // izzle..0...8.DXB 0x43, 0x7e, 0xab, 0x2a, 0x3a, 0x1a, 0x6f, 0x75, 0x46, 0x47, 0xfd, 0x25, 0x4b, 0x2e, 0x74, 0x0d, // C~.*:.ouFG.%K.t. @@ -142,6 +142,5 @@ static const uint8_t fs_imgui_image_swizz_dx11[1399] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x0a, // .....@. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x0a, // .......@. }; diff --git a/examples/common/imgui/fs_imgui_texture.bin.h b/examples/common/imgui/fs_imgui_texture.bin.h index b95d17bd..5ce3fd23 100644 --- a/examples/common/imgui/fs_imgui_texture.bin.h +++ b/examples/common/imgui/fs_imgui_texture.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_imgui_texture_glsl[294] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x73, 0x5f, 0x74, 0x65, 0x78, // FSH........s_tex + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x73, 0x5f, 0x74, 0x65, 0x78, // FSH........s_tex 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x06, 0x01, 0x00, 0x00, 0x76, // Color..........v 0x61, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, // arying mediump v 0x65, 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x61, // ec4 v_color0;.va @@ -22,7 +22,7 @@ static const uint8_t fs_imgui_texture_glsl[294] = }; static const uint8_t fs_imgui_texture_dx9[241] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xe4, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH............. + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xe4, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH............. 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, 0x00, // ..".CTAB....S... 0x00, 0x03, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x4c, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, // L...0........... @@ -39,9 +39,9 @@ static const uint8_t fs_imgui_texture_dx9[241] = 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x07, 0x80, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, // ................ 0x00, // . }; -static const uint8_t fs_imgui_texture_dx11[754] = +static const uint8_t fs_imgui_texture_dx11[740] = { - 0x46, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xd4, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH.........DXBC + 0x46, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x00, 0x00, 0xd4, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH.........DXBC 0x10, 0x9b, 0x70, 0x7c, 0xb7, 0x6b, 0x97, 0x51, 0x00, 0xc5, 0x5e, 0x16, 0x8a, 0xc7, 0xa4, 0x9f, // ..p|.k.Q..^..... 0x01, 0x00, 0x00, 0x00, 0xd4, 0x02, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ............4... 0x00, 0x01, 0x00, 0x00, 0x74, 0x01, 0x00, 0x00, 0xa8, 0x01, 0x00, 0x00, 0x58, 0x02, 0x00, 0x00, // ....t.......X... @@ -87,6 +87,5 @@ static const uint8_t fs_imgui_texture_dx11[754] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, // .. + 0x00, 0x00, 0x00, 0x00, // .... }; diff --git a/examples/common/imgui/vs_imgui_color.bin.h b/examples/common/imgui/vs_imgui_color.bin.h index 69c0306c..167bcb3e 100644 --- a/examples/common/imgui/vs_imgui_color.bin.h +++ b/examples/common/imgui/vs_imgui_color.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_imgui_color_glsl[331] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH....I...u_vie + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH....I...u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, 0x2b, 0x01, 0x00, 0x00, 0x61, // wProj......+...a 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, // ttribute mediump 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, // vec4 a_color0;. @@ -24,7 +24,7 @@ static const uint8_t vs_imgui_color_glsl[331] = }; static const uint8_t vs_imgui_color_dx9[290] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH....I...u_vie + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH....I...u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, 0x04, 0x01, 0x00, 0x03, 0xfe, // wProj........... 0xff, 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, // ...".CTAB....S.. 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, // ................ @@ -44,9 +44,9 @@ static const uint8_t vs_imgui_color_dx9[290] = 0xa0, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, // ................ 0x00, 0x00, // .. }; -static const uint8_t vs_imgui_color_dx11[1247] = +static const uint8_t vs_imgui_color_dx11[1237] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH....I...u_vie + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH....I...u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0x20, 0x01, 0x04, 0x00, 0xb0, 0x04, 0x44, 0x58, 0x42, // wProj.. .....DXB 0x43, 0x95, 0x82, 0x5b, 0x44, 0x22, 0x36, 0xc7, 0xe3, 0xf9, 0x2c, 0x18, 0xbf, 0x19, 0x68, 0x3f, // C..[D"6...,...h? 0x31, 0x01, 0x00, 0x00, 0x00, 0xb0, 0x04, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, // 1............4.. @@ -122,6 +122,6 @@ static const uint8_t vs_imgui_color_dx11[1247] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, // ................ - 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // .............0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x05, // ................ + 0x00, 0x01, 0x00, 0x30, 0x0a, // ...0. }; diff --git a/examples/common/imgui/vs_imgui_image.bin.h b/examples/common/imgui/vs_imgui_image.bin.h index 9206420d..b93fd5c7 100644 --- a/examples/common/imgui/vs_imgui_image.bin.h +++ b/examples/common/imgui/vs_imgui_image.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_imgui_image_glsl[343] = { - 0x56, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH.o.><...u_vie + 0x56, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH.o.><...u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, 0x37, 0x01, 0x00, 0x00, 0x61, // wProj......7...a 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, // ttribute mediump 0x20, 0x76, 0x65, 0x63, 0x32, 0x20, 0x61, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, // vec2 a_position @@ -25,7 +25,7 @@ static const uint8_t vs_imgui_image_glsl[343] = }; static const uint8_t vs_imgui_image_dx9[290] = { - 0x56, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH.o.><...u_vie + 0x56, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH.o.><...u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, 0x04, 0x01, 0x00, 0x03, 0xfe, // wProj........... 0xff, 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, // ...".CTAB....S.. 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, // ................ @@ -45,9 +45,9 @@ static const uint8_t vs_imgui_image_dx9[290] = 0xa0, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x03, 0xe0, 0x01, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, // ................ 0x00, 0x00, // .. }; -static const uint8_t vs_imgui_image_dx11[1255] = +static const uint8_t vs_imgui_image_dx11[1245] = { - 0x56, 0x53, 0x48, 0x02, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH.o.><...u_vie + 0x56, 0x53, 0x48, 0x03, 0x6f, 0x1e, 0x3e, 0x3c, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH.o.><...u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0x20, 0x01, 0x04, 0x00, 0xb8, 0x04, 0x44, 0x58, 0x42, // wProj.. .....DXB 0x43, 0x08, 0x53, 0xea, 0x0a, 0xbd, 0x58, 0xc1, 0xf4, 0x74, 0x6c, 0xfe, 0x87, 0x25, 0xdd, 0xb1, // C.S...X..tl..%.. 0xa4, 0x01, 0x00, 0x00, 0x00, 0xb8, 0x04, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, // .............4.. @@ -124,6 +124,5 @@ static const uint8_t vs_imgui_image_dx11[1255] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // .....0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x10, 0x00, 0x30, 0x0a, // ...........0. }; diff --git a/examples/common/imgui/vs_imgui_texture.bin.h b/examples/common/imgui/vs_imgui_texture.bin.h index 294903a5..e3c6d6c9 100644 --- a/examples/common/imgui/vs_imgui_texture.bin.h +++ b/examples/common/imgui/vs_imgui_texture.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_imgui_texture_glsl[430] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, 0x8e, 0x01, 0x00, 0x00, 0x61, // wProj..........a 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, // ttribute mediump 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, // vec4 a_color0;. @@ -30,7 +30,7 @@ static const uint8_t vs_imgui_texture_glsl[430] = }; static const uint8_t vs_imgui_texture_dx9[326] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, 0x28, 0x01, 0x00, 0x03, 0xfe, // wProj......(.... 0xff, 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, // ...".CTAB....S.. 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, // ................ @@ -52,9 +52,9 @@ static const uint8_t vs_imgui_texture_dx9[326] = 0xe0, 0x00, 0x00, 0xe4, 0x90, 0x01, 0x00, 0x00, 0x02, 0x02, 0x00, 0x03, 0xe0, 0x02, 0x00, 0xe4, // ................ 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ...... }; -static const uint8_t vs_imgui_texture_dx11[1355] = +static const uint8_t vs_imgui_texture_dx11[1347] = { - 0x56, 0x53, 0x48, 0x02, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie + 0x56, 0x53, 0x48, 0x03, 0x01, 0x83, 0xf2, 0xe1, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0x20, 0x01, 0x04, 0x00, 0x1c, 0x05, 0x44, 0x58, 0x42, // wProj.. .....DXB 0x43, 0x7b, 0x3a, 0xc5, 0xe7, 0x60, 0x7d, 0xdb, 0xc7, 0xd9, 0xfe, 0x3a, 0xed, 0xb1, 0x1d, 0xff, // C{:..`}....:.... 0xc6, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x05, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, // .............4.. @@ -137,6 +137,6 @@ static const uint8_t vs_imgui_texture_dx11[1355] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0xff, 0x00, 0x00, // ................ - 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0a, // .........0. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x05, 0x00, 0x01, 0x00, 0x10, // ................ + 0x00, 0x30, 0x0a, // .0. }; diff --git a/examples/common/nanovg/fs_nanovg_fill.bin.h b/examples/common/nanovg/fs_nanovg_fill.bin.h index 5473adae..c5abb36b 100644 --- a/examples/common/nanovg/fs_nanovg_fill.bin.h +++ b/examples/common/nanovg/fs_nanovg_fill.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_nanovg_fill_glsl[3149] = { - 0x46, 0x53, 0x48, 0x02, 0xcf, 0xda, 0x1b, 0x94, 0x08, 0x00, 0x0c, 0x75, 0x5f, 0x73, 0x63, 0x69, // FSH........u_sci + 0x46, 0x53, 0x48, 0x03, 0xcf, 0xda, 0x1b, 0x94, 0x08, 0x00, 0x0c, 0x75, 0x5f, 0x73, 0x63, 0x69, // FSH........u_sci 0x73, 0x73, 0x6f, 0x72, 0x4d, 0x61, 0x74, 0x08, 0x01, 0x00, 0x00, 0x01, 0x00, 0x0a, 0x75, 0x5f, // ssorMat.......u_ 0x70, 0x61, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x08, 0x01, 0x00, 0x00, 0x01, 0x00, 0x0a, 0x75, // paintMat.......u 0x5f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x07, 0x01, 0x00, 0x00, 0x01, 0x00, 0x0a, // _innerCol....... @@ -200,7 +200,7 @@ static const uint8_t fs_nanovg_fill_glsl[3149] = }; static const uint8_t fs_nanovg_fill_dx9[1531] = { - 0x46, 0x53, 0x48, 0x02, 0xcf, 0xda, 0x1b, 0x94, 0x07, 0x00, 0x0e, 0x75, 0x5f, 0x65, 0x78, 0x74, // FSH........u_ext + 0x46, 0x53, 0x48, 0x03, 0xcf, 0xda, 0x1b, 0x94, 0x07, 0x00, 0x0e, 0x75, 0x5f, 0x65, 0x78, 0x74, // FSH........u_ext 0x65, 0x6e, 0x74, 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x15, 0x01, 0x09, 0x00, 0x01, 0x00, 0x0a, // entRadius....... 0x75, 0x5f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x15, 0x01, 0x06, 0x00, 0x01, 0x00, // u_innerCol...... 0x0a, 0x75, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x15, 0x01, 0x07, 0x00, 0x01, // .u_outerCol..... @@ -297,9 +297,9 @@ static const uint8_t fs_nanovg_fill_dx9[1531] = 0xff, 0x80, 0x58, 0x00, 0x00, 0x04, 0x00, 0x08, 0x0f, 0x80, 0x02, 0x00, 0xaa, 0x81, 0x03, 0x00, // ..X............. 0xe4, 0x80, 0x01, 0x00, 0xe4, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, // ........... }; -static const uint8_t fs_nanovg_fill_dx11[3440] = +static const uint8_t fs_nanovg_fill_dx11[3426] = { - 0x46, 0x53, 0x48, 0x02, 0xcf, 0xda, 0x1b, 0x94, 0x07, 0x00, 0x0c, 0x75, 0x5f, 0x73, 0x63, 0x69, // FSH........u_sci + 0x46, 0x53, 0x48, 0x03, 0xcf, 0xda, 0x1b, 0x94, 0x07, 0x00, 0x0c, 0x75, 0x5f, 0x73, 0x63, 0x69, // FSH........u_sci 0x73, 0x73, 0x6f, 0x72, 0x4d, 0x61, 0x74, 0x18, 0x00, 0x30, 0x0a, 0x03, 0x00, 0x0a, 0x75, 0x5f, // ssorMat..0....u_ 0x70, 0x61, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x18, 0x00, 0x60, 0x0a, 0x03, 0x00, 0x0a, 0x75, // paintMat..`....u 0x5f, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x15, 0x00, 0x90, 0x0a, 0x01, 0x00, 0x0a, // _innerCol....... @@ -513,5 +513,5 @@ static const uint8_t fs_nanovg_fill_dx11[3440] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0a, // ................ + 0xe0, 0x0a, // .. }; diff --git a/examples/common/nanovg/vs_nanovg_fill.bin.h b/examples/common/nanovg/vs_nanovg_fill.bin.h index 8283bce2..d0f71d7f 100644 --- a/examples/common/nanovg/vs_nanovg_fill.bin.h +++ b/examples/common/nanovg/vs_nanovg_fill.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_nanovg_fill_glsl[555] = { - 0x56, 0x53, 0x48, 0x02, 0xcf, 0xda, 0x1b, 0x94, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie + 0x56, 0x53, 0x48, 0x03, 0xcf, 0xda, 0x1b, 0x94, 0x02, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie 0x77, 0x53, 0x69, 0x7a, 0x65, 0x05, 0x01, 0x00, 0x00, 0x01, 0x00, 0x0b, 0x75, 0x5f, 0x68, 0x61, // wSize.......u_ha 0x6c, 0x66, 0x54, 0x65, 0x78, 0x65, 0x6c, 0x07, 0x01, 0x00, 0x00, 0x01, 0x00, 0xf9, 0x01, 0x00, // lfTexel......... 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, // .attribute mediu @@ -38,7 +38,7 @@ static const uint8_t vs_nanovg_fill_glsl[555] = }; static const uint8_t vs_nanovg_fill_dx9[448] = { - 0x56, 0x53, 0x48, 0x02, 0xcf, 0xda, 0x1b, 0x94, 0x02, 0x00, 0x0b, 0x75, 0x5f, 0x68, 0x61, 0x6c, // VSH........u_hal + 0x56, 0x53, 0x48, 0x03, 0xcf, 0xda, 0x1b, 0x94, 0x02, 0x00, 0x0b, 0x75, 0x5f, 0x68, 0x61, 0x6c, // VSH........u_hal 0x66, 0x54, 0x65, 0x78, 0x65, 0x6c, 0x05, 0x01, 0x01, 0x00, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, // fTexel.......u_v 0x69, 0x65, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x05, 0x01, 0x00, 0x00, 0x01, 0x00, 0x90, 0x01, 0x00, // iewSize......... 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x2e, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x83, // .......CTAB..... @@ -67,9 +67,9 @@ static const uint8_t vs_nanovg_fill_dx9[448] = 0x00, 0x55, 0xa0, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x0c, 0xe0, 0x02, 0x00, 0x64, 0xa0, 0x01, // .U...........d.. 0x00, 0x00, 0x02, 0x01, 0x00, 0x03, 0xe0, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ................ }; -static const uint8_t vs_nanovg_fill_dx11[1411] = +static const uint8_t vs_nanovg_fill_dx11[1401] = { - 0x56, 0x53, 0x48, 0x02, 0xcf, 0xda, 0x1b, 0x94, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie + 0x56, 0x53, 0x48, 0x03, 0xcf, 0xda, 0x1b, 0x94, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x76, 0x69, 0x65, // VSH........u_vie 0x77, 0x53, 0x69, 0x7a, 0x65, 0x05, 0x00, 0x24, 0x0a, 0x01, 0x00, 0x54, 0x05, 0x44, 0x58, 0x42, // wSize..$...T.DXB 0x43, 0xb6, 0xe7, 0x90, 0x7b, 0x55, 0x5b, 0x29, 0x3a, 0x4e, 0x6f, 0xa2, 0xcf, 0x80, 0x18, 0x3e, // C...{U[):No....> 0x6f, 0x01, 0x00, 0x00, 0x00, 0x54, 0x05, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, // o....T.......4.. @@ -156,6 +156,5 @@ static const uint8_t vs_nanovg_fill_dx11[1411] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x30, 0x0a, // .0. + 0x00, 0x00, 0x02, 0x01, 0x00, 0x10, 0x00, 0x30, 0x0a, // .......0. }; diff --git a/examples/runtime/meshes/bunny.bin b/examples/runtime/meshes/bunny.bin index c16b62c7..202927eb 100644 Binary files a/examples/runtime/meshes/bunny.bin and b/examples/runtime/meshes/bunny.bin differ diff --git a/examples/runtime/meshes/bunny_decimated.bin b/examples/runtime/meshes/bunny_decimated.bin index 071d1c67..d1adad38 100644 Binary files a/examples/runtime/meshes/bunny_decimated.bin and b/examples/runtime/meshes/bunny_decimated.bin differ diff --git a/examples/runtime/meshes/bunny_patched.bin b/examples/runtime/meshes/bunny_patched.bin index cedd732b..33f79a93 100644 Binary files a/examples/runtime/meshes/bunny_patched.bin and b/examples/runtime/meshes/bunny_patched.bin differ diff --git a/examples/runtime/meshes/column.bin b/examples/runtime/meshes/column.bin index 454ef09a..1a295c0b 100644 Binary files a/examples/runtime/meshes/column.bin and b/examples/runtime/meshes/column.bin differ diff --git a/examples/runtime/meshes/cube.bin b/examples/runtime/meshes/cube.bin index ca95bea8..9395fc6a 100644 Binary files a/examples/runtime/meshes/cube.bin and b/examples/runtime/meshes/cube.bin differ diff --git a/examples/runtime/meshes/hollowcube.bin b/examples/runtime/meshes/hollowcube.bin index 81131b48..5b93992a 100644 Binary files a/examples/runtime/meshes/hollowcube.bin and b/examples/runtime/meshes/hollowcube.bin differ diff --git a/examples/runtime/meshes/platform.bin b/examples/runtime/meshes/platform.bin index 097a7372..de63c245 100644 Binary files a/examples/runtime/meshes/platform.bin and b/examples/runtime/meshes/platform.bin differ diff --git a/examples/runtime/meshes/tree.bin b/examples/runtime/meshes/tree.bin index 05631ef7..cc3170ef 100644 Binary files a/examples/runtime/meshes/tree.bin and b/examples/runtime/meshes/tree.bin differ diff --git a/examples/runtime/meshes/tree1b_lod0_1.bin b/examples/runtime/meshes/tree1b_lod0_1.bin index 47784831..fc4b18b3 100644 Binary files a/examples/runtime/meshes/tree1b_lod0_1.bin and b/examples/runtime/meshes/tree1b_lod0_1.bin differ diff --git a/examples/runtime/meshes/tree1b_lod0_2.bin b/examples/runtime/meshes/tree1b_lod0_2.bin index e8e82b7c..19658b28 100644 Binary files a/examples/runtime/meshes/tree1b_lod0_2.bin and b/examples/runtime/meshes/tree1b_lod0_2.bin differ diff --git a/examples/runtime/meshes/tree1b_lod1_1.bin b/examples/runtime/meshes/tree1b_lod1_1.bin index 76105e66..e775c77e 100644 Binary files a/examples/runtime/meshes/tree1b_lod1_1.bin and b/examples/runtime/meshes/tree1b_lod1_1.bin differ diff --git a/examples/runtime/meshes/tree1b_lod1_2.bin b/examples/runtime/meshes/tree1b_lod1_2.bin index 4bb97cde..a5a28b74 100644 Binary files a/examples/runtime/meshes/tree1b_lod1_2.bin and b/examples/runtime/meshes/tree1b_lod1_2.bin differ diff --git a/examples/runtime/meshes/tree1b_lod2_1.bin b/examples/runtime/meshes/tree1b_lod2_1.bin index beac9bce..9ba1f45d 100644 Binary files a/examples/runtime/meshes/tree1b_lod2_1.bin and b/examples/runtime/meshes/tree1b_lod2_1.bin differ diff --git a/examples/runtime/meshes/tree1b_lod2_2.bin b/examples/runtime/meshes/tree1b_lod2_2.bin index 81065569..2f046b50 100644 Binary files a/examples/runtime/meshes/tree1b_lod2_2.bin and b/examples/runtime/meshes/tree1b_lod2_2.bin differ diff --git a/examples/runtime/shaders/dx11/fs_bump.bin b/examples/runtime/shaders/dx11/fs_bump.bin index 7d2f0382..c64288ab 100644 Binary files a/examples/runtime/shaders/dx11/fs_bump.bin and b/examples/runtime/shaders/dx11/fs_bump.bin differ diff --git a/examples/runtime/shaders/dx11/fs_callback.bin b/examples/runtime/shaders/dx11/fs_callback.bin index 760f79d5..3bdb12ec 100644 Binary files a/examples/runtime/shaders/dx11/fs_callback.bin and b/examples/runtime/shaders/dx11/fs_callback.bin differ diff --git a/examples/runtime/shaders/dx11/fs_cubes.bin b/examples/runtime/shaders/dx11/fs_cubes.bin index eff4580b..16263853 100644 Binary files a/examples/runtime/shaders/dx11/fs_cubes.bin and b/examples/runtime/shaders/dx11/fs_cubes.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_blur.bin b/examples/runtime/shaders/dx11/fs_hdr_blur.bin index 7641c6d4..062b2269 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_blur.bin and b/examples/runtime/shaders/dx11/fs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_bright.bin b/examples/runtime/shaders/dx11/fs_hdr_bright.bin index b8e3cf8c..4f73e735 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_bright.bin and b/examples/runtime/shaders/dx11/fs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_lum.bin b/examples/runtime/shaders/dx11/fs_hdr_lum.bin index 4486a689..e89104ca 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_lum.bin and b/examples/runtime/shaders/dx11/fs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_lumavg.bin b/examples/runtime/shaders/dx11/fs_hdr_lumavg.bin index f1fc7604..65537569 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_lumavg.bin and b/examples/runtime/shaders/dx11/fs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_mesh.bin b/examples/runtime/shaders/dx11/fs_hdr_mesh.bin index 85add4bd..620b50f3 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_mesh.bin and b/examples/runtime/shaders/dx11/fs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_skybox.bin b/examples/runtime/shaders/dx11/fs_hdr_skybox.bin index 3b971ace..504872bc 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_skybox.bin and b/examples/runtime/shaders/dx11/fs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/dx11/fs_hdr_tonemap.bin b/examples/runtime/shaders/dx11/fs_hdr_tonemap.bin index f57477e9..31e88977 100644 Binary files a/examples/runtime/shaders/dx11/fs_hdr_tonemap.bin and b/examples/runtime/shaders/dx11/fs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/dx11/fs_ibl_mesh.bin b/examples/runtime/shaders/dx11/fs_ibl_mesh.bin index 5843fc61..ac6e6319 100644 Binary files a/examples/runtime/shaders/dx11/fs_ibl_mesh.bin and b/examples/runtime/shaders/dx11/fs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/fs_ibl_skybox.bin b/examples/runtime/shaders/dx11/fs_ibl_skybox.bin index 0ad3173d..66f14027 100644 Binary files a/examples/runtime/shaders/dx11/fs_ibl_skybox.bin and b/examples/runtime/shaders/dx11/fs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/dx11/fs_instancing.bin b/examples/runtime/shaders/dx11/fs_instancing.bin index eff4580b..16263853 100644 Binary files a/examples/runtime/shaders/dx11/fs_instancing.bin and b/examples/runtime/shaders/dx11/fs_instancing.bin differ diff --git a/examples/runtime/shaders/dx11/fs_mesh.bin b/examples/runtime/shaders/dx11/fs_mesh.bin index 9eda2e84..71569248 100644 Binary files a/examples/runtime/shaders/dx11/fs_mesh.bin and b/examples/runtime/shaders/dx11/fs_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/fs_oit.bin b/examples/runtime/shaders/dx11/fs_oit.bin index 5501e5d5..fb9f2d9c 100644 Binary files a/examples/runtime/shaders/dx11/fs_oit.bin and b/examples/runtime/shaders/dx11/fs_oit.bin differ diff --git a/examples/runtime/shaders/dx11/fs_oit_wb.bin b/examples/runtime/shaders/dx11/fs_oit_wb.bin index bb4d3048..e6b16a46 100644 Binary files a/examples/runtime/shaders/dx11/fs_oit_wb.bin and b/examples/runtime/shaders/dx11/fs_oit_wb.bin differ diff --git a/examples/runtime/shaders/dx11/fs_oit_wb_blit.bin b/examples/runtime/shaders/dx11/fs_oit_wb_blit.bin index db1f22b7..0052605e 100644 Binary files a/examples/runtime/shaders/dx11/fs_oit_wb_blit.bin and b/examples/runtime/shaders/dx11/fs_oit_wb_blit.bin differ diff --git a/examples/runtime/shaders/dx11/fs_oit_wb_separate.bin b/examples/runtime/shaders/dx11/fs_oit_wb_separate.bin index 13ff7a70..cda96b92 100644 Binary files a/examples/runtime/shaders/dx11/fs_oit_wb_separate.bin and b/examples/runtime/shaders/dx11/fs_oit_wb_separate.bin differ diff --git a/examples/runtime/shaders/dx11/fs_oit_wb_separate_blit.bin b/examples/runtime/shaders/dx11/fs_oit_wb_separate_blit.bin index 02e05834..3bf0deb0 100644 Binary files a/examples/runtime/shaders/dx11/fs_oit_wb_separate_blit.bin and b/examples/runtime/shaders/dx11/fs_oit_wb_separate_blit.bin differ diff --git a/examples/runtime/shaders/dx11/fs_raymarching.bin b/examples/runtime/shaders/dx11/fs_raymarching.bin index 62bac59b..fd6febaa 100644 Binary files a/examples/runtime/shaders/dx11/fs_raymarching.bin and b/examples/runtime/shaders/dx11/fs_raymarching.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_black.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_black.bin index f7e830d1..09587f1f 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_black.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_black.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm.bin index 7988fc67..66b354f9 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_csm.bin index 60453bab..addacd1e 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear.bin index 5fed7598..d553e70e 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_csm.bin index 4191e00a..32532003 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_omni.bin index 39a1c945..a091794e 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_omni.bin index 30896868..8169777a 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_esm_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard.bin index 155631b3..df9179f3 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_csm.bin index ae3e34e5..66801e0c 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear.bin index 1826eced..63e5c351 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_csm.bin index 9628fc1b..05bc75b1 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_omni.bin index 1c77c975..203cb681 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_omni.bin index 54a35d0d..b49f32fc 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_hard_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf.bin index 27c755ef..a9621c3a 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_csm.bin index 3fcf7da3..c47c159d 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear.bin index 8840178f..1863ceec 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_csm.bin index b4a1f7c3..6a9fda31 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_omni.bin index c277a4a6..2b1a61a4 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_omni.bin index d492e5ce..17678b15 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_pcf_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm.bin index a32a09c0..81a08b31 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_csm.bin index f4bb75db..0a46b382 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear.bin index e83a5f67..54936646 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_csm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_csm.bin index 7723f977..48d7aa58 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_csm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_omni.bin index caa03e67..b1a4496d 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_omni.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_omni.bin index a575603e..9e362828 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_omni.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_lightning_vsm_omni.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_color_texture.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_color_texture.bin index 62ca6dc9..fe0aefd7 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_hblur.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_hblur.bin index d4a46983..4b3ef3fa 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_hblur.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_hblur_vsm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_hblur_vsm.bin index 15eda570..67e25e65 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_hblur_vsm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_hblur_vsm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth.bin index 1adca305..90ae1c66 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_linear.bin index 35cde3ef..a6dc0a0d 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm.bin index ba0bc0a4..fb9eaf19 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm_linear.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm_linear.bin index 34ed2fcb..5ea236d7 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm_linear.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_packdepth_vsm_linear.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_texture.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_texture.bin index d0b5bf56..524213b0 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_texture.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth.bin index 4b520022..09c9fbd1 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth_vsm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth_vsm.bin index 7d632eb0..6a0a7e6b 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth_vsm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_unpackdepth_vsm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_vblur.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_vblur.bin index d4a46983..4b3ef3fa 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_vblur.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowmaps_vblur_vsm.bin b/examples/runtime/shaders/dx11/fs_shadowmaps_vblur_vsm.bin index 15eda570..67e25e65 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowmaps_vblur_vsm.bin and b/examples/runtime/shaders/dx11/fs_shadowmaps_vblur_vsm.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_color_lightning.bin index f9fc49b5..fe26f8b4 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_color_texture.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_color_texture.bin index 62ca6dc9..fe0aefd7 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svbackblank.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svbackblank.bin index 217fab1b..3a25172c 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svbackblank.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svbackblank.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svbackcolor.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svbackcolor.bin index fd68fd47..bf1199f7 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svbackcolor.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svbackcolor.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex1.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex1.bin index 972d52bf..2c8b5481 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex1.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex1.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex2.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex2.bin index 4e2b2897..61f10ad2 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex2.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svbacktex2.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontblank.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontblank.bin index bb4cd4d8..cd8d8be3 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontblank.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontblank.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontcolor.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontcolor.bin index fd68fd47..bf1199f7 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontcolor.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svfrontcolor.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex1.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex1.bin index 972d52bf..2c8b5481 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex1.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex1.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex2.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex2.bin index 4e2b2897..61f10ad2 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex2.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svfronttex2.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svside.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svside.bin index 136ff475..fdb79494 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svside.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svsideblank.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svsideblank.bin index b9155e05..740a3e25 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svsideblank.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svsideblank.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svsidecolor.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svsidecolor.bin index 351fab86..5855950e 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svsidecolor.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svsidecolor.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_svsidetex.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_svsidetex.bin index e43b9e9d..535ee1f7 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_svsidetex.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_svsidetex.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_texture.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_texture.bin index d0b5bf56..524213b0 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_texture.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/dx11/fs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/dx11/fs_shadowvolume_texture_lightning.bin index 98da6a6e..f306c930 100644 Binary files a/examples/runtime/shaders/dx11/fs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/dx11/fs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/fs_sms_mesh.bin b/examples/runtime/shaders/dx11/fs_sms_mesh.bin index b6a8f29e..899a9ae1 100644 Binary files a/examples/runtime/shaders/dx11/fs_sms_mesh.bin and b/examples/runtime/shaders/dx11/fs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/fs_sms_mesh_pd.bin b/examples/runtime/shaders/dx11/fs_sms_mesh_pd.bin index 7e36b667..bca92a92 100644 Binary files a/examples/runtime/shaders/dx11/fs_sms_mesh_pd.bin and b/examples/runtime/shaders/dx11/fs_sms_mesh_pd.bin differ diff --git a/examples/runtime/shaders/dx11/fs_sms_shadow.bin b/examples/runtime/shaders/dx11/fs_sms_shadow.bin index f7e830d1..09587f1f 100644 Binary files a/examples/runtime/shaders/dx11/fs_sms_shadow.bin and b/examples/runtime/shaders/dx11/fs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/dx11/fs_sms_shadow_pd.bin b/examples/runtime/shaders/dx11/fs_sms_shadow_pd.bin index 34c90de8..d5f13f07 100644 Binary files a/examples/runtime/shaders/dx11/fs_sms_shadow_pd.bin and b/examples/runtime/shaders/dx11/fs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/dx11/fs_stencil_color_black.bin b/examples/runtime/shaders/dx11/fs_stencil_color_black.bin index f7e830d1..09587f1f 100644 Binary files a/examples/runtime/shaders/dx11/fs_stencil_color_black.bin and b/examples/runtime/shaders/dx11/fs_stencil_color_black.bin differ diff --git a/examples/runtime/shaders/dx11/fs_stencil_color_lightning.bin b/examples/runtime/shaders/dx11/fs_stencil_color_lightning.bin index 9785161b..c10b8566 100644 Binary files a/examples/runtime/shaders/dx11/fs_stencil_color_lightning.bin and b/examples/runtime/shaders/dx11/fs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/fs_stencil_color_texture.bin b/examples/runtime/shaders/dx11/fs_stencil_color_texture.bin index 62ca6dc9..fe0aefd7 100644 Binary files a/examples/runtime/shaders/dx11/fs_stencil_color_texture.bin and b/examples/runtime/shaders/dx11/fs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/dx11/fs_stencil_texture.bin b/examples/runtime/shaders/dx11/fs_stencil_texture.bin index d0b5bf56..524213b0 100644 Binary files a/examples/runtime/shaders/dx11/fs_stencil_texture.bin and b/examples/runtime/shaders/dx11/fs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/dx11/fs_stencil_texture_lightning.bin b/examples/runtime/shaders/dx11/fs_stencil_texture_lightning.bin index 92b3e817..ec52e706 100644 Binary files a/examples/runtime/shaders/dx11/fs_stencil_texture_lightning.bin and b/examples/runtime/shaders/dx11/fs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/fs_tree.bin b/examples/runtime/shaders/dx11/fs_tree.bin index 4d040930..c54919f9 100644 Binary files a/examples/runtime/shaders/dx11/fs_tree.bin and b/examples/runtime/shaders/dx11/fs_tree.bin differ diff --git a/examples/runtime/shaders/dx11/fs_update.bin b/examples/runtime/shaders/dx11/fs_update.bin index 87c9e894..972703dc 100644 Binary files a/examples/runtime/shaders/dx11/fs_update.bin and b/examples/runtime/shaders/dx11/fs_update.bin differ diff --git a/examples/runtime/shaders/dx11/fs_update_cmp.bin b/examples/runtime/shaders/dx11/fs_update_cmp.bin index 45611c69..b9618839 100644 Binary files a/examples/runtime/shaders/dx11/fs_update_cmp.bin and b/examples/runtime/shaders/dx11/fs_update_cmp.bin differ diff --git a/examples/runtime/shaders/dx11/vs_bump.bin b/examples/runtime/shaders/dx11/vs_bump.bin index 4fbda56a..cca5b9ef 100644 Binary files a/examples/runtime/shaders/dx11/vs_bump.bin and b/examples/runtime/shaders/dx11/vs_bump.bin differ diff --git a/examples/runtime/shaders/dx11/vs_bump_instanced.bin b/examples/runtime/shaders/dx11/vs_bump_instanced.bin index 62cc500f..0a532e91 100644 Binary files a/examples/runtime/shaders/dx11/vs_bump_instanced.bin and b/examples/runtime/shaders/dx11/vs_bump_instanced.bin differ diff --git a/examples/runtime/shaders/dx11/vs_callback.bin b/examples/runtime/shaders/dx11/vs_callback.bin index d69fd3de..bd1a22d0 100644 Binary files a/examples/runtime/shaders/dx11/vs_callback.bin and b/examples/runtime/shaders/dx11/vs_callback.bin differ diff --git a/examples/runtime/shaders/dx11/vs_cubes.bin b/examples/runtime/shaders/dx11/vs_cubes.bin index 7dfd9943..4803bbb7 100644 Binary files a/examples/runtime/shaders/dx11/vs_cubes.bin and b/examples/runtime/shaders/dx11/vs_cubes.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_blur.bin b/examples/runtime/shaders/dx11/vs_hdr_blur.bin index e79aa8ce..d99d20f9 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_blur.bin and b/examples/runtime/shaders/dx11/vs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_bright.bin b/examples/runtime/shaders/dx11/vs_hdr_bright.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_bright.bin and b/examples/runtime/shaders/dx11/vs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_lum.bin b/examples/runtime/shaders/dx11/vs_hdr_lum.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_lum.bin and b/examples/runtime/shaders/dx11/vs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_lumavg.bin b/examples/runtime/shaders/dx11/vs_hdr_lumavg.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_lumavg.bin and b/examples/runtime/shaders/dx11/vs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_mesh.bin b/examples/runtime/shaders/dx11/vs_hdr_mesh.bin index db95d94c..64f5057d 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_mesh.bin and b/examples/runtime/shaders/dx11/vs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_skybox.bin b/examples/runtime/shaders/dx11/vs_hdr_skybox.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_skybox.bin and b/examples/runtime/shaders/dx11/vs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/dx11/vs_hdr_tonemap.bin b/examples/runtime/shaders/dx11/vs_hdr_tonemap.bin index 76d47435..cb201084 100644 Binary files a/examples/runtime/shaders/dx11/vs_hdr_tonemap.bin and b/examples/runtime/shaders/dx11/vs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/dx11/vs_ibl_mesh.bin b/examples/runtime/shaders/dx11/vs_ibl_mesh.bin index 35921a41..2b6ec12f 100644 Binary files a/examples/runtime/shaders/dx11/vs_ibl_mesh.bin and b/examples/runtime/shaders/dx11/vs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/vs_ibl_skybox.bin b/examples/runtime/shaders/dx11/vs_ibl_skybox.bin index 47d12360..d6436f85 100644 Binary files a/examples/runtime/shaders/dx11/vs_ibl_skybox.bin and b/examples/runtime/shaders/dx11/vs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/dx11/vs_instancing.bin b/examples/runtime/shaders/dx11/vs_instancing.bin index 437c7c4c..005bc967 100644 Binary files a/examples/runtime/shaders/dx11/vs_instancing.bin and b/examples/runtime/shaders/dx11/vs_instancing.bin differ diff --git a/examples/runtime/shaders/dx11/vs_mesh.bin b/examples/runtime/shaders/dx11/vs_mesh.bin index ba48e8d1..e9c28e7d 100644 Binary files a/examples/runtime/shaders/dx11/vs_mesh.bin and b/examples/runtime/shaders/dx11/vs_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/vs_oit.bin b/examples/runtime/shaders/dx11/vs_oit.bin index 93ddbf43..86def6fc 100644 Binary files a/examples/runtime/shaders/dx11/vs_oit.bin and b/examples/runtime/shaders/dx11/vs_oit.bin differ diff --git a/examples/runtime/shaders/dx11/vs_oit_blit.bin b/examples/runtime/shaders/dx11/vs_oit_blit.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_oit_blit.bin and b/examples/runtime/shaders/dx11/vs_oit_blit.bin differ diff --git a/examples/runtime/shaders/dx11/vs_raymarching.bin b/examples/runtime/shaders/dx11/vs_raymarching.bin index bd6721ff..91418984 100644 Binary files a/examples/runtime/shaders/dx11/vs_raymarching.bin and b/examples/runtime/shaders/dx11/vs_raymarching.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color.bin index 8d1c316d..8f631ca7 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning.bin index b28e9001..ca35a2b0 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_csm.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_csm.bin index 6bdf3ecd..9bc6cf79 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_csm.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_csm.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear.bin index e37d00c5..1156d48c 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_csm.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_csm.bin index 83bb1fe1..a5d067e0 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_csm.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_omni.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_omni.bin index 80dee49e..f704e651 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_omni.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_omni.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_omni.bin index 0b639020..9b0fdd3c 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_omni.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_lightning_omni.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_color_texture.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_color_texture.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_depth.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_depth.bin index 8d1c316d..8f631ca7 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_depth.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_depth.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_hblur.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_hblur.bin index d1883e8e..9f3c8910 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_hblur.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth.bin index b2385656..537c8244 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth_linear.bin index e5f3d620..b38bafc7 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_texture.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_texture.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_texture.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_texture_lightning.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_texture_lightning.bin index 29ae0f78..749e8d64 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_texture_lightning.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_unpackdepth.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowmaps_vblur.bin b/examples/runtime/shaders/dx11/vs_shadowmaps_vblur.bin index 54f43407..701bbab8 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowmaps_vblur.bin and b/examples/runtime/shaders/dx11/vs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_color_lightning.bin index d6858b06..6fc10ae3 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_color_texture.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_color_texture.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_svback.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_svback.bin index 8f2ba9e9..7f80af3f 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_svback.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_svback.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_svfront.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_svfront.bin index 8d1c316d..8f631ca7 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_svfront.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_svfront.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_svside.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_svside.bin index 73918313..794585a7 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_svside.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_texture.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_texture.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_texture.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/dx11/vs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/dx11/vs_shadowvolume_texture_lightning.bin index 70d72e53..97fb013a 100644 Binary files a/examples/runtime/shaders/dx11/vs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/dx11/vs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/vs_sms_mesh.bin b/examples/runtime/shaders/dx11/vs_sms_mesh.bin index 84d9b5f6..55069f8b 100644 Binary files a/examples/runtime/shaders/dx11/vs_sms_mesh.bin and b/examples/runtime/shaders/dx11/vs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/dx11/vs_sms_shadow.bin b/examples/runtime/shaders/dx11/vs_sms_shadow.bin index 8d1c316d..8f631ca7 100644 Binary files a/examples/runtime/shaders/dx11/vs_sms_shadow.bin and b/examples/runtime/shaders/dx11/vs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/dx11/vs_sms_shadow_pd.bin b/examples/runtime/shaders/dx11/vs_sms_shadow_pd.bin index 13dbd1c8..d0c7a8d6 100644 Binary files a/examples/runtime/shaders/dx11/vs_sms_shadow_pd.bin and b/examples/runtime/shaders/dx11/vs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/dx11/vs_stencil_color.bin b/examples/runtime/shaders/dx11/vs_stencil_color.bin index 8d1c316d..8f631ca7 100644 Binary files a/examples/runtime/shaders/dx11/vs_stencil_color.bin and b/examples/runtime/shaders/dx11/vs_stencil_color.bin differ diff --git a/examples/runtime/shaders/dx11/vs_stencil_color_lightning.bin b/examples/runtime/shaders/dx11/vs_stencil_color_lightning.bin index 58495b0e..3c20b2bd 100644 Binary files a/examples/runtime/shaders/dx11/vs_stencil_color_lightning.bin and b/examples/runtime/shaders/dx11/vs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/vs_stencil_color_texture.bin b/examples/runtime/shaders/dx11/vs_stencil_color_texture.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_stencil_color_texture.bin and b/examples/runtime/shaders/dx11/vs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/dx11/vs_stencil_texture.bin b/examples/runtime/shaders/dx11/vs_stencil_texture.bin index b88cdfb3..f4c1ac17 100644 Binary files a/examples/runtime/shaders/dx11/vs_stencil_texture.bin and b/examples/runtime/shaders/dx11/vs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/dx11/vs_stencil_texture_lightning.bin b/examples/runtime/shaders/dx11/vs_stencil_texture_lightning.bin index 2fbf5221..9dbd2d97 100644 Binary files a/examples/runtime/shaders/dx11/vs_stencil_texture_lightning.bin and b/examples/runtime/shaders/dx11/vs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx11/vs_tree.bin b/examples/runtime/shaders/dx11/vs_tree.bin index 9d41e9b2..635fdac2 100644 Binary files a/examples/runtime/shaders/dx11/vs_tree.bin and b/examples/runtime/shaders/dx11/vs_tree.bin differ diff --git a/examples/runtime/shaders/dx11/vs_update.bin b/examples/runtime/shaders/dx11/vs_update.bin index f27df577..2c056b0f 100644 Binary files a/examples/runtime/shaders/dx11/vs_update.bin and b/examples/runtime/shaders/dx11/vs_update.bin differ diff --git a/examples/runtime/shaders/dx9/fs_bump.bin b/examples/runtime/shaders/dx9/fs_bump.bin index 0502bd2b..d0b8b8f5 100644 Binary files a/examples/runtime/shaders/dx9/fs_bump.bin and b/examples/runtime/shaders/dx9/fs_bump.bin differ diff --git a/examples/runtime/shaders/dx9/fs_callback.bin b/examples/runtime/shaders/dx9/fs_callback.bin index 41decf58..a4e36fee 100644 Binary files a/examples/runtime/shaders/dx9/fs_callback.bin and b/examples/runtime/shaders/dx9/fs_callback.bin differ diff --git a/examples/runtime/shaders/dx9/fs_cubes.bin b/examples/runtime/shaders/dx9/fs_cubes.bin index e745afa1..072c8b08 100644 Binary files a/examples/runtime/shaders/dx9/fs_cubes.bin and b/examples/runtime/shaders/dx9/fs_cubes.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_blur.bin b/examples/runtime/shaders/dx9/fs_hdr_blur.bin index a4557a51..16ca0816 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_blur.bin and b/examples/runtime/shaders/dx9/fs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_bright.bin b/examples/runtime/shaders/dx9/fs_hdr_bright.bin index cc16bfee..efa24fb3 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_bright.bin and b/examples/runtime/shaders/dx9/fs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_lum.bin b/examples/runtime/shaders/dx9/fs_hdr_lum.bin index 300fb8ca..717202fc 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_lum.bin and b/examples/runtime/shaders/dx9/fs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_lumavg.bin b/examples/runtime/shaders/dx9/fs_hdr_lumavg.bin index e7286543..9c267a51 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_lumavg.bin and b/examples/runtime/shaders/dx9/fs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_mesh.bin b/examples/runtime/shaders/dx9/fs_hdr_mesh.bin index 2982481f..41761808 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_mesh.bin and b/examples/runtime/shaders/dx9/fs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_skybox.bin b/examples/runtime/shaders/dx9/fs_hdr_skybox.bin index 5175b3f7..fe6c92e9 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_skybox.bin and b/examples/runtime/shaders/dx9/fs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/dx9/fs_hdr_tonemap.bin b/examples/runtime/shaders/dx9/fs_hdr_tonemap.bin index 1e0ccc03..af7f6056 100644 Binary files a/examples/runtime/shaders/dx9/fs_hdr_tonemap.bin and b/examples/runtime/shaders/dx9/fs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/dx9/fs_ibl_mesh.bin b/examples/runtime/shaders/dx9/fs_ibl_mesh.bin index 020be288..17a0d7ec 100644 Binary files a/examples/runtime/shaders/dx9/fs_ibl_mesh.bin and b/examples/runtime/shaders/dx9/fs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/fs_ibl_skybox.bin b/examples/runtime/shaders/dx9/fs_ibl_skybox.bin index b6fb0302..198b705e 100644 Binary files a/examples/runtime/shaders/dx9/fs_ibl_skybox.bin and b/examples/runtime/shaders/dx9/fs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/dx9/fs_instancing.bin b/examples/runtime/shaders/dx9/fs_instancing.bin index e745afa1..072c8b08 100644 Binary files a/examples/runtime/shaders/dx9/fs_instancing.bin and b/examples/runtime/shaders/dx9/fs_instancing.bin differ diff --git a/examples/runtime/shaders/dx9/fs_mesh.bin b/examples/runtime/shaders/dx9/fs_mesh.bin index 8331d7ab..fe173e8d 100644 Binary files a/examples/runtime/shaders/dx9/fs_mesh.bin and b/examples/runtime/shaders/dx9/fs_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/fs_oit.bin b/examples/runtime/shaders/dx9/fs_oit.bin index 90ed505d..c9b9b1bb 100644 Binary files a/examples/runtime/shaders/dx9/fs_oit.bin and b/examples/runtime/shaders/dx9/fs_oit.bin differ diff --git a/examples/runtime/shaders/dx9/fs_oit_wb.bin b/examples/runtime/shaders/dx9/fs_oit_wb.bin index 0190d7ba..1ba9eb47 100644 Binary files a/examples/runtime/shaders/dx9/fs_oit_wb.bin and b/examples/runtime/shaders/dx9/fs_oit_wb.bin differ diff --git a/examples/runtime/shaders/dx9/fs_oit_wb_blit.bin b/examples/runtime/shaders/dx9/fs_oit_wb_blit.bin index cc655707..f3ff2385 100644 Binary files a/examples/runtime/shaders/dx9/fs_oit_wb_blit.bin and b/examples/runtime/shaders/dx9/fs_oit_wb_blit.bin differ diff --git a/examples/runtime/shaders/dx9/fs_oit_wb_separate.bin b/examples/runtime/shaders/dx9/fs_oit_wb_separate.bin index 4458c8ea..cf819274 100644 Binary files a/examples/runtime/shaders/dx9/fs_oit_wb_separate.bin and b/examples/runtime/shaders/dx9/fs_oit_wb_separate.bin differ diff --git a/examples/runtime/shaders/dx9/fs_oit_wb_separate_blit.bin b/examples/runtime/shaders/dx9/fs_oit_wb_separate_blit.bin index 99ee5f12..b252f6f4 100644 Binary files a/examples/runtime/shaders/dx9/fs_oit_wb_separate_blit.bin and b/examples/runtime/shaders/dx9/fs_oit_wb_separate_blit.bin differ diff --git a/examples/runtime/shaders/dx9/fs_raymarching.bin b/examples/runtime/shaders/dx9/fs_raymarching.bin index ecd92137..365808b6 100644 Binary files a/examples/runtime/shaders/dx9/fs_raymarching.bin and b/examples/runtime/shaders/dx9/fs_raymarching.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_black.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_black.bin index fb479325..53decdc9 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_black.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_black.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm.bin index 581a58ea..b124f7a3 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_csm.bin index 3f444477..585237b2 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear.bin index 54f8144d..1c85aaef 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_csm.bin index 89341bab..9d80c09d 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_omni.bin index 8fc947b4..e99b1214 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_omni.bin index 82444520..3113c82e 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_esm_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard.bin index 6c54fa76..202981e1 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_csm.bin index 068658e5..ee4a5890 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear.bin index 8fe7a1c0..28df018e 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_csm.bin index a1afa780..337a266e 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_omni.bin index 5a2574f5..719872f7 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_omni.bin index 3b68ad7a..2cce993c 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_hard_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf.bin index e6e27f28..97977841 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_csm.bin index 5507cf1c..5d345b0f 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear.bin index b6d7281e..68593e60 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_csm.bin index 7a0d785e..a4eaffc5 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_omni.bin index fb800de7..188fddbf 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_omni.bin index 4a327291..f163b417 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_pcf_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm.bin index 7120c2b8..b0c0b6b7 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_csm.bin index 3c87500e..b7a0d90b 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear.bin index 782a8717..ac7bc91c 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_csm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_csm.bin index 2bc56729..81c959ca 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_csm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_omni.bin index 01ba9cbe..880a1965 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_omni.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_omni.bin index 9a8fe100..c06f2a88 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_omni.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_lightning_vsm_omni.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_color_texture.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_color_texture.bin index 1f0654e2..72512467 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_hblur.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_hblur.bin index 6f146b35..fdb7fa69 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_hblur.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_hblur_vsm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_hblur_vsm.bin index 98adc6b7..35d37d6b 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_hblur_vsm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_hblur_vsm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth.bin index 2b0e5a4b..a5e3c8fd 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_linear.bin index fc8a5817..07d7f51c 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm.bin index 2146c00d..c0f2f5a7 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm_linear.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm_linear.bin index 6640824e..3a5a2f3b 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm_linear.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_packdepth_vsm_linear.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_texture.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_texture.bin index 2b3e61e5..ec8da65a 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_texture.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth.bin index 449463c0..06d13566 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth_vsm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth_vsm.bin index a67b24ff..3e59ab66 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth_vsm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_unpackdepth_vsm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_vblur.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_vblur.bin index 6f146b35..fdb7fa69 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_vblur.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowmaps_vblur_vsm.bin b/examples/runtime/shaders/dx9/fs_shadowmaps_vblur_vsm.bin index 98adc6b7..35d37d6b 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowmaps_vblur_vsm.bin and b/examples/runtime/shaders/dx9/fs_shadowmaps_vblur_vsm.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_color_lightning.bin index 07508178..a0487c20 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_color_texture.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_color_texture.bin index 1f0654e2..72512467 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svbackblank.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svbackblank.bin index 7a771b4d..95885932 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svbackblank.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svbackblank.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svbackcolor.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svbackcolor.bin index 929689b3..a531ea7c 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svbackcolor.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svbackcolor.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex1.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex1.bin index 6e671694..d190bec2 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex1.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex1.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex2.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex2.bin index c8cc9236..4497e8eb 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex2.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svbacktex2.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontblank.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontblank.bin index e5b9e030..f119c648 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontblank.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontblank.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontcolor.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontcolor.bin index 929689b3..a531ea7c 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontcolor.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svfrontcolor.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex1.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex1.bin index 6e671694..d190bec2 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex1.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex1.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex2.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex2.bin index c8cc9236..4497e8eb 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex2.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svfronttex2.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svside.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svside.bin index d63c0bae..c5867daa 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svside.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svsideblank.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svsideblank.bin index 5f2fb10f..09d5f223 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svsideblank.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svsideblank.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svsidecolor.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svsidecolor.bin index 586a0692..edccc011 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svsidecolor.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svsidecolor.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_svsidetex.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_svsidetex.bin index 2e7a8d69..81160d45 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_svsidetex.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_svsidetex.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_texture.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_texture.bin index 2b3e61e5..ec8da65a 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_texture.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/dx9/fs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/dx9/fs_shadowvolume_texture_lightning.bin index af36ddb9..5bbe835c 100644 Binary files a/examples/runtime/shaders/dx9/fs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/dx9/fs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/fs_sms_mesh.bin b/examples/runtime/shaders/dx9/fs_sms_mesh.bin index 32944751..2b36a073 100644 Binary files a/examples/runtime/shaders/dx9/fs_sms_mesh.bin and b/examples/runtime/shaders/dx9/fs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/fs_sms_mesh_pd.bin b/examples/runtime/shaders/dx9/fs_sms_mesh_pd.bin index b98c96ed..621c0de9 100644 Binary files a/examples/runtime/shaders/dx9/fs_sms_mesh_pd.bin and b/examples/runtime/shaders/dx9/fs_sms_mesh_pd.bin differ diff --git a/examples/runtime/shaders/dx9/fs_sms_shadow.bin b/examples/runtime/shaders/dx9/fs_sms_shadow.bin index fb479325..53decdc9 100644 Binary files a/examples/runtime/shaders/dx9/fs_sms_shadow.bin and b/examples/runtime/shaders/dx9/fs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/dx9/fs_sms_shadow_pd.bin b/examples/runtime/shaders/dx9/fs_sms_shadow_pd.bin index b466d259..cf380506 100644 Binary files a/examples/runtime/shaders/dx9/fs_sms_shadow_pd.bin and b/examples/runtime/shaders/dx9/fs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/dx9/fs_stencil_color_black.bin b/examples/runtime/shaders/dx9/fs_stencil_color_black.bin index fb479325..53decdc9 100644 Binary files a/examples/runtime/shaders/dx9/fs_stencil_color_black.bin and b/examples/runtime/shaders/dx9/fs_stencil_color_black.bin differ diff --git a/examples/runtime/shaders/dx9/fs_stencil_color_lightning.bin b/examples/runtime/shaders/dx9/fs_stencil_color_lightning.bin index 45dad305..3e0e9ce5 100644 Binary files a/examples/runtime/shaders/dx9/fs_stencil_color_lightning.bin and b/examples/runtime/shaders/dx9/fs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/fs_stencil_color_texture.bin b/examples/runtime/shaders/dx9/fs_stencil_color_texture.bin index 1f0654e2..72512467 100644 Binary files a/examples/runtime/shaders/dx9/fs_stencil_color_texture.bin and b/examples/runtime/shaders/dx9/fs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/dx9/fs_stencil_texture.bin b/examples/runtime/shaders/dx9/fs_stencil_texture.bin index 2b3e61e5..ec8da65a 100644 Binary files a/examples/runtime/shaders/dx9/fs_stencil_texture.bin and b/examples/runtime/shaders/dx9/fs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/dx9/fs_stencil_texture_lightning.bin b/examples/runtime/shaders/dx9/fs_stencil_texture_lightning.bin index 2a5bee05..e8caddfb 100644 Binary files a/examples/runtime/shaders/dx9/fs_stencil_texture_lightning.bin and b/examples/runtime/shaders/dx9/fs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/fs_tree.bin b/examples/runtime/shaders/dx9/fs_tree.bin index f6b485dc..5c472abe 100644 Binary files a/examples/runtime/shaders/dx9/fs_tree.bin and b/examples/runtime/shaders/dx9/fs_tree.bin differ diff --git a/examples/runtime/shaders/dx9/fs_update.bin b/examples/runtime/shaders/dx9/fs_update.bin index 1541e2e9..143f189b 100644 Binary files a/examples/runtime/shaders/dx9/fs_update.bin and b/examples/runtime/shaders/dx9/fs_update.bin differ diff --git a/examples/runtime/shaders/dx9/fs_update_cmp.bin b/examples/runtime/shaders/dx9/fs_update_cmp.bin index 7d23b36d..2fb1cad9 100644 Binary files a/examples/runtime/shaders/dx9/fs_update_cmp.bin and b/examples/runtime/shaders/dx9/fs_update_cmp.bin differ diff --git a/examples/runtime/shaders/dx9/vs_bump.bin b/examples/runtime/shaders/dx9/vs_bump.bin index a3ddef86..d2e832bf 100644 Binary files a/examples/runtime/shaders/dx9/vs_bump.bin and b/examples/runtime/shaders/dx9/vs_bump.bin differ diff --git a/examples/runtime/shaders/dx9/vs_bump_instanced.bin b/examples/runtime/shaders/dx9/vs_bump_instanced.bin index 4098bb5b..c70dfa4a 100644 Binary files a/examples/runtime/shaders/dx9/vs_bump_instanced.bin and b/examples/runtime/shaders/dx9/vs_bump_instanced.bin differ diff --git a/examples/runtime/shaders/dx9/vs_callback.bin b/examples/runtime/shaders/dx9/vs_callback.bin index 2774c527..b511fede 100644 Binary files a/examples/runtime/shaders/dx9/vs_callback.bin and b/examples/runtime/shaders/dx9/vs_callback.bin differ diff --git a/examples/runtime/shaders/dx9/vs_cubes.bin b/examples/runtime/shaders/dx9/vs_cubes.bin index 07a0ef03..76665588 100644 Binary files a/examples/runtime/shaders/dx9/vs_cubes.bin and b/examples/runtime/shaders/dx9/vs_cubes.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_blur.bin b/examples/runtime/shaders/dx9/vs_hdr_blur.bin index 329e586d..c482e839 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_blur.bin and b/examples/runtime/shaders/dx9/vs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_bright.bin b/examples/runtime/shaders/dx9/vs_hdr_bright.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_bright.bin and b/examples/runtime/shaders/dx9/vs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_lum.bin b/examples/runtime/shaders/dx9/vs_hdr_lum.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_lum.bin and b/examples/runtime/shaders/dx9/vs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_lumavg.bin b/examples/runtime/shaders/dx9/vs_hdr_lumavg.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_lumavg.bin and b/examples/runtime/shaders/dx9/vs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_mesh.bin b/examples/runtime/shaders/dx9/vs_hdr_mesh.bin index eb3752ee..30ed3391 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_mesh.bin and b/examples/runtime/shaders/dx9/vs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_skybox.bin b/examples/runtime/shaders/dx9/vs_hdr_skybox.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_skybox.bin and b/examples/runtime/shaders/dx9/vs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/dx9/vs_hdr_tonemap.bin b/examples/runtime/shaders/dx9/vs_hdr_tonemap.bin index 88bd40b8..319649ba 100644 Binary files a/examples/runtime/shaders/dx9/vs_hdr_tonemap.bin and b/examples/runtime/shaders/dx9/vs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/dx9/vs_ibl_mesh.bin b/examples/runtime/shaders/dx9/vs_ibl_mesh.bin index 19af6893..89044f0c 100644 Binary files a/examples/runtime/shaders/dx9/vs_ibl_mesh.bin and b/examples/runtime/shaders/dx9/vs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/vs_ibl_skybox.bin b/examples/runtime/shaders/dx9/vs_ibl_skybox.bin index d6b7bd37..a794f4e5 100644 Binary files a/examples/runtime/shaders/dx9/vs_ibl_skybox.bin and b/examples/runtime/shaders/dx9/vs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/dx9/vs_instancing.bin b/examples/runtime/shaders/dx9/vs_instancing.bin index a01aad0c..3a254d5b 100644 Binary files a/examples/runtime/shaders/dx9/vs_instancing.bin and b/examples/runtime/shaders/dx9/vs_instancing.bin differ diff --git a/examples/runtime/shaders/dx9/vs_mesh.bin b/examples/runtime/shaders/dx9/vs_mesh.bin index b9866eeb..752b7fad 100644 Binary files a/examples/runtime/shaders/dx9/vs_mesh.bin and b/examples/runtime/shaders/dx9/vs_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/vs_oit.bin b/examples/runtime/shaders/dx9/vs_oit.bin index 39d58af3..119d0c93 100644 Binary files a/examples/runtime/shaders/dx9/vs_oit.bin and b/examples/runtime/shaders/dx9/vs_oit.bin differ diff --git a/examples/runtime/shaders/dx9/vs_oit_blit.bin b/examples/runtime/shaders/dx9/vs_oit_blit.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_oit_blit.bin and b/examples/runtime/shaders/dx9/vs_oit_blit.bin differ diff --git a/examples/runtime/shaders/dx9/vs_raymarching.bin b/examples/runtime/shaders/dx9/vs_raymarching.bin index 449fd0bc..fb901b6e 100644 Binary files a/examples/runtime/shaders/dx9/vs_raymarching.bin and b/examples/runtime/shaders/dx9/vs_raymarching.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color.bin index bfc86c98..32954785 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning.bin index 92f8ddd9..23900188 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_csm.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_csm.bin index 4444820a..bc6b5a0b 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_csm.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_csm.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear.bin index 0ab53678..f603f0cf 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_csm.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_csm.bin index 9dfd7ed6..242dd13f 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_csm.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_csm.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_omni.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_omni.bin index afdbe80d..e8d7fa17 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_omni.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_linear_omni.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_omni.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_omni.bin index b1aab2c4..2b1ee2a0 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_omni.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_lightning_omni.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_color_texture.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_color_texture.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_depth.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_depth.bin index bfc86c98..32954785 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_depth.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_depth.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_hblur.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_hblur.bin index d3c2321a..74010f5e 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_hblur.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth.bin index cebcd955..cec31db5 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth_linear.bin index 451a7056..514263c1 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_texture.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_texture.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_texture.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_texture_lightning.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_texture_lightning.bin index fa1b4501..2ae5520c 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_texture_lightning.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_unpackdepth.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowmaps_vblur.bin b/examples/runtime/shaders/dx9/vs_shadowmaps_vblur.bin index 018160e6..2f60ed97 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowmaps_vblur.bin and b/examples/runtime/shaders/dx9/vs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_color_lightning.bin index 74c9e982..9f6d3409 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_color_texture.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_color_texture.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_svback.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_svback.bin index 9d5c330e..ccae1ba7 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_svback.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_svback.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_svfront.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_svfront.bin index bfc86c98..32954785 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_svfront.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_svfront.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_svside.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_svside.bin index 832ed763..22f53885 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_svside.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_texture.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_texture.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_texture.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/dx9/vs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/dx9/vs_shadowvolume_texture_lightning.bin index ae0b90d9..6d9277a6 100644 Binary files a/examples/runtime/shaders/dx9/vs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/dx9/vs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/vs_sms_mesh.bin b/examples/runtime/shaders/dx9/vs_sms_mesh.bin index 35aff2fc..c5433e4c 100644 Binary files a/examples/runtime/shaders/dx9/vs_sms_mesh.bin and b/examples/runtime/shaders/dx9/vs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/dx9/vs_sms_shadow.bin b/examples/runtime/shaders/dx9/vs_sms_shadow.bin index bfc86c98..32954785 100644 Binary files a/examples/runtime/shaders/dx9/vs_sms_shadow.bin and b/examples/runtime/shaders/dx9/vs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/dx9/vs_sms_shadow_pd.bin b/examples/runtime/shaders/dx9/vs_sms_shadow_pd.bin index 16d58b63..8d15e58a 100644 Binary files a/examples/runtime/shaders/dx9/vs_sms_shadow_pd.bin and b/examples/runtime/shaders/dx9/vs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/dx9/vs_stencil_color.bin b/examples/runtime/shaders/dx9/vs_stencil_color.bin index bfc86c98..32954785 100644 Binary files a/examples/runtime/shaders/dx9/vs_stencil_color.bin and b/examples/runtime/shaders/dx9/vs_stencil_color.bin differ diff --git a/examples/runtime/shaders/dx9/vs_stencil_color_lightning.bin b/examples/runtime/shaders/dx9/vs_stencil_color_lightning.bin index c8fca12c..07029bd4 100644 Binary files a/examples/runtime/shaders/dx9/vs_stencil_color_lightning.bin and b/examples/runtime/shaders/dx9/vs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/vs_stencil_color_texture.bin b/examples/runtime/shaders/dx9/vs_stencil_color_texture.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_stencil_color_texture.bin and b/examples/runtime/shaders/dx9/vs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/dx9/vs_stencil_texture.bin b/examples/runtime/shaders/dx9/vs_stencil_texture.bin index 781d95c7..feab2733 100644 Binary files a/examples/runtime/shaders/dx9/vs_stencil_texture.bin and b/examples/runtime/shaders/dx9/vs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/dx9/vs_stencil_texture_lightning.bin b/examples/runtime/shaders/dx9/vs_stencil_texture_lightning.bin index 1d849df0..80352daa 100644 Binary files a/examples/runtime/shaders/dx9/vs_stencil_texture_lightning.bin and b/examples/runtime/shaders/dx9/vs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/dx9/vs_tree.bin b/examples/runtime/shaders/dx9/vs_tree.bin index 547014eb..f4c40c17 100644 Binary files a/examples/runtime/shaders/dx9/vs_tree.bin and b/examples/runtime/shaders/dx9/vs_tree.bin differ diff --git a/examples/runtime/shaders/dx9/vs_update.bin b/examples/runtime/shaders/dx9/vs_update.bin index 8499c5b9..2cb6e3fc 100644 Binary files a/examples/runtime/shaders/dx9/vs_update.bin and b/examples/runtime/shaders/dx9/vs_update.bin differ diff --git a/examples/runtime/shaders/gles/fs_bump.bin b/examples/runtime/shaders/gles/fs_bump.bin index 766c04f7..3172f9cd 100644 Binary files a/examples/runtime/shaders/gles/fs_bump.bin and b/examples/runtime/shaders/gles/fs_bump.bin differ diff --git a/examples/runtime/shaders/gles/fs_callback.bin b/examples/runtime/shaders/gles/fs_callback.bin index 8bccb6d5..245069ea 100644 Binary files a/examples/runtime/shaders/gles/fs_callback.bin and b/examples/runtime/shaders/gles/fs_callback.bin differ diff --git a/examples/runtime/shaders/gles/fs_cubes.bin b/examples/runtime/shaders/gles/fs_cubes.bin index e8eaca9b..2626de72 100644 Binary files a/examples/runtime/shaders/gles/fs_cubes.bin and b/examples/runtime/shaders/gles/fs_cubes.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_blur.bin b/examples/runtime/shaders/gles/fs_hdr_blur.bin index c952fabe..7778548f 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_blur.bin and b/examples/runtime/shaders/gles/fs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_bright.bin b/examples/runtime/shaders/gles/fs_hdr_bright.bin index 7e8338f1..e329f4ec 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_bright.bin and b/examples/runtime/shaders/gles/fs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_lum.bin b/examples/runtime/shaders/gles/fs_hdr_lum.bin index 0554340a..d9a86861 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_lum.bin and b/examples/runtime/shaders/gles/fs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_lumavg.bin b/examples/runtime/shaders/gles/fs_hdr_lumavg.bin index 29963d5f..234272e2 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_lumavg.bin and b/examples/runtime/shaders/gles/fs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_mesh.bin b/examples/runtime/shaders/gles/fs_hdr_mesh.bin index cba54e02..28dde281 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_mesh.bin and b/examples/runtime/shaders/gles/fs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_skybox.bin b/examples/runtime/shaders/gles/fs_hdr_skybox.bin index ba0dde7c..06bc4113 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_skybox.bin and b/examples/runtime/shaders/gles/fs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/gles/fs_hdr_tonemap.bin b/examples/runtime/shaders/gles/fs_hdr_tonemap.bin index 708c8ebf..812c6990 100644 Binary files a/examples/runtime/shaders/gles/fs_hdr_tonemap.bin and b/examples/runtime/shaders/gles/fs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/gles/fs_ibl_mesh.bin b/examples/runtime/shaders/gles/fs_ibl_mesh.bin index c3ab10dc..b80a9e88 100644 Binary files a/examples/runtime/shaders/gles/fs_ibl_mesh.bin and b/examples/runtime/shaders/gles/fs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/gles/fs_ibl_skybox.bin b/examples/runtime/shaders/gles/fs_ibl_skybox.bin index c3f6a251..95067f46 100644 Binary files a/examples/runtime/shaders/gles/fs_ibl_skybox.bin and b/examples/runtime/shaders/gles/fs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/gles/fs_instancing.bin b/examples/runtime/shaders/gles/fs_instancing.bin index e8eaca9b..2626de72 100644 Binary files a/examples/runtime/shaders/gles/fs_instancing.bin and b/examples/runtime/shaders/gles/fs_instancing.bin differ diff --git a/examples/runtime/shaders/gles/fs_mesh.bin b/examples/runtime/shaders/gles/fs_mesh.bin index 1c496cec..14ddba5f 100644 Binary files a/examples/runtime/shaders/gles/fs_mesh.bin and b/examples/runtime/shaders/gles/fs_mesh.bin differ diff --git a/examples/runtime/shaders/gles/fs_oit.bin b/examples/runtime/shaders/gles/fs_oit.bin index 1b0b8daf..46cf594c 100644 Binary files a/examples/runtime/shaders/gles/fs_oit.bin and b/examples/runtime/shaders/gles/fs_oit.bin differ diff --git a/examples/runtime/shaders/gles/fs_oit_wb.bin b/examples/runtime/shaders/gles/fs_oit_wb.bin index 57d5a778..ee067285 100644 Binary files a/examples/runtime/shaders/gles/fs_oit_wb.bin and b/examples/runtime/shaders/gles/fs_oit_wb.bin differ diff --git a/examples/runtime/shaders/gles/fs_oit_wb_blit.bin b/examples/runtime/shaders/gles/fs_oit_wb_blit.bin index 2679c0f1..bbee0173 100644 Binary files a/examples/runtime/shaders/gles/fs_oit_wb_blit.bin and b/examples/runtime/shaders/gles/fs_oit_wb_blit.bin differ diff --git a/examples/runtime/shaders/gles/fs_oit_wb_separate.bin b/examples/runtime/shaders/gles/fs_oit_wb_separate.bin index c4139484..d0bfb9f8 100644 Binary files a/examples/runtime/shaders/gles/fs_oit_wb_separate.bin and b/examples/runtime/shaders/gles/fs_oit_wb_separate.bin differ diff --git a/examples/runtime/shaders/gles/fs_oit_wb_separate_blit.bin b/examples/runtime/shaders/gles/fs_oit_wb_separate_blit.bin index 56949553..46d7cc90 100644 Binary files a/examples/runtime/shaders/gles/fs_oit_wb_separate_blit.bin and b/examples/runtime/shaders/gles/fs_oit_wb_separate_blit.bin differ diff --git a/examples/runtime/shaders/gles/fs_raymarching.bin b/examples/runtime/shaders/gles/fs_raymarching.bin index 92fc169b..4a6dfb75 100644 Binary files a/examples/runtime/shaders/gles/fs_raymarching.bin and b/examples/runtime/shaders/gles/fs_raymarching.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_black.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_black.bin index f8753e88..e1169c71 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_black.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_black.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm.bin index 5a144e89..af818d5f 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_csm.bin index 90e40e96..32d7a0f3 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear.bin index 28e68819..af1e6596 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_csm.bin index 06754b05..db412874 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_omni.bin index ecf84ae6..0adb824a 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_linear_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_omni.bin index 87db9ef8..cd149891 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_esm_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard.bin index 1eda3504..ebdc5df9 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_csm.bin index da4d6052..8f0546ad 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear.bin index 5de6b5c6..6baabcc3 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_csm.bin index 97b5efb2..9d3f5382 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_omni.bin index 009f2e34..170e0d66 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_linear_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_omni.bin index 99be2d0d..91b80ff3 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_hard_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf.bin index eef7c6d6..49456ae4 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_csm.bin index d60f72b4..a85b7706 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear.bin index 0d85e359..05e3ed06 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_csm.bin index d4e92334..3050f5f7 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_omni.bin index 171e5162..0e84da1b 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_linear_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_omni.bin index cb27b607..0d7656a9 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_pcf_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm.bin index 74a16341..249555ac 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_csm.bin index 47c89a82..19b39d87 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear.bin index e730bc59..2e638246 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_csm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_csm.bin index 6238e27e..a1391dc8 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_csm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_csm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_omni.bin index 74a6abb9..ab658aba 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_linear_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_omni.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_omni.bin index 808b64c4..e07d46d4 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_omni.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_lightning_vsm_omni.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_color_texture.bin b/examples/runtime/shaders/gles/fs_shadowmaps_color_texture.bin index 8ed57e30..10384556 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_hblur.bin b/examples/runtime/shaders/gles/fs_shadowmaps_hblur.bin index 790f358f..04ed9a7c 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_hblur.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_hblur_vsm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_hblur_vsm.bin index 3ee17bbd..f08767e6 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_hblur_vsm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_hblur_vsm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth.bin b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth.bin index b03a160e..52fbfae8 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_linear.bin index 645245ce..d7c6cab1 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm.bin index 26e587b0..459b9da4 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm_linear.bin b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm_linear.bin index b8fb8465..5ca54c79 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm_linear.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_packdepth_vsm_linear.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_texture.bin b/examples/runtime/shaders/gles/fs_shadowmaps_texture.bin index 2fd6b720..fca7d77e 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_texture.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth.bin index f85ac2a3..6c688e6e 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth_vsm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth_vsm.bin index 37948c32..7941c3b8 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth_vsm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_unpackdepth_vsm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_vblur.bin b/examples/runtime/shaders/gles/fs_shadowmaps_vblur.bin index 790f358f..04ed9a7c 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_vblur.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowmaps_vblur_vsm.bin b/examples/runtime/shaders/gles/fs_shadowmaps_vblur_vsm.bin index 3ee17bbd..f08767e6 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowmaps_vblur_vsm.bin and b/examples/runtime/shaders/gles/fs_shadowmaps_vblur_vsm.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/gles/fs_shadowvolume_color_lightning.bin index 0630db5f..d56dd64e 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_color_texture.bin b/examples/runtime/shaders/gles/fs_shadowvolume_color_texture.bin index 8ed57e30..10384556 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svbackblank.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svbackblank.bin index 68f133c7..3bcf87c1 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svbackblank.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svbackblank.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svbackcolor.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svbackcolor.bin index 916f3f65..fce4cd17 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svbackcolor.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svbackcolor.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex1.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex1.bin index 182919e1..8bd3be60 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex1.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex1.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex2.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex2.bin index 43205e07..2ef998ea 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex2.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svbacktex2.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svfrontblank.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svfrontblank.bin index 7041b75d..61163f58 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svfrontblank.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svfrontblank.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svfrontcolor.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svfrontcolor.bin index 916f3f65..fce4cd17 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svfrontcolor.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svfrontcolor.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex1.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex1.bin index 5684c9ec..25fd3351 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex1.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex1.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex2.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex2.bin index f529f965..50dc6911 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex2.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svfronttex2.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svside.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svside.bin index 7354d9ab..5654d2d0 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svside.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svsideblank.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svsideblank.bin index b83220d7..72019d1f 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svsideblank.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svsideblank.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svsidecolor.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svsidecolor.bin index 95fc60e9..a2f79c05 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svsidecolor.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svsidecolor.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_svsidetex.bin b/examples/runtime/shaders/gles/fs_shadowvolume_svsidetex.bin index a0705628..f8ea3dac 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_svsidetex.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_svsidetex.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_texture.bin b/examples/runtime/shaders/gles/fs_shadowvolume_texture.bin index 2fd6b720..fca7d77e 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_texture.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/gles/fs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/gles/fs_shadowvolume_texture_lightning.bin index cd02d37f..569067f5 100644 Binary files a/examples/runtime/shaders/gles/fs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/gles/fs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/gles/fs_sms_mesh.bin b/examples/runtime/shaders/gles/fs_sms_mesh.bin index 6fd20c41..6387b4e9 100644 Binary files a/examples/runtime/shaders/gles/fs_sms_mesh.bin and b/examples/runtime/shaders/gles/fs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/gles/fs_sms_mesh_pd.bin b/examples/runtime/shaders/gles/fs_sms_mesh_pd.bin index c33c4370..e7f10154 100644 Binary files a/examples/runtime/shaders/gles/fs_sms_mesh_pd.bin and b/examples/runtime/shaders/gles/fs_sms_mesh_pd.bin differ diff --git a/examples/runtime/shaders/gles/fs_sms_shadow.bin b/examples/runtime/shaders/gles/fs_sms_shadow.bin index f8753e88..e1169c71 100644 Binary files a/examples/runtime/shaders/gles/fs_sms_shadow.bin and b/examples/runtime/shaders/gles/fs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/gles/fs_sms_shadow_pd.bin b/examples/runtime/shaders/gles/fs_sms_shadow_pd.bin index b03a160e..52fbfae8 100644 Binary files a/examples/runtime/shaders/gles/fs_sms_shadow_pd.bin and b/examples/runtime/shaders/gles/fs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/gles/fs_stencil_color_black.bin b/examples/runtime/shaders/gles/fs_stencil_color_black.bin index f8753e88..e1169c71 100644 Binary files a/examples/runtime/shaders/gles/fs_stencil_color_black.bin and b/examples/runtime/shaders/gles/fs_stencil_color_black.bin differ diff --git a/examples/runtime/shaders/gles/fs_stencil_color_lightning.bin b/examples/runtime/shaders/gles/fs_stencil_color_lightning.bin index 3ff19737..ae4ea813 100644 Binary files a/examples/runtime/shaders/gles/fs_stencil_color_lightning.bin and b/examples/runtime/shaders/gles/fs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/gles/fs_stencil_color_texture.bin b/examples/runtime/shaders/gles/fs_stencil_color_texture.bin index 8ed57e30..10384556 100644 Binary files a/examples/runtime/shaders/gles/fs_stencil_color_texture.bin and b/examples/runtime/shaders/gles/fs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/gles/fs_stencil_texture.bin b/examples/runtime/shaders/gles/fs_stencil_texture.bin index 2fd6b720..fca7d77e 100644 Binary files a/examples/runtime/shaders/gles/fs_stencil_texture.bin and b/examples/runtime/shaders/gles/fs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/gles/fs_stencil_texture_lightning.bin b/examples/runtime/shaders/gles/fs_stencil_texture_lightning.bin index 96f954f8..805e39b5 100644 Binary files a/examples/runtime/shaders/gles/fs_stencil_texture_lightning.bin and b/examples/runtime/shaders/gles/fs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/gles/fs_tree.bin b/examples/runtime/shaders/gles/fs_tree.bin index 4f9023c6..eaf3b642 100644 Binary files a/examples/runtime/shaders/gles/fs_tree.bin and b/examples/runtime/shaders/gles/fs_tree.bin differ diff --git a/examples/runtime/shaders/gles/fs_update.bin b/examples/runtime/shaders/gles/fs_update.bin index 3cc7aa53..51bb156a 100644 Binary files a/examples/runtime/shaders/gles/fs_update.bin and b/examples/runtime/shaders/gles/fs_update.bin differ diff --git a/examples/runtime/shaders/gles/fs_update_cmp.bin b/examples/runtime/shaders/gles/fs_update_cmp.bin index cb23942a..11d172bf 100644 Binary files a/examples/runtime/shaders/gles/fs_update_cmp.bin and b/examples/runtime/shaders/gles/fs_update_cmp.bin differ diff --git a/examples/runtime/shaders/gles/vs_bump.bin b/examples/runtime/shaders/gles/vs_bump.bin index c5d39f1d..b2879056 100644 Binary files a/examples/runtime/shaders/gles/vs_bump.bin and b/examples/runtime/shaders/gles/vs_bump.bin differ diff --git a/examples/runtime/shaders/gles/vs_bump_instanced.bin b/examples/runtime/shaders/gles/vs_bump_instanced.bin index fb5dfa4e..31d6cccf 100644 Binary files a/examples/runtime/shaders/gles/vs_bump_instanced.bin and b/examples/runtime/shaders/gles/vs_bump_instanced.bin differ diff --git a/examples/runtime/shaders/gles/vs_callback.bin b/examples/runtime/shaders/gles/vs_callback.bin index 55357091..6012599e 100644 Binary files a/examples/runtime/shaders/gles/vs_callback.bin and b/examples/runtime/shaders/gles/vs_callback.bin differ diff --git a/examples/runtime/shaders/gles/vs_cubes.bin b/examples/runtime/shaders/gles/vs_cubes.bin index 3186b551..910796e8 100644 Binary files a/examples/runtime/shaders/gles/vs_cubes.bin and b/examples/runtime/shaders/gles/vs_cubes.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_blur.bin b/examples/runtime/shaders/gles/vs_hdr_blur.bin index 86b5d8d8..d32a31d6 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_blur.bin and b/examples/runtime/shaders/gles/vs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_bright.bin b/examples/runtime/shaders/gles/vs_hdr_bright.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_bright.bin and b/examples/runtime/shaders/gles/vs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_lum.bin b/examples/runtime/shaders/gles/vs_hdr_lum.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_lum.bin and b/examples/runtime/shaders/gles/vs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_lumavg.bin b/examples/runtime/shaders/gles/vs_hdr_lumavg.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_lumavg.bin and b/examples/runtime/shaders/gles/vs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_mesh.bin b/examples/runtime/shaders/gles/vs_hdr_mesh.bin index 2a28a8d4..0461008e 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_mesh.bin and b/examples/runtime/shaders/gles/vs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_skybox.bin b/examples/runtime/shaders/gles/vs_hdr_skybox.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_skybox.bin and b/examples/runtime/shaders/gles/vs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/gles/vs_hdr_tonemap.bin b/examples/runtime/shaders/gles/vs_hdr_tonemap.bin index 5e67079e..c5a1b765 100644 Binary files a/examples/runtime/shaders/gles/vs_hdr_tonemap.bin and b/examples/runtime/shaders/gles/vs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/gles/vs_ibl_mesh.bin b/examples/runtime/shaders/gles/vs_ibl_mesh.bin index 31a0e374..d5bf93d0 100644 Binary files a/examples/runtime/shaders/gles/vs_ibl_mesh.bin and b/examples/runtime/shaders/gles/vs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/gles/vs_ibl_skybox.bin b/examples/runtime/shaders/gles/vs_ibl_skybox.bin index a87e82d0..f0689b13 100644 Binary files a/examples/runtime/shaders/gles/vs_ibl_skybox.bin and b/examples/runtime/shaders/gles/vs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/gles/vs_instancing.bin b/examples/runtime/shaders/gles/vs_instancing.bin index a8f65188..7a9f9414 100644 Binary files a/examples/runtime/shaders/gles/vs_instancing.bin and b/examples/runtime/shaders/gles/vs_instancing.bin differ diff --git a/examples/runtime/shaders/gles/vs_mesh.bin b/examples/runtime/shaders/gles/vs_mesh.bin index b8387e89..bb024fee 100644 Binary files a/examples/runtime/shaders/gles/vs_mesh.bin and b/examples/runtime/shaders/gles/vs_mesh.bin differ diff --git a/examples/runtime/shaders/gles/vs_oit.bin b/examples/runtime/shaders/gles/vs_oit.bin index d0d2ebfe..79a85c24 100644 Binary files a/examples/runtime/shaders/gles/vs_oit.bin and b/examples/runtime/shaders/gles/vs_oit.bin differ diff --git a/examples/runtime/shaders/gles/vs_oit_blit.bin b/examples/runtime/shaders/gles/vs_oit_blit.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_oit_blit.bin and b/examples/runtime/shaders/gles/vs_oit_blit.bin differ diff --git a/examples/runtime/shaders/gles/vs_raymarching.bin b/examples/runtime/shaders/gles/vs_raymarching.bin index 45a6193e..0c4bba5f 100644 Binary files a/examples/runtime/shaders/gles/vs_raymarching.bin and b/examples/runtime/shaders/gles/vs_raymarching.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color.bin index b017b3dd..9a3c7c40 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning.bin index be3c9e96..5926c328 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_csm.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_csm.bin index 574a9139..f715642b 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_csm.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_csm.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear.bin index 1b5689dc..de0d1675 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_csm.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_csm.bin index 19de6d04..aef1b939 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_csm.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_csm.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_omni.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_omni.bin index 454d751d..98fdbc03 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_omni.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_linear_omni.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_omni.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_omni.bin index d3cb380b..56b4063f 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_omni.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_lightning_omni.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_color_texture.bin b/examples/runtime/shaders/gles/vs_shadowmaps_color_texture.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_depth.bin b/examples/runtime/shaders/gles/vs_shadowmaps_depth.bin index b017b3dd..9a3c7c40 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_depth.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_depth.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_hblur.bin b/examples/runtime/shaders/gles/vs_shadowmaps_hblur.bin index f6a19bf3..acf50452 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_hblur.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_packdepth.bin b/examples/runtime/shaders/gles/vs_shadowmaps_packdepth.bin index 601caf29..dd3ba263 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/gles/vs_shadowmaps_packdepth_linear.bin index be1b892b..3b4af8d4 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_texture.bin b/examples/runtime/shaders/gles/vs_shadowmaps_texture.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_texture.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_texture_lightning.bin b/examples/runtime/shaders/gles/vs_shadowmaps_texture_lightning.bin index 0b1a5b52..55044807 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_texture_lightning.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_texture_lightning.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/gles/vs_shadowmaps_unpackdepth.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowmaps_vblur.bin b/examples/runtime/shaders/gles/vs_shadowmaps_vblur.bin index c760ad52..7a56d9e2 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowmaps_vblur.bin and b/examples/runtime/shaders/gles/vs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/gles/vs_shadowvolume_color_lightning.bin index 763635f2..a36fe4e4 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_color_texture.bin b/examples/runtime/shaders/gles/vs_shadowvolume_color_texture.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_svback.bin b/examples/runtime/shaders/gles/vs_shadowvolume_svback.bin index 138299a6..0915a972 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_svback.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_svback.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_svfront.bin b/examples/runtime/shaders/gles/vs_shadowvolume_svfront.bin index b017b3dd..9a3c7c40 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_svfront.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_svfront.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_svside.bin b/examples/runtime/shaders/gles/vs_shadowvolume_svside.bin index b043ade1..5d329fd4 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_svside.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_texture.bin b/examples/runtime/shaders/gles/vs_shadowvolume_texture.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_texture.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/gles/vs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/gles/vs_shadowvolume_texture_lightning.bin index 5a45ab9c..05b11016 100644 Binary files a/examples/runtime/shaders/gles/vs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/gles/vs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/gles/vs_sms_mesh.bin b/examples/runtime/shaders/gles/vs_sms_mesh.bin index 22e8d5c9..f668cef1 100644 Binary files a/examples/runtime/shaders/gles/vs_sms_mesh.bin and b/examples/runtime/shaders/gles/vs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/gles/vs_sms_shadow.bin b/examples/runtime/shaders/gles/vs_sms_shadow.bin index b017b3dd..9a3c7c40 100644 Binary files a/examples/runtime/shaders/gles/vs_sms_shadow.bin and b/examples/runtime/shaders/gles/vs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/gles/vs_sms_shadow_pd.bin b/examples/runtime/shaders/gles/vs_sms_shadow_pd.bin index 601caf29..dd3ba263 100644 Binary files a/examples/runtime/shaders/gles/vs_sms_shadow_pd.bin and b/examples/runtime/shaders/gles/vs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/gles/vs_stencil_color.bin b/examples/runtime/shaders/gles/vs_stencil_color.bin index b017b3dd..9a3c7c40 100644 Binary files a/examples/runtime/shaders/gles/vs_stencil_color.bin and b/examples/runtime/shaders/gles/vs_stencil_color.bin differ diff --git a/examples/runtime/shaders/gles/vs_stencil_color_lightning.bin b/examples/runtime/shaders/gles/vs_stencil_color_lightning.bin index 9aa1571a..6856f44c 100644 Binary files a/examples/runtime/shaders/gles/vs_stencil_color_lightning.bin and b/examples/runtime/shaders/gles/vs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/gles/vs_stencil_color_texture.bin b/examples/runtime/shaders/gles/vs_stencil_color_texture.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_stencil_color_texture.bin and b/examples/runtime/shaders/gles/vs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/gles/vs_stencil_texture.bin b/examples/runtime/shaders/gles/vs_stencil_texture.bin index 0183fb63..9ae9c94b 100644 Binary files a/examples/runtime/shaders/gles/vs_stencil_texture.bin and b/examples/runtime/shaders/gles/vs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/gles/vs_stencil_texture_lightning.bin b/examples/runtime/shaders/gles/vs_stencil_texture_lightning.bin index 0b1a5b52..55044807 100644 Binary files a/examples/runtime/shaders/gles/vs_stencil_texture_lightning.bin and b/examples/runtime/shaders/gles/vs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/gles/vs_tree.bin b/examples/runtime/shaders/gles/vs_tree.bin index 8f0e17fb..4f56d478 100644 Binary files a/examples/runtime/shaders/gles/vs_tree.bin and b/examples/runtime/shaders/gles/vs_tree.bin differ diff --git a/examples/runtime/shaders/gles/vs_update.bin b/examples/runtime/shaders/gles/vs_update.bin index c4c255d5..241fba5f 100644 Binary files a/examples/runtime/shaders/gles/vs_update.bin and b/examples/runtime/shaders/gles/vs_update.bin differ diff --git a/examples/runtime/shaders/glsl/fs_bump.bin b/examples/runtime/shaders/glsl/fs_bump.bin index 80dc93d3..2f8608b7 100644 Binary files a/examples/runtime/shaders/glsl/fs_bump.bin and b/examples/runtime/shaders/glsl/fs_bump.bin differ diff --git a/examples/runtime/shaders/glsl/fs_callback.bin b/examples/runtime/shaders/glsl/fs_callback.bin index 4e0d1937..b3881492 100644 Binary files a/examples/runtime/shaders/glsl/fs_callback.bin and b/examples/runtime/shaders/glsl/fs_callback.bin differ diff --git a/examples/runtime/shaders/glsl/fs_cubes.bin b/examples/runtime/shaders/glsl/fs_cubes.bin index a3d53530..c69e5296 100644 Binary files a/examples/runtime/shaders/glsl/fs_cubes.bin and b/examples/runtime/shaders/glsl/fs_cubes.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_blur.bin b/examples/runtime/shaders/glsl/fs_hdr_blur.bin index a5d85b09..bb8e13b9 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_blur.bin and b/examples/runtime/shaders/glsl/fs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_bright.bin b/examples/runtime/shaders/glsl/fs_hdr_bright.bin index 7dd2ed49..9d0cd2aa 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_bright.bin and b/examples/runtime/shaders/glsl/fs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_lum.bin b/examples/runtime/shaders/glsl/fs_hdr_lum.bin index dafafb44..b401b7d6 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_lum.bin and b/examples/runtime/shaders/glsl/fs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_lumavg.bin b/examples/runtime/shaders/glsl/fs_hdr_lumavg.bin index 5189e7d8..4d9348e6 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_lumavg.bin and b/examples/runtime/shaders/glsl/fs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_mesh.bin b/examples/runtime/shaders/glsl/fs_hdr_mesh.bin index 6934f306..351c86f6 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_mesh.bin and b/examples/runtime/shaders/glsl/fs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_skybox.bin b/examples/runtime/shaders/glsl/fs_hdr_skybox.bin index fb53a240..d38ecc16 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_skybox.bin and b/examples/runtime/shaders/glsl/fs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/glsl/fs_hdr_tonemap.bin b/examples/runtime/shaders/glsl/fs_hdr_tonemap.bin index 22d326f4..bb6f61bc 100644 Binary files a/examples/runtime/shaders/glsl/fs_hdr_tonemap.bin and b/examples/runtime/shaders/glsl/fs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/glsl/fs_ibl_mesh.bin b/examples/runtime/shaders/glsl/fs_ibl_mesh.bin index e21e02e4..31dee889 100644 Binary files a/examples/runtime/shaders/glsl/fs_ibl_mesh.bin and b/examples/runtime/shaders/glsl/fs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/fs_ibl_skybox.bin b/examples/runtime/shaders/glsl/fs_ibl_skybox.bin index a42d0392..ffe50be0 100644 Binary files a/examples/runtime/shaders/glsl/fs_ibl_skybox.bin and b/examples/runtime/shaders/glsl/fs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/glsl/fs_instancing.bin b/examples/runtime/shaders/glsl/fs_instancing.bin index a3d53530..c69e5296 100644 Binary files a/examples/runtime/shaders/glsl/fs_instancing.bin and b/examples/runtime/shaders/glsl/fs_instancing.bin differ diff --git a/examples/runtime/shaders/glsl/fs_mesh.bin b/examples/runtime/shaders/glsl/fs_mesh.bin index 3fae0367..d8b9b213 100644 Binary files a/examples/runtime/shaders/glsl/fs_mesh.bin and b/examples/runtime/shaders/glsl/fs_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/fs_oit.bin b/examples/runtime/shaders/glsl/fs_oit.bin index 14f5df9b..2d23e485 100644 Binary files a/examples/runtime/shaders/glsl/fs_oit.bin and b/examples/runtime/shaders/glsl/fs_oit.bin differ diff --git a/examples/runtime/shaders/glsl/fs_oit_wb.bin b/examples/runtime/shaders/glsl/fs_oit_wb.bin index e85e0a09..33211f43 100644 Binary files a/examples/runtime/shaders/glsl/fs_oit_wb.bin and b/examples/runtime/shaders/glsl/fs_oit_wb.bin differ diff --git a/examples/runtime/shaders/glsl/fs_oit_wb_blit.bin b/examples/runtime/shaders/glsl/fs_oit_wb_blit.bin index f16e6d81..b2d3250d 100644 Binary files a/examples/runtime/shaders/glsl/fs_oit_wb_blit.bin and b/examples/runtime/shaders/glsl/fs_oit_wb_blit.bin differ diff --git a/examples/runtime/shaders/glsl/fs_oit_wb_separate.bin b/examples/runtime/shaders/glsl/fs_oit_wb_separate.bin index d9cdae5a..8dd17a78 100644 Binary files a/examples/runtime/shaders/glsl/fs_oit_wb_separate.bin and b/examples/runtime/shaders/glsl/fs_oit_wb_separate.bin differ diff --git a/examples/runtime/shaders/glsl/fs_oit_wb_separate_blit.bin b/examples/runtime/shaders/glsl/fs_oit_wb_separate_blit.bin index 2256e096..d8818f07 100644 Binary files a/examples/runtime/shaders/glsl/fs_oit_wb_separate_blit.bin and b/examples/runtime/shaders/glsl/fs_oit_wb_separate_blit.bin differ diff --git a/examples/runtime/shaders/glsl/fs_raymarching.bin b/examples/runtime/shaders/glsl/fs_raymarching.bin index 535f1823..7c0de0c3 100644 Binary files a/examples/runtime/shaders/glsl/fs_raymarching.bin and b/examples/runtime/shaders/glsl/fs_raymarching.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_black.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_black.bin index f8753e88..e1169c71 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_black.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_black.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm.bin index dbf788e4..91d40815 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_csm.bin index 47477843..7b42850f 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear.bin index 42e060d9..eecf78f6 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_csm.bin index bccda734..6741a99e 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_omni.bin index 7283f723..39add6c3 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_linear_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_omni.bin index 08959eee..e20e8350 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_esm_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard.bin index 0010d34e..3ec9cbb4 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_csm.bin index 5e231169..ee8a812f 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear.bin index 31773ce3..1d98c4fd 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_csm.bin index 63460293..d0feee4e 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_omni.bin index a390685a..df2ae7e3 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_linear_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_omni.bin index f9391b79..239eebae 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_hard_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf.bin index 10e35d0c..fa7d8e2e 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_csm.bin index d1f0c3a8..bc0e6fbc 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear.bin index f167dc31..6c6ec384 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_csm.bin index 97247424..e291b611 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_omni.bin index e54891dd..2d9e195f 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_linear_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_omni.bin index 73d526be..091a4f1e 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_pcf_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm.bin index aff862b4..fa8458bf 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_csm.bin index 5f8811f1..3297762e 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear.bin index 8ff0fed2..49ff5688 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_csm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_csm.bin index 53641af6..5584e47a 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_csm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_csm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_omni.bin index f0f7d358..6f0a257c 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_linear_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_omni.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_omni.bin index 5ba4a427..bc0c506d 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_omni.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_lightning_vsm_omni.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_color_texture.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_color_texture.bin index e326810a..3d8b9034 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_hblur.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_hblur.bin index 795a8f28..927c8bec 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_hblur.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_hblur_vsm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_hblur_vsm.bin index b6fe8901..edabb3a0 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_hblur_vsm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_hblur_vsm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth.bin index 68f20787..47ed69b8 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_linear.bin index 311c9645..222763c6 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm.bin index 75000445..88477e5e 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm_linear.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm_linear.bin index 2e169d62..46690567 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm_linear.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_packdepth_vsm_linear.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_texture.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_texture.bin index 58699726..8e2bdd70 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_texture.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth.bin index a303342c..5f591afd 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth_vsm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth_vsm.bin index 1df2c096..1e832a47 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth_vsm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_unpackdepth_vsm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_vblur.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_vblur.bin index 795a8f28..927c8bec 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_vblur.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowmaps_vblur_vsm.bin b/examples/runtime/shaders/glsl/fs_shadowmaps_vblur_vsm.bin index b6fe8901..edabb3a0 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowmaps_vblur_vsm.bin and b/examples/runtime/shaders/glsl/fs_shadowmaps_vblur_vsm.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_color_lightning.bin index a1558fa1..07a1f70d 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_color_texture.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_color_texture.bin index e326810a..3d8b9034 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svbackblank.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svbackblank.bin index 68f133c7..3bcf87c1 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svbackblank.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svbackblank.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svbackcolor.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svbackcolor.bin index b9c29250..1bca2a9c 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svbackcolor.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svbackcolor.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex1.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex1.bin index e1d73992..3a91565b 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex1.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex1.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex2.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex2.bin index b79871af..cb120e02 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex2.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svbacktex2.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontblank.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontblank.bin index 7041b75d..61163f58 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontblank.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontblank.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontcolor.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontcolor.bin index b9c29250..1bca2a9c 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontcolor.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svfrontcolor.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex1.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex1.bin index be2693cd..69d42d30 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex1.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex1.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex2.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex2.bin index d3415ca8..5bc71dee 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex2.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svfronttex2.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svside.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svside.bin index b404c3c4..92108021 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svside.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svsideblank.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svsideblank.bin index b83220d7..72019d1f 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svsideblank.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svsideblank.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svsidecolor.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svsidecolor.bin index 97220e83..102aa823 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svsidecolor.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svsidecolor.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_svsidetex.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_svsidetex.bin index 9b9d3edd..3ca5921c 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_svsidetex.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_svsidetex.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_texture.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_texture.bin index 58699726..8e2bdd70 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_texture.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/glsl/fs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/glsl/fs_shadowvolume_texture_lightning.bin index a4fa8bec..86341ae5 100644 Binary files a/examples/runtime/shaders/glsl/fs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/glsl/fs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/fs_sms_mesh.bin b/examples/runtime/shaders/glsl/fs_sms_mesh.bin index 0bfa8a1d..b5db9cb0 100644 Binary files a/examples/runtime/shaders/glsl/fs_sms_mesh.bin and b/examples/runtime/shaders/glsl/fs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/fs_sms_mesh_pd.bin b/examples/runtime/shaders/glsl/fs_sms_mesh_pd.bin index 88395be0..9623b98d 100644 Binary files a/examples/runtime/shaders/glsl/fs_sms_mesh_pd.bin and b/examples/runtime/shaders/glsl/fs_sms_mesh_pd.bin differ diff --git a/examples/runtime/shaders/glsl/fs_sms_shadow.bin b/examples/runtime/shaders/glsl/fs_sms_shadow.bin index f8753e88..e1169c71 100644 Binary files a/examples/runtime/shaders/glsl/fs_sms_shadow.bin and b/examples/runtime/shaders/glsl/fs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/glsl/fs_sms_shadow_pd.bin b/examples/runtime/shaders/glsl/fs_sms_shadow_pd.bin index 68f20787..47ed69b8 100644 Binary files a/examples/runtime/shaders/glsl/fs_sms_shadow_pd.bin and b/examples/runtime/shaders/glsl/fs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/glsl/fs_stencil_color_black.bin b/examples/runtime/shaders/glsl/fs_stencil_color_black.bin index f8753e88..e1169c71 100644 Binary files a/examples/runtime/shaders/glsl/fs_stencil_color_black.bin and b/examples/runtime/shaders/glsl/fs_stencil_color_black.bin differ diff --git a/examples/runtime/shaders/glsl/fs_stencil_color_lightning.bin b/examples/runtime/shaders/glsl/fs_stencil_color_lightning.bin index 2de16b5a..561a6d42 100644 Binary files a/examples/runtime/shaders/glsl/fs_stencil_color_lightning.bin and b/examples/runtime/shaders/glsl/fs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/fs_stencil_color_texture.bin b/examples/runtime/shaders/glsl/fs_stencil_color_texture.bin index e326810a..3d8b9034 100644 Binary files a/examples/runtime/shaders/glsl/fs_stencil_color_texture.bin and b/examples/runtime/shaders/glsl/fs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/glsl/fs_stencil_texture.bin b/examples/runtime/shaders/glsl/fs_stencil_texture.bin index 58699726..8e2bdd70 100644 Binary files a/examples/runtime/shaders/glsl/fs_stencil_texture.bin and b/examples/runtime/shaders/glsl/fs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/glsl/fs_stencil_texture_lightning.bin b/examples/runtime/shaders/glsl/fs_stencil_texture_lightning.bin index bd258a25..fb8a5c2b 100644 Binary files a/examples/runtime/shaders/glsl/fs_stencil_texture_lightning.bin and b/examples/runtime/shaders/glsl/fs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/fs_tree.bin b/examples/runtime/shaders/glsl/fs_tree.bin index 6ee58751..3c7cad2c 100644 Binary files a/examples/runtime/shaders/glsl/fs_tree.bin and b/examples/runtime/shaders/glsl/fs_tree.bin differ diff --git a/examples/runtime/shaders/glsl/fs_update.bin b/examples/runtime/shaders/glsl/fs_update.bin index 3d7a406f..f19f2c54 100644 Binary files a/examples/runtime/shaders/glsl/fs_update.bin and b/examples/runtime/shaders/glsl/fs_update.bin differ diff --git a/examples/runtime/shaders/glsl/fs_update_cmp.bin b/examples/runtime/shaders/glsl/fs_update_cmp.bin index 473abdbf..d8e985ed 100644 Binary files a/examples/runtime/shaders/glsl/fs_update_cmp.bin and b/examples/runtime/shaders/glsl/fs_update_cmp.bin differ diff --git a/examples/runtime/shaders/glsl/vs_bump.bin b/examples/runtime/shaders/glsl/vs_bump.bin index 4b51fbcc..90846090 100644 Binary files a/examples/runtime/shaders/glsl/vs_bump.bin and b/examples/runtime/shaders/glsl/vs_bump.bin differ diff --git a/examples/runtime/shaders/glsl/vs_bump_instanced.bin b/examples/runtime/shaders/glsl/vs_bump_instanced.bin index 7e2a82a4..59841397 100644 Binary files a/examples/runtime/shaders/glsl/vs_bump_instanced.bin and b/examples/runtime/shaders/glsl/vs_bump_instanced.bin differ diff --git a/examples/runtime/shaders/glsl/vs_callback.bin b/examples/runtime/shaders/glsl/vs_callback.bin index 74512288..9b7cf07b 100644 Binary files a/examples/runtime/shaders/glsl/vs_callback.bin and b/examples/runtime/shaders/glsl/vs_callback.bin differ diff --git a/examples/runtime/shaders/glsl/vs_cubes.bin b/examples/runtime/shaders/glsl/vs_cubes.bin index 52e13b5a..72bd79a5 100644 Binary files a/examples/runtime/shaders/glsl/vs_cubes.bin and b/examples/runtime/shaders/glsl/vs_cubes.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_blur.bin b/examples/runtime/shaders/glsl/vs_hdr_blur.bin index 205f6fb5..d227753c 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_blur.bin and b/examples/runtime/shaders/glsl/vs_hdr_blur.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_bright.bin b/examples/runtime/shaders/glsl/vs_hdr_bright.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_bright.bin and b/examples/runtime/shaders/glsl/vs_hdr_bright.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_lum.bin b/examples/runtime/shaders/glsl/vs_hdr_lum.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_lum.bin and b/examples/runtime/shaders/glsl/vs_hdr_lum.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_lumavg.bin b/examples/runtime/shaders/glsl/vs_hdr_lumavg.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_lumavg.bin and b/examples/runtime/shaders/glsl/vs_hdr_lumavg.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_mesh.bin b/examples/runtime/shaders/glsl/vs_hdr_mesh.bin index a8e311ac..1fdab698 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_mesh.bin and b/examples/runtime/shaders/glsl/vs_hdr_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_skybox.bin b/examples/runtime/shaders/glsl/vs_hdr_skybox.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_skybox.bin and b/examples/runtime/shaders/glsl/vs_hdr_skybox.bin differ diff --git a/examples/runtime/shaders/glsl/vs_hdr_tonemap.bin b/examples/runtime/shaders/glsl/vs_hdr_tonemap.bin index 19e9bd64..5f7653ba 100644 Binary files a/examples/runtime/shaders/glsl/vs_hdr_tonemap.bin and b/examples/runtime/shaders/glsl/vs_hdr_tonemap.bin differ diff --git a/examples/runtime/shaders/glsl/vs_ibl_mesh.bin b/examples/runtime/shaders/glsl/vs_ibl_mesh.bin index 59bffb03..dcc212c8 100644 Binary files a/examples/runtime/shaders/glsl/vs_ibl_mesh.bin and b/examples/runtime/shaders/glsl/vs_ibl_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/vs_ibl_skybox.bin b/examples/runtime/shaders/glsl/vs_ibl_skybox.bin index f1f9d5b4..8692f4df 100644 Binary files a/examples/runtime/shaders/glsl/vs_ibl_skybox.bin and b/examples/runtime/shaders/glsl/vs_ibl_skybox.bin differ diff --git a/examples/runtime/shaders/glsl/vs_instancing.bin b/examples/runtime/shaders/glsl/vs_instancing.bin index 0166f24e..e5aaf578 100644 Binary files a/examples/runtime/shaders/glsl/vs_instancing.bin and b/examples/runtime/shaders/glsl/vs_instancing.bin differ diff --git a/examples/runtime/shaders/glsl/vs_mesh.bin b/examples/runtime/shaders/glsl/vs_mesh.bin index 7e0e8dbe..38150656 100644 Binary files a/examples/runtime/shaders/glsl/vs_mesh.bin and b/examples/runtime/shaders/glsl/vs_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/vs_oit.bin b/examples/runtime/shaders/glsl/vs_oit.bin index cc7e10c8..52092de3 100644 Binary files a/examples/runtime/shaders/glsl/vs_oit.bin and b/examples/runtime/shaders/glsl/vs_oit.bin differ diff --git a/examples/runtime/shaders/glsl/vs_oit_blit.bin b/examples/runtime/shaders/glsl/vs_oit_blit.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_oit_blit.bin and b/examples/runtime/shaders/glsl/vs_oit_blit.bin differ diff --git a/examples/runtime/shaders/glsl/vs_raymarching.bin b/examples/runtime/shaders/glsl/vs_raymarching.bin index ea472b89..55c2635c 100644 Binary files a/examples/runtime/shaders/glsl/vs_raymarching.bin and b/examples/runtime/shaders/glsl/vs_raymarching.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color.bin index f1cf781d..3e3340ae 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning.bin index e15023af..4d24835e 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_csm.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_csm.bin index 50a5c492..64392fda 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_csm.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_csm.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear.bin index 96850c4a..beacf442 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_csm.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_csm.bin index 539c26c9..24df604d 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_csm.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_csm.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_omni.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_omni.bin index f9e736b4..032c709c 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_omni.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_linear_omni.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_omni.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_omni.bin index 127c02d2..d83c92aa 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_omni.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_lightning_omni.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_color_texture.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_color_texture.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_color_texture.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_color_texture.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_depth.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_depth.bin index f1cf781d..3e3340ae 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_depth.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_depth.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_hblur.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_hblur.bin index 55b817d3..08fb08d8 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_hblur.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_hblur.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth.bin index 482ff87e..6f88405f 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth_linear.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth_linear.bin index 28f1fa06..54b236d5 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth_linear.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_packdepth_linear.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_texture.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_texture.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_texture.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_texture.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_texture_lightning.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_texture_lightning.bin index 67afa447..b1345004 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_texture_lightning.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_texture_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_unpackdepth.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_unpackdepth.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_unpackdepth.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_unpackdepth.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowmaps_vblur.bin b/examples/runtime/shaders/glsl/vs_shadowmaps_vblur.bin index 92d37226..7f42cae7 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowmaps_vblur.bin and b/examples/runtime/shaders/glsl/vs_shadowmaps_vblur.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_color_lightning.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_color_lightning.bin index f16c1256..23c623c3 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_color_lightning.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_color_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_color_texture.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_color_texture.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_color_texture.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_color_texture.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_svback.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_svback.bin index 82daeb63..b84f0f52 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_svback.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_svback.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_svfront.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_svfront.bin index f1cf781d..3e3340ae 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_svfront.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_svfront.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_svside.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_svside.bin index d55997c7..a21c6a05 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_svside.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_svside.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_texture.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_texture.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_texture.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_texture.bin differ diff --git a/examples/runtime/shaders/glsl/vs_shadowvolume_texture_lightning.bin b/examples/runtime/shaders/glsl/vs_shadowvolume_texture_lightning.bin index c3c992c3..fdc3e73f 100644 Binary files a/examples/runtime/shaders/glsl/vs_shadowvolume_texture_lightning.bin and b/examples/runtime/shaders/glsl/vs_shadowvolume_texture_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/vs_sms_mesh.bin b/examples/runtime/shaders/glsl/vs_sms_mesh.bin index 96c524f9..3d5c69a7 100644 Binary files a/examples/runtime/shaders/glsl/vs_sms_mesh.bin and b/examples/runtime/shaders/glsl/vs_sms_mesh.bin differ diff --git a/examples/runtime/shaders/glsl/vs_sms_shadow.bin b/examples/runtime/shaders/glsl/vs_sms_shadow.bin index f1cf781d..3e3340ae 100644 Binary files a/examples/runtime/shaders/glsl/vs_sms_shadow.bin and b/examples/runtime/shaders/glsl/vs_sms_shadow.bin differ diff --git a/examples/runtime/shaders/glsl/vs_sms_shadow_pd.bin b/examples/runtime/shaders/glsl/vs_sms_shadow_pd.bin index 482ff87e..6f88405f 100644 Binary files a/examples/runtime/shaders/glsl/vs_sms_shadow_pd.bin and b/examples/runtime/shaders/glsl/vs_sms_shadow_pd.bin differ diff --git a/examples/runtime/shaders/glsl/vs_stencil_color.bin b/examples/runtime/shaders/glsl/vs_stencil_color.bin index f1cf781d..3e3340ae 100644 Binary files a/examples/runtime/shaders/glsl/vs_stencil_color.bin and b/examples/runtime/shaders/glsl/vs_stencil_color.bin differ diff --git a/examples/runtime/shaders/glsl/vs_stencil_color_lightning.bin b/examples/runtime/shaders/glsl/vs_stencil_color_lightning.bin index 6481f25e..3d3c9dc3 100644 Binary files a/examples/runtime/shaders/glsl/vs_stencil_color_lightning.bin and b/examples/runtime/shaders/glsl/vs_stencil_color_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/vs_stencil_color_texture.bin b/examples/runtime/shaders/glsl/vs_stencil_color_texture.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_stencil_color_texture.bin and b/examples/runtime/shaders/glsl/vs_stencil_color_texture.bin differ diff --git a/examples/runtime/shaders/glsl/vs_stencil_texture.bin b/examples/runtime/shaders/glsl/vs_stencil_texture.bin index de810437..7b5dc61e 100644 Binary files a/examples/runtime/shaders/glsl/vs_stencil_texture.bin and b/examples/runtime/shaders/glsl/vs_stencil_texture.bin differ diff --git a/examples/runtime/shaders/glsl/vs_stencil_texture_lightning.bin b/examples/runtime/shaders/glsl/vs_stencil_texture_lightning.bin index 67afa447..b1345004 100644 Binary files a/examples/runtime/shaders/glsl/vs_stencil_texture_lightning.bin and b/examples/runtime/shaders/glsl/vs_stencil_texture_lightning.bin differ diff --git a/examples/runtime/shaders/glsl/vs_tree.bin b/examples/runtime/shaders/glsl/vs_tree.bin index 5729953b..b8d2d8cf 100644 Binary files a/examples/runtime/shaders/glsl/vs_tree.bin and b/examples/runtime/shaders/glsl/vs_tree.bin differ diff --git a/examples/runtime/shaders/glsl/vs_update.bin b/examples/runtime/shaders/glsl/vs_update.bin index b28d1d9e..0987b5a8 100644 Binary files a/examples/runtime/shaders/glsl/vs_update.bin and b/examples/runtime/shaders/glsl/vs_update.bin differ diff --git a/include/bgfx.c99.h b/include/bgfx.c99.h index 00661aa3..5a38c865 100644 --- a/include/bgfx.c99.h +++ b/include/bgfx.c99.h @@ -41,6 +41,7 @@ typedef enum bgfx_attrib BGFX_ATTRIB_POSITION, BGFX_ATTRIB_NORMAL, BGFX_ATTRIB_TANGENT, + BGFX_ATTRIB_BITANGENT, BGFX_ATTRIB_COLOR0, BGFX_ATTRIB_COLOR1, BGFX_ATTRIB_INDICES, diff --git a/include/bgfx.h b/include/bgfx.h index bc7d7aa1..124f67c9 100644 --- a/include/bgfx.h +++ b/include/bgfx.h @@ -68,6 +68,7 @@ namespace bgfx Position, // a_position Normal, // a_normal Tangent, // a_tangent + Bitangent, // a_bitangent Color0, // a_color0 Color1, // a_color1 Indices, // a_indices diff --git a/premake/geometryc.lua b/premake/geometryc.lua index ec9eea33..a7a88f2d 100644 --- a/premake/geometryc.lua +++ b/premake/geometryc.lua @@ -8,7 +8,7 @@ project "geometryc" kind "ConsoleApp" includedirs { - BX_DIR .. "include", + BX_DIR .. "include", BGFX_DIR .. "include", BGFX_DIR .. "3rdparty/forsyth-too", BGFX_DIR .. "examples/common", diff --git a/premake/shader-embeded.mk b/premake/shader-embeded.mk index 52b748b5..d4f4a8f9 100644 --- a/premake/shader-embeded.mk +++ b/premake/shader-embeded.mk @@ -3,24 +3,8 @@ # License: http://www.opensource.org/licenses/BSD-2-Clause # -ifndef VERBOSE -SILENT = @ -endif - -THISDIR := $(dir $(lastword $(MAKEFILE_LIST))) - -UNAME := $(shell uname) -ifeq ($(UNAME),$(filter $(UNAME),Linux)) -OS=linux -else -ifeq ($(UNAME),$(filter $(UNAME),Darwin)) -OS=darwin -else -OS=windows -endif -endif - -SHADERC="$(THISDIR)../tools/bin/$(OS)/shaderc" +THISDIR:=$(dir $(lastword $(MAKEFILE_LIST))) +include $(THISDIR)/tools.mk VS_FLAGS+=-i $(THISDIR)../src/ --type vertex FS_FLAGS+=-i $(THISDIR)../src/ --type fragment diff --git a/premake/shader.mk b/premake/shader.mk index cac92c42..2aa09a30 100644 --- a/premake/shader.mk +++ b/premake/shader.mk @@ -3,9 +3,8 @@ # License: http://www.opensource.org/licenses/BSD-2-Clause # -ifndef VERBOSE -SILENT = @ -endif +THISDIR:=$(dir $(lastword $(MAKEFILE_LIST))) +include $(THISDIR)/tools.mk ifndef TARGET .PHONY: all @@ -19,25 +18,6 @@ all: @echo " VERBOSE=1 show build commands." else -THISDIR := $(dir $(lastword $(MAKEFILE_LIST))) - -UNAME := $(shell uname) -ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin)) -CMD_MKDIR=mkdir -p "$(1)" -CMD_RMDIR=rm -r "$(1)" -ifeq ($(UNAME),$(filter $(UNAME),Darwin)) -OS=darwin -else -OS=linux -endif -else -CMD_MKDIR=cmd /C "if not exist "$(subst /,\,$(1))" mkdir "$(subst /,\,$(1))"" -CMD_RMDIR=cmd /C "if exist "$(subst /,\,$(1))" rmdir /S /Q "$(subst /,\,$(1))"" -OS=windows -endif - -SHADERC="$(THISDIR)../tools/bin/$(OS)/shaderc" - ifeq ($(TARGET), 0) VS_FLAGS=--platform windows -p vs_3_0 -O 3 FS_FLAGS=--platform windows -p ps_3_0 -O 3 diff --git a/premake/shaderc.lua b/premake/shaderc.lua index b7279702..45c28dcc 100644 --- a/premake/shaderc.lua +++ b/premake/shaderc.lua @@ -62,7 +62,8 @@ project "shaderc" } includedirs { - BX_DIR .. "include", + BX_DIR .. "include", + BGFX_DIR .. "include", FCPP_DIR, @@ -75,6 +76,8 @@ project "shaderc" files { BGFX_DIR .. "tools/shaderc/**.cpp", BGFX_DIR .. "tools/shaderc/**.h", + BGFX_DIR .. "src/vertexdecl.**", + FCPP_DIR .. "**.h", FCPP_DIR .. "cpp1.c", FCPP_DIR .. "cpp2.c", diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 415f46e1..8bcd3e5b 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -77,10 +77,10 @@ namespace bgfx #include "bgfxplatform.h" #include "image.h" -#define BGFX_CHUNK_MAGIC_CSH BX_MAKEFOURCC('C', 'S', 'H', 0x0) -#define BGFX_CHUNK_MAGIC_FSH BX_MAKEFOURCC('F', 'S', 'H', 0x2) +#define BGFX_CHUNK_MAGIC_CSH BX_MAKEFOURCC('C', 'S', 'H', 0x1) +#define BGFX_CHUNK_MAGIC_FSH BX_MAKEFOURCC('F', 'S', 'H', 0x3) #define BGFX_CHUNK_MAGIC_TEX BX_MAKEFOURCC('T', 'E', 'X', 0x0) -#define BGFX_CHUNK_MAGIC_VSH BX_MAKEFOURCC('V', 'S', 'H', 0x2) +#define BGFX_CHUNK_MAGIC_VSH BX_MAKEFOURCC('V', 'S', 'H', 0x3) #include // mingw wants it to be before tr1/unordered_*... diff --git a/src/fs_clear0.bin.h b/src/fs_clear0.bin.h index 36733fe7..4b1714ba 100644 --- a/src/fs_clear0.bin.h +++ b/src/fs_clear0.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_clear0_glsl[91] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..L...va + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..L...va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x6f, 0x69, // c4 v_color0;.voi 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x67, 0x6c, // d main ().{. gl @@ -9,7 +9,7 @@ static const uint8_t fs_clear0_glsl[91] = }; static const uint8_t fs_clear0_dx9[137] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I..|..... + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I..|..... 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -19,9 +19,9 @@ static const uint8_t fs_clear0_dx9[137] = 0x0a, 0x00, 0x00, 0x80, 0x00, 0x00, 0x0f, 0x90, 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x0f, 0x80, // ................ 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ......... }; -static const uint8_t fs_clear0_dx11[494] = +static const uint8_t fs_clear0_dx11[480] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xd0, 0x01, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xd0, 0x01, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC 0xa9, 0x98, 0xd1, 0xdb, 0x4a, 0xa2, 0x9c, 0xfe, 0x9c, 0xf1, 0xe4, 0xd0, 0x2c, 0xa5, 0xd6, 0xb6, // ....J.......,... 0x01, 0x00, 0x00, 0x00, 0xd0, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ............4... 0x8c, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x14, 0x01, 0x00, 0x00, 0x54, 0x01, 0x00, 0x00, // ............T... @@ -51,5 +51,4 @@ static const uint8_t fs_clear0_dx11[494] = 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .............. }; diff --git a/src/fs_clear1.bin.h b/src/fs_clear1.bin.h index 5e543f08..8c0e5418 100644 --- a/src/fs_clear1.bin.h +++ b/src/fs_clear1.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_clear1_glsl[122] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..k...va + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I..k...va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x6f, 0x69, // c4 v_color0;.voi 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x67, 0x6c, // d main ().{. gl @@ -11,7 +11,7 @@ static const uint8_t fs_clear1_glsl[122] = }; static const uint8_t fs_clear1_dx9[149] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x88, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I........ + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x88, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I........ 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -22,9 +22,9 @@ static const uint8_t fs_clear1_dx9[149] = 0x00, 0x00, 0xe4, 0x90, 0x01, 0x00, 0x00, 0x02, 0x01, 0x08, 0x0f, 0x80, 0x00, 0x00, 0xe4, 0x90, // ................ 0xff, 0xff, 0x00, 0x00, 0x00, // ..... }; -static const uint8_t fs_clear1_dx11[550] = +static const uint8_t fs_clear1_dx11[536] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x08, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x08, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH....I....DXBC 0x07, 0x29, 0x65, 0xce, 0x1c, 0xcc, 0xcb, 0x0a, 0x31, 0xfd, 0xe4, 0xfc, 0xc8, 0x95, 0x4a, 0x88, // .)e.....1.....J. 0x01, 0x00, 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ............4... 0x8c, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x2c, 0x01, 0x00, 0x00, 0x8c, 0x01, 0x00, 0x00, // ........,....... @@ -57,6 +57,5 @@ static const uint8_t fs_clear1_dx11[550] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ...... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........ }; diff --git a/src/fs_clear2.bin.h b/src/fs_clear2.bin.h index 70ba0ae2..51879edd 100644 --- a/src/fs_clear2.bin.h +++ b/src/fs_clear2.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_clear2_glsl[151] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I......va + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I......va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x6f, 0x69, // c4 v_color0;.voi 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x67, 0x6c, // d main ().{. gl @@ -13,7 +13,7 @@ static const uint8_t fs_clear2_glsl[151] = }; static const uint8_t fs_clear2_dx9[161] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x94, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I........ + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x94, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I........ 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -25,9 +25,9 @@ static const uint8_t fs_clear2_dx9[161] = 0x01, 0x00, 0x00, 0x02, 0x02, 0x08, 0x0f, 0x80, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, // ................ 0x00, // . }; -static const uint8_t fs_clear2_dx11[606] = +static const uint8_t fs_clear2_dx11[592] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x40, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH....I..@.DXBC + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x40, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH....I..@.DXBC 0xdf, 0xef, 0x73, 0x33, 0x5f, 0x1a, 0xe9, 0x7a, 0xc5, 0xf8, 0x6b, 0x15, 0x61, 0x87, 0xb5, 0x29, // ..s3_..z..k.a..) 0x01, 0x00, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....@.......4... 0x8c, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x44, 0x01, 0x00, 0x00, 0xc4, 0x01, 0x00, 0x00, // ........D....... @@ -64,5 +64,4 @@ static const uint8_t fs_clear2_dx11[606] = 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .............. }; diff --git a/src/fs_clear3.bin.h b/src/fs_clear3.bin.h index 7ae11805..d6e441eb 100644 --- a/src/fs_clear3.bin.h +++ b/src/fs_clear3.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_clear3_glsl[180] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xa5, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I......va + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xa5, 0x00, 0x00, 0x00, 0x76, 0x61, // FSH....I......va 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, // rying mediump ve 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x6f, 0x69, // c4 v_color0;.voi 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x28, 0x29, 0x0a, 0x7b, 0x0a, 0x20, 0x20, 0x67, 0x6c, // d main ().{. gl @@ -15,7 +15,7 @@ static const uint8_t fs_clear3_glsl[180] = }; static const uint8_t fs_clear3_dx9[173] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I........ + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x03, 0xff, 0xff, // FSH....I........ 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x70, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....ps_3_0.Micro @@ -27,9 +27,9 @@ static const uint8_t fs_clear3_dx9[173] = 0x01, 0x00, 0x00, 0x02, 0x02, 0x08, 0x0f, 0x80, 0x00, 0x00, 0xe4, 0x90, 0x01, 0x00, 0x00, 0x02, // ................ 0x03, 0x08, 0x0f, 0x80, 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ............. }; -static const uint8_t fs_clear3_dx11[662] = +static const uint8_t fs_clear3_dx11[648] = { - 0x46, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x78, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH....I..x.DXBC + 0x46, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x78, 0x02, 0x44, 0x58, 0x42, 0x43, // FSH....I..x.DXBC 0xec, 0x65, 0x4d, 0xe1, 0x28, 0x13, 0xaf, 0x45, 0xea, 0x5d, 0x5d, 0xcc, 0x29, 0xb7, 0xa4, 0x45, // .eM.(..E.]].)..E 0x01, 0x00, 0x00, 0x00, 0x78, 0x02, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....x.......4... 0x8c, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x5c, 0x01, 0x00, 0x00, 0xfc, 0x01, 0x00, 0x00, // ................ @@ -69,6 +69,5 @@ static const uint8_t fs_clear3_dx11[662] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ...... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........ }; diff --git a/src/fs_debugfont.bin.h b/src/fs_debugfont.bin.h index 8b04f930..85f55838 100644 --- a/src/fs_debugfont.bin.h +++ b/src/fs_debugfont.bin.h @@ -1,6 +1,6 @@ static const uint8_t fs_debugfont_glsl[359] = { - 0x46, 0x53, 0x48, 0x02, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH..."f...u_tex + 0x46, 0x53, 0x48, 0x03, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0a, 0x75, 0x5f, 0x74, 0x65, 0x78, // FSH..."f...u_tex 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x47, 0x01, 0x00, 0x00, 0x76, // Color......G...v 0x61, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, // arying mediump v 0x65, 0x63, 0x34, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x76, 0x61, // ec4 v_color0;.va @@ -26,7 +26,7 @@ static const uint8_t fs_debugfont_glsl[359] = }; static const uint8_t fs_debugfont_dx9[353] = { - 0x46, 0x53, 0x48, 0x02, 0xb8, 0xbe, 0x22, 0x66, 0x00, 0x00, 0x54, 0x01, 0x00, 0x03, 0xff, 0xff, // FSH..."f..T..... + 0x46, 0x53, 0x48, 0x03, 0xb8, 0xbe, 0x22, 0x66, 0x00, 0x00, 0x54, 0x01, 0x00, 0x03, 0xff, 0xff, // FSH..."f..T..... 0xfe, 0xff, 0x22, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x53, 0x00, 0x00, 0x00, // ..".CTAB....S... 0x00, 0x03, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x4c, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, // L...0........... @@ -50,24 +50,25 @@ static const uint8_t fs_debugfont_dx9[353] = 0x01, 0x00, 0x00, 0x02, 0x00, 0x08, 0x0f, 0x80, 0x00, 0x00, 0xe4, 0x80, 0xff, 0xff, 0x00, 0x00, // ................ 0x00, // . }; -static const uint8_t fs_debugfont_dx11[854] = +static const uint8_t fs_debugfont_dx11[856] = { - 0x46, 0x53, 0x48, 0x02, 0xb8, 0xbe, 0x22, 0x66, 0x00, 0x00, 0x38, 0x03, 0x44, 0x58, 0x42, 0x43, // FSH..."f..8.DXBC - 0x4a, 0xbe, 0x8d, 0x48, 0x6b, 0x3a, 0xdb, 0x85, 0x21, 0x40, 0xa8, 0x0f, 0xc6, 0x7c, 0x6d, 0x01, // J..Hk:..!@...|m. - 0x01, 0x00, 0x00, 0x00, 0x38, 0x03, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....8.......4... - 0xf0, 0x00, 0x00, 0x00, 0x7c, 0x01, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0xbc, 0x02, 0x00, 0x00, // ....|........... - 0x52, 0x44, 0x45, 0x46, 0xb4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RDEF............ + 0x46, 0x53, 0x48, 0x03, 0xb8, 0xbe, 0x22, 0x66, 0x00, 0x00, 0x48, 0x03, 0x44, 0x58, 0x42, 0x43, // FSH..."f..H.DXBC + 0xa5, 0x4a, 0xda, 0x47, 0x04, 0x25, 0xa7, 0xd3, 0xbb, 0x09, 0x30, 0x0f, 0x56, 0xae, 0xf7, 0xbe, // .J.G.%....0.V... + 0x01, 0x00, 0x00, 0x00, 0x48, 0x03, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....H.......4... + 0x00, 0x01, 0x00, 0x00, 0x8c, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xcc, 0x02, 0x00, 0x00, // ................ + 0x52, 0x44, 0x45, 0x46, 0xc4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // RDEF............ 0x02, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x04, 0xff, 0xff, 0x00, 0x91, 0x00, 0x00, // ................ - 0x80, 0x00, 0x00, 0x00, 0x5c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ + 0x92, 0x00, 0x00, 0x00, 0x5c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, // ................ - 0x01, 0x00, 0x00, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, // ....n........... + 0x01, 0x00, 0x00, 0x00, 0x77, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, // ....w........... 0x04, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, // ................ - 0x0d, 0x00, 0x00, 0x00, 0x75, 0x5f, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x61, // ....u_texColorSa - 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x00, 0x75, 0x5f, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, // mpler.u_texColor - 0x54, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, // Texture.Microsof - 0x74, 0x20, 0x28, 0x52, 0x29, 0x20, 0x48, 0x4c, 0x53, 0x4c, 0x20, 0x53, 0x68, 0x61, 0x64, 0x65, // t (R) HLSL Shade - 0x72, 0x20, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x20, 0x39, 0x2e, 0x32, 0x39, 0x2e, // r Compiler 9.29. - 0x39, 0x35, 0x32, 0x2e, 0x33, 0x31, 0x31, 0x31, 0x00, 0xab, 0xab, 0xab, 0x49, 0x53, 0x47, 0x4e, // 952.3111....ISGN + 0x0d, 0x00, 0x00, 0x00, 0x75, 0x5f, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x75, 0x5f, // ....u_texColoru_ + 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x00, 0x75, // texColorampler.u + 0x5f, 0x74, 0x65, 0x78, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x75, 0x5f, 0x74, 0x65, 0x78, 0x43, 0x6f, // _texColoru_texCo + 0x6c, 0x6f, 0x72, 0x65, 0x78, 0x74, 0x75, 0x72, 0x65, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, // lorexture.Micros + 0x6f, 0x66, 0x74, 0x20, 0x28, 0x52, 0x29, 0x20, 0x48, 0x4c, 0x53, 0x4c, 0x20, 0x53, 0x68, 0x61, // oft (R) HLSL Sha + 0x64, 0x65, 0x72, 0x20, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x20, 0x39, 0x2e, 0x32, // der Compiler 9.2 + 0x39, 0x2e, 0x39, 0x35, 0x32, 0x2e, 0x33, 0x31, 0x31, 0x31, 0x00, 0xab, 0x49, 0x53, 0x47, 0x4e, // 9.952.3111..ISGN 0x84, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, // ............h... 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x0f, 0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ....t........... @@ -104,6 +105,5 @@ static const uint8_t fs_debugfont_dx11[854] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ...... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........ }; diff --git a/src/renderer_d3d11.cpp b/src/renderer_d3d11.cpp index 2744a2d0..2cf85d4a 100644 --- a/src/renderer_d3d11.cpp +++ b/src/renderer_d3d11.cpp @@ -254,6 +254,7 @@ namespace bgfx { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "TANGENT", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, + { "BITANGENT", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "COLOR", 0, DXGI_FORMAT_R8G8B8A8_UINT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "COLOR", 1, DXGI_FORMAT_R8G8B8A8_UINT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "BLENDINDICES", 0, DXGI_FORMAT_R8G8B8A8_UINT, 0, D3D11_APPEND_ALIGNED_ELEMENT, D3D11_INPUT_PER_VERTEX_DATA, 0 }, @@ -2075,7 +2076,23 @@ namespace bgfx BGFX_FATAL(NULL != m_ptr, bgfx::Fatal::InvalidShader, "Failed to create compute shader."); } - bx::read(&reader, m_attrMask, sizeof(m_attrMask) ); + uint8_t numAttrs; + bx::read(&reader, numAttrs); + + memset(m_attrMask, 0, sizeof(m_attrMask)); + + for (uint32_t ii = 0; ii < numAttrs; ++ii) + { + uint16_t id; + bx::read(&reader, id); + + Attrib::Enum attr = idToAttrib(id); + + if (Attrib::Count != attr) + { + m_attrMask[attr] = 0xff; + } + } uint16_t size; bx::read(&reader, size); diff --git a/src/renderer_d3d9.cpp b/src/renderer_d3d9.cpp index d7cc157a..10625c4a 100644 --- a/src/renderer_d3d9.cpp +++ b/src/renderer_d3d9.cpp @@ -1549,6 +1549,7 @@ namespace bgfx { 0, 0, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_POSITION, 0 }, { 0, 0, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_NORMAL, 0 }, { 0, 0, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_TANGENT, 0 }, + { 0, 0, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_BINORMAL, 0 }, { 0, 0, D3DDECLTYPE_UBYTE4, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_COLOR, 0 }, { 0, 0, D3DDECLTYPE_UBYTE4, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_COLOR, 1 }, { 0, 0, D3DDECLTYPE_UBYTE4, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_BLENDINDICES, 0 }, diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 8d21b390..77670a8d 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -43,6 +43,7 @@ namespace bgfx "a_position", "a_normal", "a_tangent", + "a_bitangent", "a_color0", "a_color1", "a_indices", diff --git a/src/vertexdecl.cpp b/src/vertexdecl.cpp index 7a57b014..abdee998 100644 --- a/src/vertexdecl.cpp +++ b/src/vertexdecl.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "config.h" #include "vertexdecl.h" @@ -94,17 +95,21 @@ namespace bgfx void VertexDecl::end() { - m_hash = bx::hashMurmur2A(m_attributes); + bx::HashMurmur2A murmur; + murmur.begin(); + murmur.add(m_attributes, sizeof(m_attributes) ); + murmur.add(m_offset, sizeof(m_offset) ); + m_hash = murmur.end(); } VertexDecl& VertexDecl::add(Attrib::Enum _attrib, uint8_t _num, AttribType::Enum _type, bool _normalized, bool _asInt) { const uint8_t encodedNorm = (_normalized&1)<<6; const uint8_t encodedType = (_type&3)<<3; - const uint8_t encodedNum = (_num-1)&3; + const uint8_t encodedNum = (_num-1)&3; const uint8_t encodeAsInt = (_asInt&(!!"\x1\x1\x0\x0"[_type]) )<<7; - m_attributes[_attrib] = encodedNorm|encodedType|encodedNum|encodeAsInt; + m_offset[_attrib] = m_stride; m_stride += (*s_attribTypeSize[m_hash])[_type][_num-1]; @@ -121,17 +126,18 @@ namespace bgfx void VertexDecl::decode(Attrib::Enum _attrib, uint8_t& _num, AttribType::Enum& _type, bool& _normalized, bool& _asInt) const { uint8_t val = m_attributes[_attrib]; - _num = (val&3)+1; - _type = AttribType::Enum((val>>3)&3); + _num = (val&3)+1; + _type = AttribType::Enum((val>>3)&3); _normalized = !!(val&(1<<6) ); - _asInt = !!(val&(1<<7) ); + _asInt = !!(val&(1<<7) ); } - static const char* s_attrName[Attrib::Count] = + static const char* s_attrName[] = { "Attrib::Position", "Attrib::Normal", "Attrib::Tangent", + "Attrib::Bitangent", "Attrib::Color0", "Attrib::Color1", "Attrib::Indices", @@ -145,6 +151,7 @@ namespace bgfx "Attrib::TexCoord6", "Attrib::TexCoord7", }; + BX_STATIC_ASSERT(BX_COUNTOF(s_attrName) == Attrib::Count); const char* getAttribName(Attrib::Enum _attr) { @@ -185,6 +192,173 @@ namespace bgfx } } + struct AttribToId + { + Attrib::Enum attr; + uint16_t id; + }; + + static AttribToId s_attribToId[] = + { + // NOTICE: + // Attrib must be in order how it appears in Attrib::Enum! id is + // unique and should not be changed if new Attribs are added. + { Attrib::Position, 0x0001 }, + { Attrib::Normal, 0x0002 }, + { Attrib::Tangent, 0x0003 }, + { Attrib::Bitangent, 0x0004 }, + { Attrib::Color0, 0x0005 }, + { Attrib::Color1, 0x0006 }, + { Attrib::Indices, 0x000e }, + { Attrib::Weight, 0x000f }, + { Attrib::TexCoord0, 0x0010 }, + { Attrib::TexCoord1, 0x0011 }, + { Attrib::TexCoord2, 0x0012 }, + { Attrib::TexCoord3, 0x0013 }, + { Attrib::TexCoord4, 0x0014 }, + { Attrib::TexCoord5, 0x0015 }, + { Attrib::TexCoord6, 0x0016 }, + { Attrib::TexCoord7, 0x0017 }, + }; + BX_STATIC_ASSERT(BX_COUNTOF(s_attribToId) == Attrib::Count); + + Attrib::Enum idToAttrib(uint16_t id) + { + for (uint32_t ii = 0; ii < BX_COUNTOF(s_attribToId); ++ii) + { + if (s_attribToId[ii].id == id) + { + return s_attribToId[ii].attr; + } + } + + return Attrib::Count; + } + + uint16_t attribToId(Attrib::Enum _attr) + { + return s_attribToId[_attr].id; + } + + struct AttribTypeToId + { + AttribType::Enum type; + uint16_t id; + }; + + static AttribTypeToId s_attribTypeToId[] = + { + // NOTICE: + // AttribType must be in order how it appears in AttribType::Enum! + // id is unique and should not be changed if new AttribTypes are + // added. + { AttribType::Uint8, 0x0001 }, + { AttribType::Int16, 0x0002 }, + { AttribType::Half, 0x0003 }, + { AttribType::Float, 0x0004 }, + }; + BX_STATIC_ASSERT(BX_COUNTOF(s_attribTypeToId) == AttribType::Count); + + AttribType::Enum idToAttribType(uint16_t id) + { + for (uint32_t ii = 0; ii < BX_COUNTOF(s_attribTypeToId); ++ii) + { + if (s_attribTypeToId[ii].id == id) + { + return s_attribTypeToId[ii].type; + } + } + + return AttribType::Count; + } + + uint16_t attribTypeToId(AttribType::Enum _attr) + { + return s_attribTypeToId[_attr].id; + } + + int32_t write(bx::WriterI* _writer, const VertexDecl& _decl) + { + int32_t total = 0; + uint8_t numAttrs = 0; + + for (uint32_t attr = 0; attr < Attrib::Count; ++attr) + { + numAttrs += 0xff == _decl.m_attributes[attr] ? 0 : 1; + } + + total += bx::write(_writer, numAttrs); + total += bx::write(_writer, _decl.m_stride); + + for (uint32_t attr = 0; attr < Attrib::Count; ++attr) + { + if (0xff != _decl.m_attributes[attr]) + { + uint8_t num; + AttribType::Enum type; + bool normalized; + bool asInt; + _decl.decode(Attrib::Enum(attr), num, type, normalized, asInt); + total += bx::write(_writer, _decl.m_offset[attr]); + total += bx::write(_writer, s_attribToId[attr].id); + total += bx::write(_writer, num); + total += bx::write(_writer, s_attribTypeToId[type].id); + total += bx::write(_writer, normalized); + total += bx::write(_writer, asInt); + } + } + + return total; + } + + int32_t read(bx::ReaderI* _reader, VertexDecl& _decl) + { + int32_t total = 0; + + uint8_t numAttrs; + total += bx::read(_reader, numAttrs); + + uint16_t stride; + total += bx::read(_reader, stride); + + _decl.begin(); + + for (uint32_t ii = 0; ii < numAttrs; ++ii) + { + uint16_t offset; + total += bx::read(_reader, offset); + + uint16_t attribId = 0; + total += bx::read(_reader, attribId); + + uint8_t num; + total += bx::read(_reader, num); + + uint16_t attribTypeId; + total += bx::read(_reader, attribTypeId); + + bool normalized; + total += bx::read(_reader, normalized); + + bool asInt; + total += bx::read(_reader, asInt); + + Attrib::Enum attr = idToAttrib(attribId); + AttribType::Enum type = idToAttribType(attribTypeId); + if (Attrib::Count != attr + && AttribType::Count != type) + { + _decl.add(attr, num, type, normalized, asInt); + _decl.m_offset[attr] = offset; + } + } + + _decl.end(); + _decl.m_stride = stride; + + return total; + } + void vertexPack(const float _input[4], bool _inputNormalized, Attrib::Enum _attr, const VertexDecl& _decl, void* _data, uint32_t _index) { if (!_decl.has(_attr) ) @@ -525,7 +699,7 @@ namespace bgfx ++numVertices; float pos[4]; - vertexUnpack(pos, bgfx::Attrib::Position, _decl, _data, ii); + vertexUnpack(pos, Attrib::Position, _decl, _data, ii); for (uint32_t jj = 0; jj < _num; ++jj) { @@ -535,7 +709,7 @@ namespace bgfx } float test[4]; - vertexUnpack(test, bgfx::Attrib::Position, _decl, _data, jj); + vertexUnpack(test, Attrib::Position, _decl, _data, jj); if (sqLength(test, pos) < epsilonSq) { @@ -564,14 +738,14 @@ namespace bgfx for (uint32_t ii = 0; ii < _num; ++ii) { float pos[4]; - vertexUnpack(pos, bgfx::Attrib::Position, _decl, _data, ii); + vertexUnpack(pos, Attrib::Position, _decl, _data, ii); uint32_t hashValue = bx::hashMurmur2A(pos, 3*sizeof(float) ) & hashMask; uint16_t offset = hashTable[hashValue]; for (; UINT16_MAX != offset; offset = next[offset]) { float test[4]; - vertexUnpack(test, bgfx::Attrib::Position, _decl, _data, _output[offset]); + vertexUnpack(test, Attrib::Position, _decl, _data, _output[offset]); if (sqLength(test, pos) < epsilonSq) { diff --git a/src/vertexdecl.h b/src/vertexdecl.h index 76f495a1..ed5c117b 100644 --- a/src/vertexdecl.h +++ b/src/vertexdecl.h @@ -7,6 +7,7 @@ #define BGFX_VERTEXDECL_H_HEADER_GUARD #include +#include namespace bgfx { @@ -19,6 +20,21 @@ namespace bgfx /// Dump vertex declaration into debug output. void dump(const VertexDecl& _decl); + /// + Attrib::Enum idToAttrib(uint16_t id); + + /// + uint16_t attribToId(Attrib::Enum _attr); + + /// + AttribType::Enum idToAttribType(uint16_t id); + + /// + int32_t write(bx::WriterI* _writer, const bgfx::VertexDecl& _decl); + + /// + int32_t read(bx::ReaderI* _reader, bgfx::VertexDecl& _decl); + } // namespace bgfx #endif // BGFX_VERTEXDECL_H_HEADER_GUARD diff --git a/src/vs_clear.bin.h b/src/vs_clear.bin.h index 520a7b9a..debdde78 100644 --- a/src/vs_clear.bin.h +++ b/src/vs_clear.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_clear_glsl[255] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x61, 0x74, // VSH....I......at + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x61, 0x74, // VSH....I......at 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, // tribute mediump 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x30, 0x3b, 0x0a, 0x61, // vec4 a_color0;.a 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x70, // ttribute mediump @@ -19,7 +19,7 @@ static const uint8_t vs_clear_glsl[255] = }; static const uint8_t vs_clear_dx9[217] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xcc, 0x00, 0x00, 0x03, 0xfe, 0xff, // VSH....I........ + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0xcc, 0x00, 0x00, 0x03, 0xfe, 0xff, // VSH....I........ 0xfe, 0xff, 0x16, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, // ....CTAB....#... 0x00, 0x03, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x00, 0x00, // ................ 0x1c, 0x00, 0x00, 0x00, 0x76, 0x73, 0x5f, 0x33, 0x5f, 0x30, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, // ....vs_3_0.Micro @@ -34,9 +34,9 @@ static const uint8_t vs_clear_dx9[217] = 0x00, 0x00, 0x40, 0xa0, 0x00, 0x00, 0x15, 0xa0, 0x01, 0x00, 0x00, 0x02, 0x01, 0x00, 0x0f, 0xe0, // ..@............. 0x00, 0x00, 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ......... }; -static const uint8_t vs_clear_dx11[590] = +static const uint8_t vs_clear_dx11[580] = { - 0x56, 0x53, 0x48, 0x02, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x30, 0x02, 0x44, 0x58, 0x42, 0x43, // VSH....I..0.DXBC + 0x56, 0x53, 0x48, 0x03, 0xa4, 0x8b, 0xef, 0x49, 0x00, 0x00, 0x30, 0x02, 0x44, 0x58, 0x42, 0x43, // VSH....I..0.DXBC 0x04, 0xac, 0x6e, 0xb3, 0xfa, 0xa6, 0xc0, 0x40, 0x10, 0xce, 0x75, 0xe7, 0xa0, 0x24, 0xd6, 0x56, // ..n....@..u..$.V 0x01, 0x00, 0x00, 0x00, 0x30, 0x02, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, // ....0.......4... 0x8c, 0x00, 0x00, 0x00, 0xdc, 0x00, 0x00, 0x00, 0x30, 0x01, 0x00, 0x00, 0xb4, 0x01, 0x00, 0x00, // ........0....... @@ -71,6 +71,6 @@ static const uint8_t vs_clear_dx11[590] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, // ................ - 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // .............. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x05, 0x00, // ................ + 0x01, 0x00, 0x00, 0x00, // .... }; diff --git a/src/vs_debugfont.bin.h b/src/vs_debugfont.bin.h index 02c1f339..62716d4d 100644 --- a/src/vs_debugfont.bin.h +++ b/src/vs_debugfont.bin.h @@ -1,6 +1,6 @@ static const uint8_t vs_debugfont_glsl[521] = { - 0x56, 0x53, 0x48, 0x02, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..."f...u_mod + 0x56, 0x53, 0x48, 0x03, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..."f...u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x01, 0x00, // elViewProj...... 0xe4, 0x01, 0x00, 0x00, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6d, 0x65, // ....attribute me 0x64, 0x69, 0x75, 0x6d, 0x70, 0x20, 0x76, 0x65, 0x63, 0x34, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, // diump vec4 a_col @@ -36,7 +36,7 @@ static const uint8_t vs_debugfont_glsl[521] = }; static const uint8_t vs_debugfont_dx9[391] = { - 0x56, 0x53, 0x48, 0x02, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..."f...u_mod + 0x56, 0x53, 0x48, 0x03, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..."f...u_mod 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x01, 0x00, 0x00, 0x04, 0x00, // elViewProj...... 0x64, 0x01, 0x00, 0x03, 0xfe, 0xff, 0xfe, 0xff, 0x23, 0x00, 0x43, 0x54, 0x41, 0x42, 0x1c, 0x00, // d.......#.CTAB.. 0x00, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfe, 0xff, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, // ..W............. @@ -62,96 +62,99 @@ static const uint8_t vs_debugfont_dx9[391] = 0x0f, 0xe0, 0x01, 0x00, 0xe4, 0x90, 0x01, 0x00, 0x00, 0x02, 0x03, 0x00, 0x03, 0xe0, 0x03, 0x00, // ................ 0xe4, 0x90, 0xff, 0xff, 0x00, 0x00, 0x00, // ....... }; -static const uint8_t vs_debugfont_dx11[1432] = +static const uint8_t vs_debugfont_dx11[1486] = { - 0x56, 0x53, 0x48, 0x02, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..."f...u_mod - 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x08, 0x04, 0x00, // elViewProj...... - 0x64, 0x05, 0x44, 0x58, 0x42, 0x43, 0x51, 0x64, 0xe9, 0xba, 0xcb, 0x28, 0x5d, 0x71, 0x9d, 0x9b, // d.DXBCQd...(]q.. - 0x12, 0x99, 0xa4, 0x09, 0x9a, 0x4a, 0x01, 0x00, 0x00, 0x00, 0x64, 0x05, 0x00, 0x00, 0x05, 0x00, // .....J....d..... - 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x78, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x8c, 0x03, // ..4...x......... - 0x00, 0x00, 0xe8, 0x04, 0x00, 0x00, 0x52, 0x44, 0x45, 0x46, 0x3c, 0x02, 0x00, 0x00, 0x01, 0x00, // ......RDEF<..... + 0x56, 0x53, 0x48, 0x03, 0xb8, 0xbe, 0x22, 0x66, 0x01, 0x00, 0x0f, 0x75, 0x5f, 0x6d, 0x6f, 0x64, // VSH..."f...u_mod + 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x09, 0x00, 0xe0, 0x09, 0x04, 0x00, // elViewProj...... + 0xa0, 0x05, 0x44, 0x58, 0x42, 0x43, 0xd8, 0x0a, 0x62, 0xda, 0x4f, 0xc6, 0x4b, 0xc9, 0x8b, 0x8f, // ..DXBC..b.O.K... + 0x39, 0xd9, 0xc4, 0x30, 0xee, 0xfe, 0x01, 0x00, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x00, 0x05, 0x00, // 9..0............ + 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0xb4, 0x02, 0x00, 0x00, 0x3c, 0x03, 0x00, 0x00, 0xc8, 0x03, // ..4.......<..... + 0x00, 0x00, 0x24, 0x05, 0x00, 0x00, 0x52, 0x44, 0x45, 0x46, 0x78, 0x02, 0x00, 0x00, 0x01, 0x00, // ..$...RDEFx..... 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x04, // ..H............. - 0xfe, 0xff, 0x00, 0x91, 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, // ..........<..... + 0xfe, 0xff, 0x00, 0x91, 0x00, 0x00, 0x44, 0x02, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, // ......D...<..... 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x24, 0x47, 0x6c, 0x6f, 0x62, 0x61, // ..........$Globa - 0x6c, 0x73, 0x00, 0xab, 0xab, 0xab, 0x3c, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x60, 0x00, // ls....<.......`. - 0x00, 0x00, 0xb0, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x01, // ..............P. - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5c, 0x01, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6c, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, // ......l......... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5c, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x01, // ..............x. - 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, // .. ...@......... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x01, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x40, 0x00, // ..........`...@. - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9b, 0x01, // ................ - 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4, 0x01, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb4, 0x01, 0x00, 0x00, 0xa0, 0x08, 0x00, 0x00, 0x40, 0x00, // ..............@. - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x01, // ................ - 0x00, 0x00, 0xe0, 0x08, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x80, 0x01, // ......@......... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x01, 0x00, 0x00, 0x20, 0x09, 0x00, 0x00, 0x40, 0x00, // .......... ...@. - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe1, 0x01, // ................ - 0x00, 0x00, 0x60, 0x09, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, // ..`...@......... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xed, 0x01, 0x00, 0x00, 0xa0, 0x09, 0x00, 0x00, 0x04, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x75, 0x5f, // ..............u_ + 0x6c, 0x73, 0x00, 0xab, 0xab, 0xab, 0x3c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x60, 0x00, // ls....<.......`. + 0x00, 0x00, 0x30, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, // ..0............. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8c, 0x01, // ................ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9c, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, // ................ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8c, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa8, 0x01, // ................ + 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, // .. ...@......... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x40, 0x00, // ..........`...@. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xca, 0x01, // ................ + 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, // ......@......... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd1, 0x01, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x40, 0x00, // ..............@. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xdb, 0x01, // ................ + 0x00, 0x00, 0x20, 0x01, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, // .. ...@......... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe6, 0x01, 0x00, 0x00, 0x60, 0x01, 0x00, 0x00, 0x40, 0x00, // ..........`...@. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf4, 0x01, // ................ + 0x00, 0x00, 0xa0, 0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x01, // ................ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x02, 0x00, 0x00, 0xa0, 0x09, 0x00, 0x00, 0x40, 0x00, // ..............@. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x02, // ................ + 0x00, 0x00, 0xe0, 0x09, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0xb0, 0x01, // ......@......... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28, 0x02, 0x00, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x04, 0x00, // ......(... ..... + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x75, 0x5f, // ......4.......u_ 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x63, 0x74, 0x00, 0xab, 0x01, 0x00, 0x03, 0x00, 0x01, 0x00, // viewRect........ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x75, 0x5f, 0x76, 0x69, 0x65, 0x77, // ..........u_view 0x54, 0x65, 0x78, 0x65, 0x6c, 0x00, 0x75, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x00, 0xab, 0x03, 0x00, // Texel.u_view.... 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x75, 0x5f, // ..............u_ - 0x76, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x00, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, // viewProj.u_model - 0x00, 0xab, 0x03, 0x00, 0x03, 0x00, 0x04, 0x00, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, // .......... ..... - 0x00, 0x00, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x00, 0x75, 0x5f, // ..u_modelView.u_ - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x00, 0x75, 0x5f, // modelViewProj.u_ - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x58, 0x00, 0x75, // modelViewProjX.u - 0x5f, 0x76, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x58, 0x00, 0x75, 0x5f, 0x61, 0x6c, 0x70, // _viewProjX.u_alp - 0x68, 0x61, 0x52, 0x65, 0x66, 0x00, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, // haRef........... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x20, // ......Microsoft - 0x28, 0x52, 0x29, 0x20, 0x48, 0x4c, 0x53, 0x4c, 0x20, 0x53, 0x68, 0x61, 0x64, 0x65, 0x72, 0x20, // (R) HLSL Shader - 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x20, 0x39, 0x2e, 0x32, 0x39, 0x2e, 0x39, 0x35, // Compiler 9.29.95 - 0x32, 0x2e, 0x33, 0x31, 0x31, 0x31, 0x00, 0xab, 0xab, 0xab, 0x49, 0x53, 0x47, 0x4e, 0x80, 0x00, // 2.3111....ISGN.. - 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, // ..........h..... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, // ................ - 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, // ..h............. - 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0x00, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, // ..........n..... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x07, // ................ - 0x00, 0x00, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, // ..w............. - 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x00, // ..........COLOR. - 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x00, 0x54, 0x45, 0x58, 0x43, 0x4f, 0x4f, 0x52, // POSITION.TEXCOOR - 0x44, 0x00, 0x4f, 0x53, 0x47, 0x4e, 0x84, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00, // D.OSGN.......... - 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, // ..h............. - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, // ..........t..... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0f, 0x00, // ................ - 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, // ..t............. - 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x7a, 0x00, 0x00, 0x00, 0x00, 0x00, // ..........z..... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x0c, // ................ - 0x00, 0x00, 0x53, 0x56, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x00, 0x43, 0x4f, // ..SV_POSITION.CO - 0x4c, 0x4f, 0x52, 0x00, 0x54, 0x45, 0x58, 0x43, 0x4f, 0x4f, 0x52, 0x44, 0x00, 0xab, 0x53, 0x48, // LOR.TEXCOORD..SH - 0x44, 0x52, 0x54, 0x01, 0x00, 0x00, 0x40, 0x00, 0x01, 0x00, 0x55, 0x00, 0x00, 0x00, 0x59, 0x00, // DRT...@...U...Y. - 0x00, 0x04, 0x46, 0x8e, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x5f, 0x00, // ..F. ........._. - 0x00, 0x03, 0xf2, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5f, 0x00, 0x00, 0x03, 0xf2, 0x10, // .........._..... - 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x5f, 0x00, 0x00, 0x03, 0x72, 0x10, 0x10, 0x00, 0x02, 0x00, // ......_...r..... - 0x00, 0x00, 0x5f, 0x00, 0x00, 0x03, 0x32, 0x10, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x67, 0x00, // .._...2.......g. - 0x00, 0x04, 0xf2, 0x20, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x65, 0x00, // ... ..........e. - 0x00, 0x03, 0xf2, 0x20, 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x65, 0x00, 0x00, 0x03, 0xf2, 0x20, // ... ......e.... - 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x65, 0x00, 0x00, 0x03, 0x32, 0x20, 0x10, 0x00, 0x03, 0x00, // ......e...2 .... - 0x00, 0x00, 0x68, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x08, 0xf2, 0x00, // ..h.......8..... - 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x15, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x8e, // ......V.......F. - 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8f, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x0a, 0xf2, 0x00, // .........2..... - 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x8e, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x00, // ......F. ....... - 0x00, 0x00, 0x06, 0x10, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x0e, 0x10, 0x00, 0x00, 0x00, // ..........F..... - 0x00, 0x00, 0x32, 0x00, 0x00, 0x0a, 0xf2, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x8e, // ..2...........F. - 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00, 0xa6, 0x1a, 0x10, 0x00, 0x02, 0x00, // ............... - 0x00, 0x00, 0x46, 0x0e, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0xf2, 0x20, // ..F............ - 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x0e, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x8e, // ......F.......F. - 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x05, 0xf2, 0x20, // .........6.... - 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x46, 0x1e, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, // ......F.......6. - 0x00, 0x05, 0xf2, 0x20, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x1e, 0x10, 0x00, 0x01, 0x00, // ... ......F..... - 0x00, 0x00, 0x36, 0x00, 0x00, 0x05, 0x32, 0x20, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x46, 0x10, // ..6...2 ......F. - 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x01, 0x53, 0x54, 0x41, 0x54, 0x74, 0x00, // ......>...STATt. - 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, // ................ - 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, // ................ + 0x69, 0x6e, 0x76, 0x56, 0x69, 0x65, 0x77, 0x00, 0x75, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x00, 0x75, // invView.u_proj.u + 0x5f, 0x69, 0x6e, 0x76, 0x50, 0x72, 0x6f, 0x6a, 0x00, 0x75, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x50, // _invProj.u_viewP + 0x72, 0x6f, 0x6a, 0x00, 0x75, 0x5f, 0x69, 0x6e, 0x76, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, // roj.u_invViewPro + 0x6a, 0x00, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x00, 0x03, 0x00, 0x03, 0x00, 0x04, 0x00, // j.u_model....... + 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, // .. .......u_mode + 0x6c, 0x56, 0x69, 0x65, 0x77, 0x00, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x56, 0x69, 0x65, // lView.u_modelVie + 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x00, 0x75, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x65, 0x66, // wProj.u_alphaRef + 0x00, 0xab, 0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ + 0x00, 0x00, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x20, 0x28, 0x52, 0x29, 0x20, // ..Microsoft (R) + 0x48, 0x4c, 0x53, 0x4c, 0x20, 0x53, 0x68, 0x61, 0x64, 0x65, 0x72, 0x20, 0x43, 0x6f, 0x6d, 0x70, // HLSL Shader Comp + 0x69, 0x6c, 0x65, 0x72, 0x20, 0x39, 0x2e, 0x32, 0x39, 0x2e, 0x39, 0x35, 0x32, 0x2e, 0x33, 0x31, // iler 9.29.952.31 + 0x31, 0x31, 0x00, 0xab, 0xab, 0xab, 0x49, 0x53, 0x47, 0x4e, 0x80, 0x00, 0x00, 0x00, 0x04, 0x00, // 11....ISGN...... + 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ......h......... + 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0x00, 0x00, 0x68, 0x00, // ..............h. + 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, // ................ + 0x00, 0x00, 0x0f, 0x0f, 0x00, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ......n......... + 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x07, 0x00, 0x00, 0x77, 0x00, // ..............w. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, // ................ + 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x00, 0x50, 0x4f, 0x53, 0x49, // ......COLOR.POSI + 0x54, 0x49, 0x4f, 0x4e, 0x00, 0x54, 0x45, 0x58, 0x43, 0x4f, 0x4f, 0x52, 0x44, 0x00, 0x4f, 0x53, // TION.TEXCOORD.OS + 0x47, 0x4e, 0x84, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x68, 0x00, // GN............h. + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ + 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ......t......... + 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x74, 0x00, // ..............t. + 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, // ................ + 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x7a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ......z......... + 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x0c, 0x00, 0x00, 0x53, 0x56, // ..............SV + 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x00, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x00, // _POSITION.COLOR. + 0x54, 0x45, 0x58, 0x43, 0x4f, 0x4f, 0x52, 0x44, 0x00, 0xab, 0x53, 0x48, 0x44, 0x52, 0x54, 0x01, // TEXCOORD..SHDRT. + 0x00, 0x00, 0x40, 0x00, 0x01, 0x00, 0x55, 0x00, 0x00, 0x00, 0x59, 0x00, 0x00, 0x04, 0x46, 0x8e, // ..@...U...Y...F. + 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa2, 0x00, 0x00, 0x00, 0x5f, 0x00, 0x00, 0x03, 0xf2, 0x10, // ........._..... + 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5f, 0x00, 0x00, 0x03, 0xf2, 0x10, 0x10, 0x00, 0x01, 0x00, // ......_......... + 0x00, 0x00, 0x5f, 0x00, 0x00, 0x03, 0x72, 0x10, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x5f, 0x00, // .._...r......._. + 0x00, 0x03, 0x32, 0x10, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x67, 0x00, 0x00, 0x04, 0xf2, 0x20, // ..2.......g.... + 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x65, 0x00, 0x00, 0x03, 0xf2, 0x20, // ..........e.... + 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x65, 0x00, 0x00, 0x03, 0xf2, 0x20, 0x10, 0x00, 0x02, 0x00, // ......e.... .... + 0x00, 0x00, 0x65, 0x00, 0x00, 0x03, 0x32, 0x20, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x68, 0x00, // ..e...2 ......h. + 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x08, 0xf2, 0x00, 0x10, 0x00, 0x00, 0x00, // ......8......... + 0x00, 0x00, 0x56, 0x15, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x8e, 0x20, 0x00, 0x00, 0x00, // ..V.......F. ... + 0x00, 0x00, 0x9f, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x0a, 0xf2, 0x00, 0x10, 0x00, 0x00, 0x00, // ......2......... + 0x00, 0x00, 0x46, 0x8e, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9e, 0x00, 0x00, 0x00, 0x06, 0x10, // ..F. ........... + 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x0e, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x00, // ......F.......2. + 0x00, 0x0a, 0xf2, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x8e, 0x20, 0x00, 0x00, 0x00, // ..........F. ... + 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0xa6, 0x1a, 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x0e, // ..............F. + 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0xf2, 0x20, 0x10, 0x00, 0x00, 0x00, // ........... .... + 0x00, 0x00, 0x46, 0x0e, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x8e, 0x20, 0x00, 0x00, 0x00, // ..F.......F. ... + 0x00, 0x00, 0xa1, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x05, 0xf2, 0x20, 0x10, 0x00, 0x01, 0x00, // ......6.... .... + 0x00, 0x00, 0x46, 0x1e, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x05, 0xf2, 0x20, // ..F.......6.... + 0x10, 0x00, 0x02, 0x00, 0x00, 0x00, 0x46, 0x1e, 0x10, 0x00, 0x01, 0x00, 0x00, 0x00, 0x36, 0x00, // ......F.......6. + 0x00, 0x05, 0x32, 0x20, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x46, 0x10, 0x10, 0x00, 0x03, 0x00, // ..2 ......F..... + 0x00, 0x00, 0x3e, 0x00, 0x00, 0x01, 0x53, 0x54, 0x41, 0x54, 0x74, 0x00, 0x00, 0x00, 0x08, 0x00, // ..>...STATt..... + 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, // ................ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, // ................ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, // ................ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x09, // ........ + 0x00, 0x00, 0x00, 0x04, 0x05, 0x00, 0x06, 0x00, 0x01, 0x00, 0x10, 0x00, 0x30, 0x0a, // ............0. }; diff --git a/tools/geometryc/geometryc.cpp b/tools/geometryc/geometryc.cpp index c814915b..6e85f979 100644 --- a/tools/geometryc/geometryc.cpp +++ b/tools/geometryc/geometryc.cpp @@ -112,8 +112,8 @@ typedef std::vector PrimitiveArray; static uint32_t s_obbSteps = 17; #define BGFX_CHUNK_MAGIC_GEO BX_MAKEFOURCC('G', 'E', 'O', 0x0) -#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x0) -#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) +#define BGFX_CHUNK_MAGIC_VB BX_MAKEFOURCC('V', 'B', ' ', 0x1) +#define BGFX_CHUNK_MAGIC_IB BX_MAKEFOURCC('I', 'B', ' ', 0x0) #define BGFX_CHUNK_MAGIC_PRI BX_MAKEFOURCC('P', 'R', 'I', 0x0) long int fsize(FILE* _file) @@ -234,7 +234,7 @@ void calcTangents(void* _vertices, uint16_t _numVertices, bgfx::VertexDecl _decl delete [] tangents; } -void writeBounds(bx::WriterI* _writer, const void* _vertices, uint32_t _numVertices, uint32_t _stride) +void write(bx::WriterI* _writer, const void* _vertices, uint32_t _numVertices, uint32_t _stride) { Sphere maxSphere; calcMaxBoundingSphere(maxSphere, _vertices, _numVertices, _stride); @@ -262,34 +262,38 @@ void writeBounds(bx::WriterI* _writer, const void* _vertices, uint32_t _numVerti void write(bx::WriterI* _writer, const uint8_t* _vertices, uint32_t _numVertices, const bgfx::VertexDecl& _decl, const uint16_t* _indices, uint32_t _numIndices, const std::string& _material, const PrimitiveArray& _primitives) { + using namespace bx; + using namespace bgfx; + uint32_t stride = _decl.getStride(); - bx::write(_writer, BGFX_CHUNK_MAGIC_VB); - writeBounds(_writer, _vertices, _numVertices, stride); + write(_writer, BGFX_CHUNK_MAGIC_VB); + write(_writer, _vertices, _numVertices, stride); - bx::write(_writer, _decl); - bx::write(_writer, uint16_t(_numVertices) ); - bx::write(_writer, _vertices, _numVertices*stride); + write(_writer, _decl); - bx::write(_writer, BGFX_CHUNK_MAGIC_IB); - bx::write(_writer, _numIndices); - bx::write(_writer, _indices, _numIndices*2); + write(_writer, uint16_t(_numVertices) ); + write(_writer, _vertices, _numVertices*stride); - bx::write(_writer, BGFX_CHUNK_MAGIC_PRI); + write(_writer, BGFX_CHUNK_MAGIC_IB); + write(_writer, _numIndices); + write(_writer, _indices, _numIndices*2); + + write(_writer, BGFX_CHUNK_MAGIC_PRI); uint16_t nameLen = uint16_t(_material.size() ); - bx::write(_writer, nameLen); - bx::write(_writer, _material.c_str(), nameLen); - bx::write(_writer, uint16_t(_primitives.size() ) ); + write(_writer, nameLen); + write(_writer, _material.c_str(), nameLen); + write(_writer, uint16_t(_primitives.size() ) ); for (PrimitiveArray::const_iterator primIt = _primitives.begin(); primIt != _primitives.end(); ++primIt) { const Primitive& prim = *primIt; nameLen = uint16_t(prim.m_name.size() ); - bx::write(_writer, nameLen); - bx::write(_writer, prim.m_name.c_str(), nameLen); - bx::write(_writer, prim.m_startIndex); - bx::write(_writer, prim.m_numIndices); - bx::write(_writer, prim.m_startVertex); - bx::write(_writer, prim.m_numVertices); - writeBounds(_writer, &_vertices[prim.m_startVertex*stride], prim.m_numVertices, stride); + write(_writer, nameLen); + write(_writer, prim.m_name.c_str(), nameLen); + write(_writer, prim.m_startIndex); + write(_writer, prim.m_numIndices); + write(_writer, prim.m_startVertex); + write(_writer, prim.m_numVertices); + write(_writer, &_vertices[prim.m_startVertex*stride], prim.m_numVertices, stride); } } diff --git a/tools/shaderc/shaderc.cpp b/tools/shaderc/shaderc.cpp index a7d0e650..2828b005 100644 --- a/tools/shaderc/shaderc.cpp +++ b/tools/shaderc/shaderc.cpp @@ -54,9 +54,9 @@ extern "C" #include } // extern "C" -#define BGFX_CHUNK_MAGIC_CSH BX_MAKEFOURCC('C', 'S', 'H', 0x0) -#define BGFX_CHUNK_MAGIC_VSH BX_MAKEFOURCC('V', 'S', 'H', 0x2) -#define BGFX_CHUNK_MAGIC_FSH BX_MAKEFOURCC('F', 'S', 'H', 0x2) +#define BGFX_CHUNK_MAGIC_CSH BX_MAKEFOURCC('C', 'S', 'H', 0x1) +#define BGFX_CHUNK_MAGIC_FSH BX_MAKEFOURCC('F', 'S', 'H', 0x3) +#define BGFX_CHUNK_MAGIC_VSH BX_MAKEFOURCC('V', 'S', 'H', 0x3) #include #include @@ -67,6 +67,8 @@ extern "C" #include "glsl_optimizer.h" +#include "../../src/vertexdecl.h" + #if BX_PLATFORM_WINDOWS # include # define __D3DX9MATH_INL__ // not used and MinGW complains about type-punning @@ -83,30 +85,6 @@ long int fsize(FILE* _file) return size; } -struct Attrib -{ - enum Enum - { - Position = 0, - Normal, - Tangent, - Color0, - Color1, - Indices, - Weight, - TexCoord0, - TexCoord1, - TexCoord2, - TexCoord3, - TexCoord4, - TexCoord5, - TexCoord6, - TexCoord7, - - Count, - }; -}; - static const char* s_ARB_shader_texture_lod[] = { "texture2DLod", @@ -150,34 +128,35 @@ static const char* s_OES_texture_3D[] = struct RemapInputSemantic { - Attrib::Enum m_attr; + bgfx::Attrib::Enum m_attr; const char* m_name; uint8_t m_index; }; -static const RemapInputSemantic s_remapInputSemantic[Attrib::Count+1] = +static const RemapInputSemantic s_remapInputSemantic[bgfx::Attrib::Count+1] = { - { Attrib::Position, "POSITION", 0 }, - { Attrib::Normal, "NORMAL", 0 }, - { Attrib::Tangent, "TANGENT", 0 }, - { Attrib::Color0, "COLOR", 0 }, - { Attrib::Color1, "COLOR", 1 }, - { Attrib::Indices, "BLENDINDICES", 0 }, - { Attrib::Weight, "BLENDWEIGHT", 0 }, - { Attrib::TexCoord0, "TEXCOORD", 0 }, - { Attrib::TexCoord1, "TEXCOORD", 1 }, - { Attrib::TexCoord2, "TEXCOORD", 2 }, - { Attrib::TexCoord3, "TEXCOORD", 3 }, - { Attrib::TexCoord4, "TEXCOORD", 4 }, - { Attrib::TexCoord5, "TEXCOORD", 5 }, - { Attrib::TexCoord6, "TEXCOORD", 6 }, - { Attrib::TexCoord7, "TEXCOORD", 7 }, - { Attrib::Count, "", 0 }, + { bgfx::Attrib::Position, "POSITION", 0 }, + { bgfx::Attrib::Normal, "NORMAL", 0 }, + { bgfx::Attrib::Tangent, "TANGENT", 0 }, + { bgfx::Attrib::Bitangent, "BITANGENT", 0 }, + { bgfx::Attrib::Color0, "COLOR", 0 }, + { bgfx::Attrib::Color1, "COLOR", 1 }, + { bgfx::Attrib::Indices, "BLENDINDICES", 0 }, + { bgfx::Attrib::Weight, "BLENDWEIGHT", 0 }, + { bgfx::Attrib::TexCoord0, "TEXCOORD", 0 }, + { bgfx::Attrib::TexCoord1, "TEXCOORD", 1 }, + { bgfx::Attrib::TexCoord2, "TEXCOORD", 2 }, + { bgfx::Attrib::TexCoord3, "TEXCOORD", 3 }, + { bgfx::Attrib::TexCoord4, "TEXCOORD", 4 }, + { bgfx::Attrib::TexCoord5, "TEXCOORD", 5 }, + { bgfx::Attrib::TexCoord6, "TEXCOORD", 6 }, + { bgfx::Attrib::TexCoord7, "TEXCOORD", 7 }, + { bgfx::Attrib::Count, "", 0 }, }; const RemapInputSemantic& findInputSemantic(const char* _name, uint8_t _index) { - for (uint32_t ii = 0; ii < Attrib::Count; ++ii) + for (uint32_t ii = 0; ii < bgfx::Attrib::Count; ++ii) { const RemapInputSemantic& ris = s_remapInputSemantic[ii]; if (0 == strcmp(ris.m_name, _name) @@ -187,7 +166,7 @@ const RemapInputSemantic& findInputSemantic(const char* _name, uint8_t _index) } } - return s_remapInputSemantic[Attrib::Count]; + return s_remapInputSemantic[bgfx::Attrib::Count]; } struct UniformType @@ -1186,27 +1165,31 @@ bool compileHLSLShaderDx11(bx::CommandLine& _cmdLine, const std::string& _code, BX_TRACE("Num constant buffers: %d", desc.ConstantBuffers); BX_TRACE("Input:"); - uint8_t attrMask[Attrib::Count]; - memset(attrMask, 0, sizeof(attrMask) ); + uint8_t numAttrs = 0; + uint16_t attrs[bgfx::Attrib::Count]; - for (uint32_t ii = 0; ii < desc.InputParameters; ++ii) + if (profile[0] == 'v') // Only care about input semantic on vertex shaders { - D3D11_SIGNATURE_PARAMETER_DESC spd; - reflect->GetInputParameterDesc(ii, &spd); - BX_TRACE("\t%2d: %s%d, vt %d, ct %d, mask %x, reg %d" - , ii - , spd.SemanticName - , spd.SemanticIndex - , spd.SystemValueType - , spd.ComponentType - , spd.Mask - , spd.Register - ); - - const RemapInputSemantic& ris = findInputSemantic(spd.SemanticName, spd.SemanticIndex); - if (ris.m_attr != Attrib::Count) + for (uint32_t ii = 0; ii < desc.InputParameters; ++ii) { - attrMask[ris.m_attr] = 0xff; + D3D11_SIGNATURE_PARAMETER_DESC spd; + reflect->GetInputParameterDesc(ii, &spd); + BX_TRACE("\t%2d: %s%d, vt %d, ct %d, mask %x, reg %d" + , ii + , spd.SemanticName + , spd.SemanticIndex + , spd.SystemValueType + , spd.ComponentType + , spd.Mask + , spd.Register + ); + + const RemapInputSemantic& ris = findInputSemantic(spd.SemanticName, spd.SemanticIndex); + if (ris.m_attr != bgfx::Attrib::Count) + { + attrs[numAttrs] = bgfx::attribToId(ris.m_attr); + ++numAttrs; + } } } @@ -1331,7 +1314,9 @@ bool compileHLSLShaderDx11(bx::CommandLine& _cmdLine, const std::string& _code, uint8_t nul = 0; bx::write(_writer, nul); - bx::write(_writer, attrMask, sizeof(attrMask) ); + bx::write(_writer, numAttrs); + bx::write(_writer, attrs, numAttrs*sizeof(uint16_t) ); + bx::write(_writer, size); if (_cmdLine.hasArg('\0', "disasm") )