Compute doesn't share dirty state with the fragment pipeline
so create a separate path for it.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
unsigned active_occlusion_queries;
unsigned dirty; /**< Mask of LP_NEW_x flags */
-
+ unsigned cs_dirty; /**< Mask of LP_CSNEW_x flags */
/** Mapped vertex buffers */
ubyte *mapped_vbuffer[PIPE_MAX_ATTRIBS];
#define LP_NEW_FS_SSBOS 0x80000
#define LP_NEW_FS_IMAGES 0x100000
+#define LP_CSNEW_CS 0x1
struct vertex_info;
struct pipe_context;
return;
llvmpipe->cs = (struct lp_compute_shader *)cs;
+ llvmpipe->cs_dirty |= LP_CSNEW_CS;
}
/**