mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
anv/pipeline: Set stage URB size to zero if it is unused
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
46b7c242da
commit
45d8ce07a5
1 changed files with 1 additions and 1 deletions
|
|
@ -897,7 +897,7 @@ gen7_compute_urb_partition(struct anv_pipeline *pipeline)
|
|||
|
||||
for (int i = MESA_SHADER_VERTEX; i < MESA_SHADER_FRAGMENT; i++) {
|
||||
pipeline->urb.push_size[i] =
|
||||
(pipeline->active_stages & (1 << i)) ? size_per_stage : 1;
|
||||
(pipeline->active_stages & (1 << i)) ? size_per_stage : 0;
|
||||
}
|
||||
|
||||
pipeline->urb.push_size[MESA_SHADER_FRAGMENT] =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue