mesa/src
Iago Toral Quiroga ab6f874439 i965: do not fallback to linear tiling for stencil surfaces
We were skipping this fallback for depth, but not for stencil
which the hardware always requires to be W-tiled.

Also, make the checks for whether we need to apply retiling
strategies based on usage instead of tiling flags, which is
safer and more explicit.

This fixes a regression in a CTS test introduced with commit
4ea63fab77 that started applying re-tiling stencil surfaces
in certain scenarios.

v2: discard retiling based on usage fields instead of tiling
    flags. This is safer and more explicit.

v3: Add a comment indicating that texturing of stencil in gen7
    requires an Y-tiled copy (Topi).

Fixes:
KHR-GL45.direct_state_access.renderbuffers_storage

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
2017-09-12 08:09:45 +02:00
..
amd radv: work out a base ia_multi_vgt_param. 2017-09-11 23:55:15 +01:00
broadcom broadcom/genxml: Add V3D 3.3 packet definitions. 2017-08-18 12:54:13 -07:00
compiler nir/spirv: handle if's with same label in both branches 2017-09-12 07:01:40 +02:00
egl egl/x11: advertise __DRI_USE_INVALIDATE for DRI2 2017-09-06 17:48:50 +01:00
gallium radeonsi: optimize TCS epilog when invocation 0 writes tess factors 2017-09-11 19:02:02 +02:00
gbm loader: rework xmlconfig dependency 2017-08-04 23:54:52 +01:00
getopt
glx glx: use ARRAY_SIZE macro 2017-09-08 10:29:40 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl
intel anv: Annotate entrypoint table with index and func name 2017-09-06 13:07:12 -07:00
loader loader/dri3: Make sure we invalidate a drawable on size change 2017-09-07 12:43:29 +02:00
mapi mapi/gen: remove shebang from the marshal generator scripts 2017-08-26 11:20:08 +01:00
mesa i965: do not fallback to linear tiling for stencil surfaces 2017-09-12 08:09:45 +02:00
util disk_cache: make the thread queue resizable and low priority 2017-09-07 12:57:14 +02:00
vulkan vulkan/util: Add a vk_zalloc helper 2017-08-28 18:35:33 -07:00
Makefile.am build: Convert git_sha1_gen script to Python (part2). 2017-08-01 16:33:55 +01:00
SConscript build: Convert git_sha1_gen script to Python. 2017-08-01 15:24:39 +01:00