Module: Mesa Branch: master Commit: 7582f4a49cdb87b1657e44ba38104445bc28bd77 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7582f4a49cdb87b1657e44ba38104445bc28bd77
Author: Dave Airlie <[email protected]> Date: Thu Apr 9 13:27:09 2020 +1000 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5835> --- src/gallium/drivers/llvmpipe/lp_setup.c | 2 +- src/gallium/drivers/llvmpipe/lp_setup_context.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 5780337d5ae..a3e2a7ed7e4 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -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 diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h index 2cd01941ca8..fd9edbe19f0 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_context.h +++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h @@ -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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
