mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
i965: Take an isl_format in emit_buffer_surface_state
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3932>
This commit is contained in:
parent
caea5a6a20
commit
459f68af3c
1 changed files with 2 additions and 2 deletions
|
|
@ -628,7 +628,7 @@ brw_emit_buffer_surface_state(struct brw_context *brw,
|
|||
uint32_t *out_offset,
|
||||
struct brw_bo *bo,
|
||||
unsigned buffer_offset,
|
||||
unsigned surface_format,
|
||||
enum isl_format format,
|
||||
unsigned buffer_size,
|
||||
unsigned pitch,
|
||||
unsigned reloc_flags)
|
||||
|
|
@ -646,7 +646,7 @@ brw_emit_buffer_surface_state(struct brw_context *brw,
|
|||
bo, buffer_offset,
|
||||
reloc_flags),
|
||||
.size_B = buffer_size,
|
||||
.format = surface_format,
|
||||
.format = format,
|
||||
.swizzle = ISL_SWIZZLE_IDENTITY,
|
||||
.stride_B = pitch,
|
||||
.mocs = brw_get_bo_mocs(devinfo, bo));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue