mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
nak: Sample locations are byte-aligned
Fixes:cc33cafcac("nak/nir: Use an indirect load for sample locations") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29194> (cherry picked from commit761874ea85)
This commit is contained in:
parent
7ef9b0358c
commit
d8282badb0
2 changed files with 2 additions and 2 deletions
|
|
@ -734,7 +734,7 @@
|
|||
"description": "nak: Sample locations are byte-aligned",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "cc33cafcacb1ad2eb9bb04283a57ee30385260fc",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ load_sample_pos_u4_at(nir_builder *b, nir_def *sample_id,
|
|||
nir_imm_int(b, fs_key->sample_locations_cb),
|
||||
nir_iadd_imm(b, sample_id,
|
||||
fs_key->sample_locations_offset),
|
||||
.align_mul = 8, .align_offset = 0);
|
||||
.align_mul = 1, .align_offset = 0);
|
||||
|
||||
/* The rest of these calculations are in 32-bit */
|
||||
loc = nir_u2u32(b, loc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue