mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
anv/xe3+: Enable VRT.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32664>
This commit is contained in:
parent
9c13506dd9
commit
d455d5d86c
1 changed files with 7 additions and 0 deletions
|
|
@ -632,6 +632,9 @@ init_render_queue_state(struct anv_queue *queue, bool is_companion_rcs_batch)
|
|||
|
||||
#if GFX_VERx10 >= 125
|
||||
anv_batch_emit(batch, GENX(STATE_COMPUTE_MODE), cm) {
|
||||
#if GFX_VER >= 30
|
||||
cm.EnableVariableRegisterSizeAllocation = true;
|
||||
#endif
|
||||
cm.Mask1 = 0xffff;
|
||||
#if GFX_VERx10 >= 200
|
||||
cm.Mask2 = 0xffff;
|
||||
|
|
@ -766,6 +769,10 @@ init_compute_queue_state(struct anv_queue *queue)
|
|||
}
|
||||
|
||||
anv_batch_emit(batch, GENX(STATE_COMPUTE_MODE), cm) {
|
||||
#if GFX_VER >= 30
|
||||
cm.EnableVariableRegisterSizeAllocationMask = 1;
|
||||
cm.EnableVariableRegisterSizeAllocation = true;
|
||||
#endif
|
||||
#if GFX_VER >= 20
|
||||
cm.AsyncComputeThreadLimit = ACTL_Max8;
|
||||
cm.ZPassAsyncComputeThreadLimit = ZPACTL_Max60;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue