r300g: inline CHECK_CS
authorMarek Olšák <maraeo@gmail.com>
Sat, 12 Jun 2010 21:01:57 +0000 (23:01 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 13 Jun 2010 15:43:38 +0000 (17:43 +0200)
src/gallium/drivers/r300/r300_cs.h

index 9c8c273902b9d93d80adbaf601fb6092dd81bfdf..866b9a1c26901256a4b1f6dc2601eb881a9476ae 100644 (file)
     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__); \