struct anv_bo *bo;
VkDeviceSize offset;
- uint8_t surface_type; /**< RENDER_SURFACE_STATE.SurfaceType */
-
bool needs_nonrt_surface_state:1;
bool needs_color_rt_surface_state:1;
bool needs_storage_surface_state:1;
struct anv_cmd_buffer *cmd_buffer);
struct anv_buffer_view {
- struct anv_buffer *buffer;
+ struct anv_bo *bo;
+ uint32_t offset; /**< Offset into bo. */
+
struct anv_state surface_state;
};