From 19bb8fbf3c7443edfe8bdb76e56d3b5d3f6144ba Mon Sep 17 00:00:00 2001 From: Alexandre Demers Date: Fri, 4 Oct 2013 12:59:35 -0400 Subject: [PATCH] Replace overkill assert in r600_bind_sampler_states --- src/gallium/drivers/r600/r600_state_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index f91aa27..5d73143 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -396,7 +396,7 @@ static void r600_bind_sampler_states(struct pipe_context *pipe, if (shader != PIPE_SHADER_VERTEX && shader != PIPE_SHADER_FRAGMENT) { - assert(!"Only vertex/fragment sampler are implemented."); + R600_ERR("!Only vertex/fragment sampler are implemented.\n"); return; } -- 1.8.4