iris: Rework image views to store pipe_image_view.
This will be useful when rebinding images.
This commit is contained in:
@@ -176,6 +176,16 @@ struct iris_sampler_view {
|
||||
struct iris_state_ref surface_state;
|
||||
};
|
||||
|
||||
/**
|
||||
* Image view representation.
|
||||
*/
|
||||
struct iris_image_view {
|
||||
struct pipe_image_view base;
|
||||
|
||||
/** The resource (BO) holding our SURFACE_STATE. */
|
||||
struct iris_state_ref surface_state;
|
||||
};
|
||||
|
||||
/**
|
||||
* Gallium CSO for surfaces (framebuffer attachments).
|
||||
*
|
||||
|
Reference in New Issue
Block a user