crocus/gen8: extending gen7 binding table pointers
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11507>
This commit is contained in:
parent
643475bad3
commit
36fd6152f6
|
@ -5816,7 +5816,7 @@ crocus_upload_dirty_render_state(struct crocus_context *ice,
|
||||||
ice->shaders.prog[stage]->surf_offset,
|
ice->shaders.prog[stage]->surf_offset,
|
||||||
ice->shaders.prog[stage]->bt.size_bytes);
|
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) {
|
crocus_emit_cmd(batch, GENX(3DSTATE_BINDING_TABLE_POINTERS_VS), ptr) {
|
||||||
ptr._3DCommandSubOpcode = 38 + stage;
|
ptr._3DCommandSubOpcode = 38 + stage;
|
||||||
ptr.PointertoVSBindingTable = ice->shaders.prog[stage]->bind_bo_offset;
|
ptr.PointertoVSBindingTable = ice->shaders.prog[stage]->bind_bo_offset;
|
||||||
|
|
Loading…
Reference in New Issue