Browse Source

remove debug code

niki 1 year ago
parent
commit
88f6bb880e
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/modules/graphics/vulkan/Shader.cpp

+ 0 - 3
src/modules/graphics/vulkan/Shader.cpp

@@ -615,9 +615,6 @@ void Shader::buildLocalUniforms(spirv_cross::Compiler &comp, const spirv_cross::
 
 		std::string name = basename + comp.get_member_name(type.self, uindex);
 
-		if (name == "Debug")
-			float x = 1.0f;
-
 		switch (memberType.basetype)
 		{
 		case SPIRType::Struct: