llvmpipe: denote NEW fs when images change.
The fragment shader needs to be regenerated here, so flag the same as for sampler views. This causes correct flushing: KHR-GL46.shader_image_load_store.non-layered_binding Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5835>
This commit is contained in:
@@ -741,7 +741,7 @@ lp_setup_set_fs_images(struct lp_setup_context *setup,
|
||||
for (; i < ARRAY_SIZE(setup->images); i++) {
|
||||
util_copy_image_view(&setup->images[i].current, NULL);
|
||||
}
|
||||
setup->dirty |= LP_SETUP_NEW_IMAGES;
|
||||
setup->dirty |= LP_SETUP_NEW_FS;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
#define LP_SETUP_NEW_SCISSOR 0x08
|
||||
#define LP_SETUP_NEW_VIEWPORTS 0x10
|
||||
#define LP_SETUP_NEW_SSBOS 0x20
|
||||
#define LP_SETUP_NEW_IMAGES 0x40
|
||||
|
||||
struct lp_setup_variant;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user