diff options
author | Marek Olšák <[email protected]> | 2010-06-12 23:01:57 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-13 17:43:38 +0200 |
commit | 7005feabcd199e498a7c557ebdb2e47194f70d2c (patch) | |
tree | 1893e48159d0454a729df39600564d06de62b8b8 /src/gallium/drivers/r300/r300_cs.h | |
parent | ae182296ce28f1efc8a08d9ddcf6b8a79b1bc14b (diff) |
r300g: inline CHECK_CS
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_cs.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h index 9c8c273902b..866b9a1c269 100644 --- a/src/gallium/drivers/r300/r300_cs.h +++ b/src/gallium/drivers/r300/r300_cs.h @@ -48,11 +48,8 @@ struct r300_winsys_screen *cs_winsys = cs_context_copy->rws; \ int cs_count = 0; (void) cs_count; -#define CHECK_CS(size) \ - assert(r300_check_cs(cs_context_copy, (size))) - #define BEGIN_CS(size) do { \ - CHECK_CS(size); \ + assert(r300_check_cs(cs_context_copy, (size))); \ if (VERY_VERBOSE_CS) { \ DBG(cs_context_copy, DBG_CS, "r300: BEGIN_CS, count %d, in %s (%s:%d)\n", \ size, __FUNCTION__, __FILE__, __LINE__); \ |