Cleanup dead declarations

This commit is contained in:
Brad Davis 2018-08-23 12:22:39 -07:00
parent 35d86dd798
commit ac84a498b3
6 changed files with 1 additions and 10 deletions

View file

@ -14,7 +14,6 @@
#ifndef PROCEDURAL_SHADER_CONSTANTS_H #ifndef PROCEDURAL_SHADER_CONSTANTS_H
#define PROCEDURAL_SHADER_CONSTANTS_H #define PROCEDURAL_SHADER_CONSTANTS_H
// Polyvox
#define PROCEDURAL_UNIFORM_TIME 200 #define PROCEDURAL_UNIFORM_TIME 200
#define PROCEDURAL_UNIFORM_DATE 201 #define PROCEDURAL_UNIFORM_DATE 201
#define PROCEDURAL_UNIFORM_FRAME_COUNT 202 #define PROCEDURAL_UNIFORM_FRAME_COUNT 202

View file

@ -32,7 +32,6 @@
namespace ru { namespace ru {
using render_utils::slot::texture::Texture; using render_utils::slot::texture::Texture;
using render_utils::slot::buffer::Buffer; using render_utils::slot::buffer::Buffer;
using render_utils::slot::uniform::Uniform;
} }
namespace gr { namespace gr {

View file

@ -2104,9 +2104,7 @@ void GeometryCache::useSimpleDrawPipeline(gpu::Batch& batch, bool noBlend) {
auto stateNoBlend = std::make_shared<gpu::State>(); auto stateNoBlend = std::make_shared<gpu::State>();
PrepareStencil::testMaskDrawShape(*stateNoBlend); PrepareStencil::testMaskDrawShape(*stateNoBlend);
auto noBlendPS = gpu::Shader::createVertex(shader::gpu::fragment::DrawTextureOpaque);
auto programNoBlend = gpu::Shader::createProgram(shader::render_utils::program::standardDrawTextureNoBlend); auto programNoBlend = gpu::Shader::createProgram(shader::render_utils::program::standardDrawTextureNoBlend);
_standardDrawPipelineNoBlend = gpu::Pipeline::create(programNoBlend, stateNoBlend); _standardDrawPipelineNoBlend = gpu::Pipeline::create(programNoBlend, stateNoBlend);
}); });

View file

@ -28,7 +28,6 @@ using namespace render;
namespace ru { namespace ru {
using render_utils::slot::texture::Texture; using render_utils::slot::texture::Texture;
using render_utils::slot::buffer::Buffer; using render_utils::slot::buffer::Buffer;
using render_utils::slot::uniform::Uniform;
} }
namespace gr { namespace gr {

View file

@ -43,9 +43,6 @@
#define RENDER_UTILS_BUFFER_AMBIENT_LIGHT 6 #define RENDER_UTILS_BUFFER_AMBIENT_LIGHT 6
#define RENDER_UTILS_BUFFER_LIGHT_INDEX 7 #define RENDER_UTILS_BUFFER_LIGHT_INDEX 7
#define RENDER_UTILS_UNIFORM_LIGHT_RADIUS 0
#define RENDER_UTILS_UNIFORM_LIGHT_TEXCOORD_TRANSFORM 1
// Deferred lighting resolution // Deferred lighting resolution
#define RENDER_UTILS_TEXTURE_DEFERRRED_COLOR 0 #define RENDER_UTILS_TEXTURE_DEFERRRED_COLOR 0
#define RENDER_UTILS_TEXTURE_DEFERRRED_NORMAL 1 #define RENDER_UTILS_TEXTURE_DEFERRRED_NORMAL 1
@ -140,8 +137,6 @@ enum Uniform {
TextOutline = RENDER_UTILS_UNIFORM_TEXT_OUTLINE, TextOutline = RENDER_UTILS_UNIFORM_TEXT_OUTLINE,
TaaSharpenIntensity = GPU_UNIFORM_EXTRA0, TaaSharpenIntensity = GPU_UNIFORM_EXTRA0,
HighlightOutlineWidth = GPU_UNIFORM_EXTRA0, HighlightOutlineWidth = GPU_UNIFORM_EXTRA0,
LightRadius = RENDER_UTILS_UNIFORM_LIGHT_RADIUS,
TexcoordTransform = RENDER_UTILS_UNIFORM_LIGHT_TEXCOORD_TRANSFORM,
}; };
} }

View file

@ -0,0 +1 @@
VERTEX gpu::vertex::DrawUnitQuadTexcoord