mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Removed unused uniform.
This commit is contained in:
parent
f1a1212efc
commit
36b3ccabfa
8 changed files with 0 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
||||||
#include "../common/common.sh"
|
#include "../common/common.sh"
|
||||||
|
|
||||||
uniform vec4 u_offset[16];
|
uniform vec4 u_offset[16];
|
||||||
uniform vec4 u_weight[16];
|
|
||||||
uniform vec4 u_tonemap;
|
uniform vec4 u_tonemap;
|
||||||
|
|
||||||
float reinhard(float _x)
|
float reinhard(float _x)
|
||||||
|
|
|
@ -462,7 +462,6 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||||
bgfx::UniformHandle u_mtx = bgfx::createUniform("u_mtx", bgfx::UniformType::Uniform4x4fv);
|
bgfx::UniformHandle u_mtx = bgfx::createUniform("u_mtx", bgfx::UniformType::Uniform4x4fv);
|
||||||
bgfx::UniformHandle u_tonemap = bgfx::createUniform("u_tonemap", bgfx::UniformType::Uniform4fv);
|
bgfx::UniformHandle u_tonemap = bgfx::createUniform("u_tonemap", bgfx::UniformType::Uniform4fv);
|
||||||
bgfx::UniformHandle u_offset = bgfx::createUniform("u_offset", bgfx::UniformType::Uniform4fv, 16);
|
bgfx::UniformHandle u_offset = bgfx::createUniform("u_offset", bgfx::UniformType::Uniform4fv, 16);
|
||||||
bgfx::UniformHandle u_weight = bgfx::createUniform("u_weight", bgfx::UniformType::Uniform4fv, 16);
|
|
||||||
|
|
||||||
bgfx::ProgramHandle skyProgram = loadProgram("vs_hdr_skybox", "fs_hdr_skybox");
|
bgfx::ProgramHandle skyProgram = loadProgram("vs_hdr_skybox", "fs_hdr_skybox");
|
||||||
bgfx::ProgramHandle lumProgram = loadProgram("vs_hdr_lum", "fs_hdr_lum");
|
bgfx::ProgramHandle lumProgram = loadProgram("vs_hdr_lum", "fs_hdr_lum");
|
||||||
|
@ -772,7 +771,6 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||||
bgfx::destroyUniform(u_mtx);
|
bgfx::destroyUniform(u_mtx);
|
||||||
bgfx::destroyUniform(u_tonemap);
|
bgfx::destroyUniform(u_tonemap);
|
||||||
bgfx::destroyUniform(u_offset);
|
bgfx::destroyUniform(u_offset);
|
||||||
bgfx::destroyUniform(u_weight);
|
|
||||||
|
|
||||||
// Shutdown bgfx.
|
// Shutdown bgfx.
|
||||||
bgfx::shutdown();
|
bgfx::shutdown();
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue