diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-04-21 13:23:36 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-04-21 13:40:47 +0200 |
commit | 4abe051a3f848af074193140930dab7fdca297bc (patch) | |
tree | 74d9a8efb843d60898580a9c62f8ebdb05d57528 /src/gallium/drivers/radeon | |
parent | 51d1551241b8c0e41da810106cf037ce91165719 (diff) |
gallium/radeon: Silence possibly uninitialized variable warning.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c b/src/gallium/drivers/radeon/radeon_llvm_emit.c index 71741325af0..d3f5ae3fab6 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_emit.c +++ b/src/gallium/drivers/radeon/radeon_llvm_emit.c @@ -100,7 +100,7 @@ void radeon_llvm_shader_type(LLVMValueRef F, unsigned type) calling_conv = RADEON_LLVM_AMDGPU_CS; break; default: - assert(0); + unreachable("Unhandle shader type"); } if (HAVE_LLVM >= 0x309) |