Skip to content
Snippets Groups Projects
Commit 436434eb authored by Mark Lobodzinski's avatar Mark Lobodzinski
Browse files

layers: Remove obsolete error check from CV

Bad shader capability check is now in the spirv validator.

Change-Id: I3d96f935d0adb7081d6693cfc004ba215391054e
parent 9103f2f5
No related branches found
No related tags found
No related merge requests found
......@@ -2542,10 +2542,7 @@ static bool validate_shader_capabilities(layer_data *dev_data, shader_module con
break;
 
default:
if (log_msg(report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VkDebugReportObjectTypeEXT(0), 0, __LINE__,
SHADER_CHECKER_BAD_CAPABILITY, "SC", "Shader declares capability %u, not supported in Vulkan.",
insn.word(1)))
pass = false;
// Spirv-validator should catch these errors
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment