i965/blorp: Shorten binding table index enum names
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Aug 2016 13:29:35 +0000 (06:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 29 Aug 2016 19:17:34 +0000 (12:17 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/blorp_priv.h
src/mesa/drivers/dri/i965/genX_blorp_exec.c

index 9857db85793e9375e121539ee387bff6b541fc9c..0144c25f5cb4577d8b5a351c6dfc623bd2ca8255 100644 (file)
@@ -37,9 +37,9 @@ extern "C" {
  * Binding table indices used by BLORP.
  */
 enum {
-   BRW_BLORP_RENDERBUFFER_BINDING_TABLE_INDEX,
-   BRW_BLORP_TEXTURE_BINDING_TABLE_INDEX,
-   BRW_BLORP_NUM_BINDING_TABLE_ENTRIES
+   BLORP_RENDERBUFFER_BT_INDEX,
+   BLORP_TEXTURE_BT_INDEX,
+   BLORP_NUM_BT_ENTRIES
 };
 
 struct brw_blorp_surface_info
index 0139f167a5a1696ae1e30052688ad6d3ffcf58e9..8f9de9a3215b0efcddc953ddffd700e03268ba0f 100644 (file)
@@ -998,13 +998,13 @@ blorp_emit_surface_states(struct brw_context *brw,
    uint32_t bind_offset;
    uint32_t *bind =
       brw_state_batch(brw, AUB_TRACE_BINDING_TABLE,
-                      sizeof(uint32_t) * BRW_BLORP_NUM_BINDING_TABLE_ENTRIES,
+                      sizeof(uint32_t) * BLORP_NUM_BT_ENTRIES,
                       32, /* alignment */ &bind_offset);
 
-   bind[BRW_BLORP_RENDERBUFFER_BINDING_TABLE_INDEX] =
+   bind[BLORP_RENDERBUFFER_BT_INDEX] =
       blorp_emit_surface_state(brw, &params->dst, true);
    if (params->src.addr.buffer) {
-      bind[BRW_BLORP_TEXTURE_BINDING_TABLE_INDEX] =
+      bind[BLORP_TEXTURE_BT_INDEX] =
          blorp_emit_surface_state(brw, &params->src, false);
    }