r600g: define GROUP_FORCE_NEW_BLOCK in common header
authorMarek Olšák <maraeo@gmail.com>
Tue, 21 Feb 2012 16:49:29 +0000 (17:49 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 23 Feb 2012 19:29:55 +0000 (20:29 +0100)
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_hw_context_priv.h

index 71edc2638f43c0f1d966a268c045fb87d89451e7..308224be3520f9dffb76ca90cef6b91db7d1a18d 100644 (file)
@@ -30,8 +30,6 @@
 #include "util/u_memory.h"
 #include <errno.h>
 
-#define GROUP_FORCE_NEW_BLOCK  0
-
 static const struct r600_reg evergreen_config_reg_list[] = {
        {R_008958_VGT_PRIMITIVE_TYPE, 0},
 };
index 56a83aeb621cfb97ab10bd9c320cb018ea5d4da9..40a851990ef359af3b6a51260a2c35d26a397f35 100644 (file)
@@ -29,8 +29,6 @@
 #include "util/u_memory.h"
 #include <errno.h>
 
-#define GROUP_FORCE_NEW_BLOCK  0
-
 /* Get backends mask */
 void r600_get_backend_mask(struct r600_context *ctx)
 {
index 61009af1ab2ae6ea9cc6bcc1a8efc24205eaadbc..c32fc6386ebad8012574d95cc75f412b3d44cf3d 100644 (file)
@@ -44,6 +44,8 @@
 #define BLOCK_FLAG_RESOURCE 32
 #define REG_FLAG_FLUSH_CHANGE 64
 
+#define GROUP_FORCE_NEW_BLOCK  0
+
 struct r600_reg {
        unsigned                        offset;
        unsigned                        flags;