diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-03-24 15:09:23 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-03-27 13:50:07 -0600 |
| commit | 029efe9b7dc0b10ce0fa6109b82d90000dae9089 (patch) | |
| tree | 53e6137e7a203bdd6e27e1acb0e5540ece9b3e90 /layers/core_validation.cpp | |
| parent | c07cfbd17533a12902ecdf2ec32da00cbdf4a084 (diff) | |
| download | usermoji-029efe9b7dc0b10ce0fa6109b82d90000dae9089.tar.xz | |
layers: Remove obsolete error check from CV
Bad shader capability check is now in the spirv validator.
Change-Id: I3d96f935d0adb7081d6693cfc004ba215391054e
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index d44b3a68..1d4e7315 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -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; } } |
