mesa/src
Kenneth Graunke cea37f0911 i965/fs: Handle derivative quality decisions in the front-end.
Kristian noted that there's very little use of brw_wm_prog_key in the
generator, and that it basically just generates what it's told, without
caring about what stage it's handling.

One exception to this is derivative handling.  When handling dFdxCoarse
and dFdxFine, we packed an enum value in a second source register,
explicitly telling the generator what to do.  For dFdx, we specified an
enum value of "please use the hint", then checked the program key in the
generator level code.

A natural method is to define separate FS_OPCODE_DD[XY]_{COARSE,FINE}
opcodes, and have the front-end (which already decides what IR to
generate based on the program key) decide which dPdx/dPdy should
correspond to.  This consolidates the decision making in one place.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2014-11-27 20:25:14 -08:00
..
egl egl: remove egl_gallium from the loader 2014-11-14 16:16:12 +01:00
gallium nv50: remove ancient map of rt formats 2014-11-27 16:51:31 -05:00
gbm dri/kms: Always zero out struct drm_mode_create_dumb 2014-11-16 01:03:40 +00:00
getopt
glsl glsl: Use | action in the lexer source to avoid duplicating the float action 2014-11-27 11:43:59 +00:00
glx glx/dri3: Implement LIBGL_SHOW_FPS=1 for DRI3/Present. 2014-10-29 15:13:58 -07:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl gallium/targets: Break haiku state_tracker out to own directory 2014-08-28 21:27:29 -04:00
loader loader: Check dlsym() did not fail in libudev_get_device_name_for_fd() 2014-09-23 10:25:02 +03:00
mapi glapi: Remove dead mesadef.py. 2014-11-26 20:31:15 +00:00
mesa i965/fs: Handle derivative quality decisions in the front-end. 2014-11-27 20:25:14 -08:00
util util: update hash type comments 2014-11-26 20:04:13 +11:00
Makefile.am automake: handle gallium SUBDIRs in gallium/Makefile 2014-08-13 00:46:54 +01:00
SConscript util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00