From 68726f2783452db4b4a1ef8bb1e2a08515afb5e0 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 29 Sep 2020 01:26:51 -0400 Subject: [PATCH] CAABoxShader: Simplify pipeline attributes --- Runtime/Graphics/Shaders/CAABoxShader.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/Graphics/Shaders/CAABoxShader.cpp b/Runtime/Graphics/Shaders/CAABoxShader.cpp index ea08b6b40..17b2e4067 100644 --- a/Runtime/Graphics/Shaders/CAABoxShader.cpp +++ b/Runtime/Graphics/Shaders/CAABoxShader.cpp @@ -11,8 +11,7 @@ using namespace hsh::pipeline; template struct CAABoxShaderPipeline -: pipeline, std::conditional_t, BlendAttachment<>>, - depth_compare, depth_write, cull_mode> { +: pipeline, BlendAttachment<>>, depth_compare> { CAABoxShaderPipeline(hsh::vertex_buffer vbo, hsh::uniform_buffer uniBuf) { this->position = uniBuf->m_xf * hsh::float4(vbo->m_pos, 1.f); this->color_out[0] = uniBuf->m_color;