mesa/src
Jason Ekstrand 1f559930b6 anv: Stop doing too much per-sample shading
We were setting anv_pipeline::sample_shading_enable based on
sampleShadingEnable without looking at minSampleShading.  We would then
pass this value into nir_lower_wpos_center which would add sample_pos to
frag_coord.  Then the back-end compiler picks up on the existence of
sample_pos and forces persample dispatch.  This leads to doing
per-sample dispatch whenever sampleShadingEnable = VK_TRUE regardless of
the value of minSampleShading.  This is almost certainly costing us
perf somewhere.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14022>
2021-12-11 04:40:20 +00:00
..
amd aco: improve clrx disassembly 2021-12-10 23:46:30 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi treewide: drop mtypes/macros includes from main 2021-12-08 22:14:45 +00:00
broadcom v3dv: account for 64bit time_t on 32bit arches 2021-12-10 22:26:56 +00:00
compiler nir/nir_opt_move,sink: Include load_ubo_vec4 as a load_ubo instr. 2021-12-11 02:12:27 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl: add config debug printout 2021-12-11 00:25:04 +00:00
etnaviv ci: move windowoverlap exclusion to all-skips 2021-11-29 18:08:49 -05:00
freedreno turnip: Fix operator precedence in address calculation macros for queries 2021-12-10 17:45:02 +00:00
gallium iris: Update the initial CCS state on XeHP 2021-12-11 04:14:20 +00:00
gbm gbm: Don't pass default usage flags on ABIs < 1 2021-12-08 09:49:47 +00:00
getopt
glx glx: fix regression for drawable type detection 2021-12-09 00:52:17 +00:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel anv: Stop doing too much per-sample shading 2021-12-11 04:40:20 +00:00
loader loader: Restore i915g support. 2021-12-09 09:05:23 -08:00
mapi Fix TSD stubs for non-initial-exec case (fixes #5667). 2021-12-08 00:10:29 -05:00
mesa mesa: fix GL_MAX_SAMPLES with GLES2 2021-12-11 01:31:59 +00:00
microsoft ci/windows: Remove line numbers from assertions in spirv2dxil tests 2021-12-11 03:43:11 +00:00
nouveau
panfrost mesa: fix GL_MAX_SAMPLES with GLES2 2021-12-11 01:31:59 +00:00
tool intel/pps: tweak intel config some more 2021-11-22 11:52:46 +00:00
util treewide: drop mtypes/macros includes from main 2021-12-08 22:14:45 +00:00
virtio venus: prefer VIRTGPU_BLOB_MEM_HOST3D for shmems 2021-12-08 21:23:05 +00:00
vulkan vulkan-device-select: Don't leak drmDevicePtr 2021-12-06 11:21:03 +00:00
meson.build meson: make mesa/tests/glx depend on gallium 2021-12-07 13:03:53 +00:00