lima: add support for R and RG formats
[mesa.git] / src / gallium / drivers / lima / lima_context.h
index e28617ee7a7ff20ef22b0cede60f677f5d6dba9f..5cda47287c29b043ac78f578239923124de13752 100644 (file)
@@ -44,9 +44,11 @@ struct lima_depth_stencil_alpha_state {
 };
 
 struct lima_fs_shader_state {
+   struct pipe_shader_state base;
    void *shader;
    int shader_size;
    int stack_size;
+   uint8_t swizzles[PIPE_MAX_SAMPLERS][4];
    bool uses_discard;
    struct lima_bo *bo;
 };