crocus/gen8: extending gen7 binding table pointers

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11507>
This commit is contained in:
Dave Airlie 2021-06-21 17:29:39 +10:00 committed by Marge Bot
parent 643475bad3
commit 36fd6152f6
1 changed files with 1 additions and 1 deletions

View File

@ -5816,7 +5816,7 @@ crocus_upload_dirty_render_state(struct crocus_context *ice,
ice->shaders.prog[stage]->surf_offset,
ice->shaders.prog[stage]->bt.size_bytes);
#if GFX_VER == 7
#if GFX_VER >= 7
crocus_emit_cmd(batch, GENX(3DSTATE_BINDING_TABLE_POINTERS_VS), ptr) {
ptr._3DCommandSubOpcode = 38 + stage;
ptr.PointertoVSBindingTable = ice->shaders.prog[stage]->bind_bo_offset;