We already set the bit in the few cases where it's required by the docs so there's no need to set it all the time. This has no noticable perf impact for Dota 2 on Vulkan with the time demo I have. --- src/intel/isl/isl_surface_state.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index aa720d8..60bfced 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -310,10 +310,6 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, #endif #if GEN_GEN >= 8 - s.SamplerL2BypassModeDisable = true; -#endif - -#if GEN_GEN >= 8 s.RenderCacheReadWriteMode = WriteOnlyCache; #else s.RenderCacheReadWriteMode = 0; @@ -426,7 +422,6 @@ isl_genX(buffer_fill_state_s)(void *state, #endif #if (GEN_GEN >= 8) - .SamplerL2BypassModeDisable = true, .RenderCacheReadWriteMode = WriteOnlyCache, #else .RenderCacheReadWriteMode = 0, -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev