mesa/src/intel/blorp
Kenneth Graunke fc5168b01d blorp: Use a non-zero MOCS for disabled constant buffers
We'd like to add safeguards against accidental use of MOCS 0 (uncached),
which can have large performance implications.  One case where we use
MOCS of 0 is disabled constant buffers, where MOCS shouldn't matter, as
there's no actual buffer to be cached.

That said, it should be harmless to set MOCS for these null constant
buffers; we can just assume a generic MOCS for internal buffers.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
2021-10-28 19:45:55 +00:00
..
blorp.c blorp: Set view usage to ISL_SURF_USAGE_STORAGE_BIT for compute 2021-09-30 17:41:33 +00:00
blorp.h intel/blorp: Support some image/buffer blit operations using compute 2021-09-30 17:41:33 +00:00
blorp_blit.c intel/blorp: Support some image/buffer blit operations using compute 2021-09-30 17:41:33 +00:00
blorp_clear.c intel/blorp: Support compute for slow clears 2021-09-30 17:41:33 +00:00
blorp_genX_exec.h blorp: Use a non-zero MOCS for disabled constant buffers 2021-10-28 19:45:55 +00:00
blorp_nir_builder.h intel/blorp: Add blorp_check_in_bounds() 2021-09-30 17:41:33 +00:00
blorp_priv.h intel/blorp: Support some image/buffer blit operations using compute 2021-09-30 17:41:33 +00:00
meson.build util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
TODO intel: Rename Genx keyword to Gfxx 2021-04-02 18:33:07 +00:00