[Mesa-dev] [PATCH mesa 3/3] anv/meta: fix unreachable() typo

Eric Engestrom eric.engestrom at imgtec.com
Tue Aug 30 10:36:03 UTC 2016


Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.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)) {
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list