summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-04-21 13:23:36 +0200
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-04-21 13:40:47 +0200
commit4abe051a3f848af074193140930dab7fdca297bc (patch)
tree74d9a8efb843d60898580a9c62f8ebdb05d57528 /src
parent51d1551241b8c0e41da810106cf037ce91165719 (diff)
gallium/radeon: Silence possibly uninitialized variable warning.
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/radeon_llvm_emit.c2
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)