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:
Dave Airlie
2020-04-09 13:27:09 +10:00
committed by Marge Bot
parent 033e933348
commit 7582f4a49c
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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;