mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
i965/blorp: Shorten binding table index enum names
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
da2a078deb
commit
1367af159e
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue