mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
brw: Don't set header_size at init since it will be re-set in later code
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Ref: efcba73b49 ("brw: switch to new sampler payload description scheme")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41035>
This commit is contained in:
parent
26525ac7ae
commit
fa784fffd0
1 changed files with 1 additions and 1 deletions
|
|
@ -777,7 +777,7 @@ lower_sampler_logical_send(const brw_builder &bld, brw_tex_inst *tex)
|
|||
sampler_bindless || is_high_sampler(devinfo, sampler) ||
|
||||
tex->residency;
|
||||
|
||||
unsigned header_size = needs_header ? reg_unit(devinfo) : 0, length = 0;
|
||||
unsigned header_size = 0, length = 0;
|
||||
brw_reg sources[1 + MAX_SAMPLER_MESSAGE_SIZE];
|
||||
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(sources); i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue