mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
intel: Fix release-build warnings about sf_entry_size.
In one side of the ifdef it's only used in an assert. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5829>
This commit is contained in:
parent
086f760974
commit
afe07c7fa7
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ emit_urb_config(struct blorp_batch *batch,
|
|||
/* The URB size is expressed in units of 64 bytes (512 bits) */
|
||||
const unsigned vs_entry_size = DIV_ROUND_UP(total_needed, 64);
|
||||
|
||||
const unsigned sf_entry_size =
|
||||
ASSERTED const unsigned sf_entry_size =
|
||||
params->sf_prog_data ? params->sf_prog_data->urb_entry_size : 0;
|
||||
|
||||
#if GEN_GEN >= 7
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue