Skip to content

Commit

Permalink
layers: Fix skip in shader tile image validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ziga-lunarg authored and spencer-lunarg committed Aug 2, 2023
1 parent 44eea2a commit 965b037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/core_checks/cc_spirv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ bool CoreChecks::ValidateShaderTileImage(const SPIRV_MODULE_STATE &module_state,
const PIPELINE_STATE &pipeline, const VkShaderStageFlagBits stage) const {
bool skip = false;

if ((stage != VK_SHADER_STAGE_FRAGMENT_BIT) && !IsExtEnabled(device_extensions.vk_ext_shader_tile_image)) {
if ((stage != VK_SHADER_STAGE_FRAGMENT_BIT) || !IsExtEnabled(device_extensions.vk_ext_shader_tile_image)) {
return skip;
}

Expand Down

0 comments on commit 965b037

Please sign in to comment.