mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
aco: handle unaligned loads on GFX10.3
Same as GFX10.
Cc: 20.2 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6594>
(cherry picked from commit 73eb24ab31)
This commit is contained in:
parent
e98a278dcd
commit
ee1d4d5ee3
2 changed files with 2 additions and 2 deletions
|
|
@ -2029,7 +2029,7 @@
|
|||
"description": "aco: handle unaligned loads on GFX10.3",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4665,7 +4665,7 @@ bool check_vertex_fetch_size(isel_context *ctx, const ac_data_format_info *vtx_i
|
|||
unsigned vertex_byte_size = vtx_info->chan_byte_size * channels;
|
||||
if (vtx_info->chan_byte_size != 4 && channels == 3)
|
||||
return false;
|
||||
return (ctx->options->chip_class != GFX6 && ctx->options->chip_class != GFX10) ||
|
||||
return (ctx->options->chip_class >= GFX7 && ctx->options->chip_class <= GFX9) ||
|
||||
(offset % vertex_byte_size == 0 && stride % vertex_byte_size == 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue