st/mesa: Record shader access qualifiers for images
[mesa.git] / src / gallium / include / pipe / p_state.h
index 95a18a72b5cff3f9dc36cbcac9cb0375c115b31d..fd670345aad3924dde3e345e917175b8b2635d15 100644 (file)
@@ -484,7 +484,8 @@ struct pipe_image_view
 {
    struct pipe_resource *resource; /**< resource into which this is a view  */
    enum pipe_format format;      /**< typed PIPE_FORMAT_x */
-   unsigned access;              /**< PIPE_IMAGE_ACCESS_x */
+   uint16_t access;              /**< PIPE_IMAGE_ACCESS_x */
+   uint16_t shader_access;       /**< PIPE_IMAGE_ACCESS_x */
 
    union {
       struct {