mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 10:10:09 +01:00
r600: Switch to unreachable(..)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17121>
This commit is contained in:
parent
828793cb82
commit
d4922c0dfb
1 changed files with 1 additions and 1 deletions
|
|
@ -1014,7 +1014,7 @@ static void *r600_create_shader_state(struct pipe_context *ctx,
|
|||
else if (state->type == PIPE_SHADER_IR_NIR) {
|
||||
sel = r600_create_shader_state_tokens(ctx, state->ir.nir, state->type, pipe_shader_type);
|
||||
} else
|
||||
assert(0 && "Unknown shader type\n");
|
||||
unreachable("Unknown shader type");
|
||||
|
||||
sel->so = state->stream_output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue