From: Rafael Antognolli Date: Fri, 19 Jul 2019 22:30:56 +0000 (-0700) Subject: intel/gen_decoder: Decode SLICE_HASH_TABLE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32344dc5811021409f04db50f461582c05aa6a80;p=mesa.git intel/gen_decoder: Decode SLICE_HASH_TABLE. --- diff --git a/src/intel/common/gen_batch_decoder.c b/src/intel/common/gen_batch_decoder.c index e44c352a053..5dc38c86ef3 100644 --- a/src/intel/common/gen_batch_decoder.c +++ b/src/intel/common/gen_batch_decoder.c @@ -752,6 +752,13 @@ decode_3dstate_scissor_state_pointers(struct gen_batch_decode_ctx *ctx, decode_dynamic_state_pointers(ctx, "SCISSOR_RECT", p, 1); } +static void +decode_3dstate_slice_table_state_pointers(struct gen_batch_decode_ctx *ctx, + const uint32_t *p) +{ + decode_dynamic_state_pointers(ctx, "SLICE_HASH_TABLE", p, 1); +} + static void decode_load_register_imm(struct gen_batch_decode_ctx *ctx, const uint32_t *p) { @@ -801,6 +808,7 @@ struct custom_decoder { { "3DSTATE_BLEND_STATE_POINTERS", decode_3dstate_blend_state_pointers }, { "3DSTATE_CC_STATE_POINTERS", decode_3dstate_cc_state_pointers }, { "3DSTATE_SCISSOR_STATE_POINTERS", decode_3dstate_scissor_state_pointers }, + { "3DSTATE_SLICE_TABLE_STATE_POINTERS", decode_3dstate_slice_table_state_pointers }, { "MI_LOAD_REGISTER_IMM", decode_load_register_imm } };