pan/bi: use unreachable instead of DBG + assert
This error isn't particularly interesting to be able to toggle at runtime. Let's just use the unreachable macro instead. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33710>
This commit is contained in:
committed by
Marge Bot
parent
67c150bf9e
commit
fee6e51c14
@@ -3379,9 +3379,7 @@ bifrost_tex_format(enum glsl_sampler_dim dim)
|
||||
return 0;
|
||||
|
||||
default:
|
||||
DBG("Unknown sampler dim type\n");
|
||||
assert(0);
|
||||
return 0;
|
||||
unreachable("Unknown sampler dim type\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user