[Bf-blender-cvs] [f23b870def7] temp-vulkan-shader: Removed debug code.
Jeroen Bakker
noreply at git.blender.org
Fri Dec 2 13:48:30 CET 2022
Commit: f23b870def76e616815dda0a2198bb8714810bda
Author: Jeroen Bakker
Date: Fri Dec 2 12:46:53 2022 +0100
Branches: temp-vulkan-shader
https://developer.blender.org/rBf23b870def76e616815dda0a2198bb8714810bda
Removed debug code.
===================================================================
M source/blender/gpu/vulkan/vk_shader.cc
===================================================================
diff --git a/source/blender/gpu/vulkan/vk_shader.cc b/source/blender/gpu/vulkan/vk_shader.cc
index e8580b66c22..7cdeca228bb 100644
--- a/source/blender/gpu/vulkan/vk_shader.cc
+++ b/source/blender/gpu/vulkan/vk_shader.cc
@@ -505,7 +505,6 @@ static char *glsl_patch_get()
STR_CONCAT(patch, slen, "#define gpu_BaseInstance (0)\n");
STR_CONCAT(patch, slen, "#define gpu_InstanceIndex (gl_InstanceIndex)\n");
- // TODO: we should remove usage of gl_InstanceID/gl_VertexID.
STR_CONCAT(patch, slen, "#define gl_InstanceID gpu_InstanceIndex\n");
STR_CONCAT(patch, slen, "#define DFDX_SIGN 1.0\n");
@@ -547,7 +546,6 @@ Vector<uint32_t> VKShader::compile_glsl_to_spirv(Span<const char *> sources,
}
if (module.GetCompilationStatus() != shaderc_compilation_status_success) {
- // printf("%s %s\n", __func__, combined_sources.c_str());
compilation_failed_ = true;
return Vector<uint32_t>();
}
More information about the Bf-blender-cvs
mailing list