This series is a v2 of some of the patches I sent out on Saturday to fix queries. I've incorporated the review feedback from Lionel. All but the last two patches are CC'd to stable for both 13.0 and 17.0 as queries are pretty well busted without them. This series fixes some rendering errors in The Talos Principle due to occlusion queries not working correctly.
Jason Ekstrand (6): anv: Add an invalidate_range helper anv/query: clflush the bo map on non-LLC platforms genxml: Make MI_STORE_DATA_IMM more consistent anv/query: Perform CmdResetQueryPool on the GPU anv/Makefile: alphabetize anv: Put everything about queries in genX_query.c src/intel/genxml/gen6.xml | 2 +- src/intel/genxml/gen7.xml | 2 +- src/intel/genxml/gen75.xml | 2 +- src/intel/vulkan/Makefile.sources | 13 +- src/intel/vulkan/anv_private.h | 13 + src/intel/vulkan/anv_query.c | 190 --------------- src/intel/vulkan/genX_cmd_buffer.c | 276 --------------------- src/intel/vulkan/genX_query.c | 480 +++++++++++++++++++++++++++++++++++++ 8 files changed, 504 insertions(+), 474 deletions(-) delete mode 100644 src/intel/vulkan/anv_query.c create mode 100644 src/intel/vulkan/genX_query.c -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev