mesa/src
Neil Roberts 5d4f085a43 i965: Don't try to apply the opt_sampler_eot extension for vs
The opt_sampler_eot optimisation of fs_visitor effectively assumes
that it is running on a fragment shader because it casts the program
key to a brw_wm_prog_key. However on Skylake fs_visitor can also be
used for vertex shaders. It looks like this usually works anyway
because the optimisation is skipped if key->nr_color_regions != 1.
However for a vertex shader the key is actually a brw_vs_prog_key so
the space for nr_color_regions is probably taken up by
key->base.program_string_id. This can end up making nr_color_regions
be 1 in which case the function will later assert when the last
instruction is not FS_OPCODE_FB_WRITE. This was making the DEQP test
suite assert. Presumably this only happens there because that compiles
a lot of shaders so it would end up with a high value for
program_string_id.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2015-04-29 15:31:45 +01:00
..
egl egl: misc fixes for EGL_MESA_image_dma_buf_export 2015-04-29 15:13:19 +10:00
gallium r300: do not link against libdrm_intel 2015-04-29 15:15:19 +01:00
gbm gbm: Add GBM_BO_USE_LINEAR flag 2015-04-16 15:49:15 +09:00
getopt
glsl glsl: fix packing support for arrays of doubles 2015-04-28 07:49:32 +10:00
glx Fix a few typos 2015-04-27 17:28:29 +03:00
gtest Fix a few typos 2015-04-27 17:28:29 +03:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader Fix a few typos 2015-04-27 17:28:29 +03:00
mapi Fix a few typos 2015-04-27 17:28:29 +03:00
mesa i965: Don't try to apply the opt_sampler_eot extension for vs 2015-04-29 15:31:45 +01:00
util util/macros: Move DIV_ROUND_UP to util/macros.h 2015-04-29 08:28:10 +02:00
Makefile.am automake: add missing egl files to the tarball 2015-03-25 21:00:02 +00:00
SConscript scons: Don't build loader on Windows. 2015-03-25 10:42:35 +00:00