vk/formats: Rename anv_format::format -> surface_format
I misinterpreted anv_format::format as a VkFormat. Instead, it is a hardware surface format (RENDER_SURFACE_STATE.SurfaceFormat). Rename the field to 'surface_format' to make it unambiguous.
This commit is contained in:
@@ -1517,7 +1517,7 @@ fill_buffer_surface_state(void *state, VkFormat format,
|
||||
struct GEN8_RENDER_SURFACE_STATE surface_state = {
|
||||
.SurfaceType = SURFTYPE_BUFFER,
|
||||
.SurfaceArray = false,
|
||||
.SurfaceFormat = info->format,
|
||||
.SurfaceFormat = info->surface_format,
|
||||
.SurfaceVerticalAlignment = VALIGN4,
|
||||
.SurfaceHorizontalAlignment = HALIGN4,
|
||||
.TileMode = LINEAR,
|
||||
|
Reference in New Issue
Block a user