mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
anv: fix incorrect ISL usage in buffer view creation
We need to use the usage parameter. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:64f20cec28("anv: prepare image/buffer views for non indirect descriptors") Reviewed-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27956> (cherry picked from commitc40f14bb31)
This commit is contained in:
parent
2ee94a147c
commit
09073442c1
2 changed files with 2 additions and 3 deletions
|
|
@ -304,7 +304,7 @@
|
|||
"description": "anv: fix incorrect ISL usage in buffer view creation",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "64f20cec28d8df7815157dc09ba0bd33d3202a57",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -3607,8 +3607,7 @@ anv_fill_buffer_view_surface_state(struct anv_device *device,
|
|||
{
|
||||
anv_fill_buffer_surface_state(device,
|
||||
state->state_data.data,
|
||||
format, swizzle,
|
||||
ISL_SURF_USAGE_TEXTURE_BIT,
|
||||
format, swizzle, usage,
|
||||
address, range, stride);
|
||||
|
||||
if (state->state.map)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue