summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-04-09 16:33:23 -0400
committerRob Clark <[email protected]>2014-04-09 16:37:04 -0400
commit6afd7be1326986d097efc3b0fed0438106e2fba2 (patch)
tree42b4c8cfa0f868c8a2a4a3b13e9d87c2503ba0a6 /src/gallium/drivers
parente853ade5441e8bf8f862ecf379c231cb439c5c00 (diff)
freedreno/a3xx: assert() -> debug_assert()
We hit this assert with some piglit tests. Which appears to be a bug outside of freedreno. Previously we were relying on assert() being redefined to debug_assert() so that we didn't crash in release builds. Somehow that stopped working. So just use debug_assert() directly. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_program.c b/src/gallium/drivers/freedreno/a3xx/fd3_program.c
index b5544e8c358..2e2a66dc616 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_program.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_program.c
@@ -300,7 +300,7 @@ find_output(const struct fd3_shader_variant *so, fd3_semantic semantic)
return find_output(so, fd3_semantic_name(TGSI_SEMANTIC_COLOR, idx));
}
- assert(0);
+ debug_assert(0);
return 0;
}