mesa/src
Kristian Høgsberg 993a6288f7 i965: Rewrite ir_tex to ir_txl with lod 0 for vertex shaders
The ir_tex opcode turns into a sample or sample_c message, which will try to
compute derivatives to determine the lod. This produces garbage for
non-fragment shaders where the sample coordinates don't correspond to
subspans.

We fix this by rewriting the opcode from ir_tex to ir_txl and setting the
lod to 0.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89457
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kristian Høgsberg <kristian.h.kristensen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2015-04-16 09:18:30 -07:00
..
egl egl: add initial EGL_MESA_image_dma_buf_export v2.4 2015-04-01 14:10:04 +10:00
gallium radeonsi: remove bogus r600-- triple 2015-04-16 14:15:19 +01:00
gbm gbm: Add GBM_BO_USE_LINEAR flag 2015-04-16 15:49:15 +09:00
getopt
glsl mesa,glsl: rename interface to programInterface. 2015-04-16 10:23:24 +01:00
glx glx: Create proper server dependency for GLX_EXT_create_context_es2_profile 2015-04-15 18:11:54 -07:00
gtest gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader scons: Don't build loader on Windows. 2015-03-25 10:42:35 +00:00
mapi glapi: add GL_ARB_program_interface_query skeleton 2015-04-16 07:30:12 +03:00
mesa i965: Rewrite ir_tex to ir_txl with lod 0 for vertex shaders 2015-04-16 09:18:30 -07:00
util util/ralloc: Fix extern "C" usage. 2015-04-13 12:03:26 +01: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