diff options
author | Jason Ekstrand <[email protected]> | 2016-08-18 06:29:35 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-08-29 12:17:34 -0700 |
commit | 1367af159e6791c230f08ba77311f532f6aede07 (patch) | |
tree | 9e8fa83dfd4635db1a645554fbce9b37a32cf378 /src/mesa | |
parent | da2a078deb8e18364c67cf7767169b46bb8634e5 (diff) |
i965/blorp: Shorten binding table index enum names
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/blorp_priv.h | 6 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_blorp_exec.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/blorp_priv.h b/src/mesa/drivers/dri/i965/blorp_priv.h index 9857db85793..0144c25f5cb 100644 --- a/src/mesa/drivers/dri/i965/blorp_priv.h +++ b/src/mesa/drivers/dri/i965/blorp_priv.h @@ -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 diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c index 0139f167a5a..8f9de9a3215 100644 --- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c +++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c @@ -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, ¶ms->dst, true); if (params->src.addr.buffer) { - bind[BRW_BLORP_TEXTURE_BINDING_TABLE_INDEX] = + bind[BLORP_TEXTURE_BT_INDEX] = blorp_emit_surface_state(brw, ¶ms->src, false); } |