[Mesa-dev] [PATCH 1/3] anv: Fix incorrect unreachable call

Michael Schellenberger Costa mschellenbergercosta at googlemail.com
Tue Aug 30 07:37:04 UTC 2016


Signed-off-by: Michael Schellenberger Costa <mschellenbergercosta at gmail.com>
---
 src/intel/vulkan/anv_meta_blit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_meta_blit.c b/src/intel/vulkan/anv_meta_blit.c
index d2e375a..6f73102 100644
--- a/src/intel/vulkan/anv_meta_blit.c
+++ b/src/intel/vulkan/anv_meta_blit.c
@@ -300,7 +300,7 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
       pipeline = device->meta_state.blit.pipeline_3d_src;
       break;
    default:
-      unreachable(!"bad VkImageType");
+      unreachable("bad VkImageType");
    }
 
    if (cmd_buffer->state.pipeline != anv_pipeline_from_handle(pipeline)) {
-- 
2.7.4



More information about the mesa-dev mailing list