mesa/src
Francisco Jerez 3dffd81583 i965/eu: Define alternative interface for setting compression and group controls.
This implements some simple helper functions that can be used to
specify the group of channel enable signals and compression enable
that apply to a brw_inst instruction.

It's intended to replace brw_set_default_compression_control
eventually because the current interface has a number of shortcomings
inherited from the Gen-4-5-centric representation of compression and
group controls as a single non-orthogonal enum: On the one hand it
doesn't work for specifying arbitrary group controls other than 1Q and
2Q, which are frequently useful in SIMD32 and FP64 programs.  On the
other hand the current interface forces you to update the compression
*and* group controls simultaneously, which has been the source of a
number of generator bugs (a bunch of them fixed in this series),
because in many cases we would end up resetting the group controls to
zero inadvertently even though everything we wanted to do was disable
instruction compression -- The latter seems especially unfortunate on
Gen6+ hardware which have no explicit compression control, so we would
end up bashing the quarter control field of the instruction for no
benefit.

Instead of a single function that updates both at the same time
introduce separate interfaces to update one or the other independently
preserving the current value of the other (which typically comes from
the back-end IR so it has to be respected).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-05-27 23:22:10 -07:00
..
compiler glsl/linker: call link_uniform blocks on linked shader. 2016-05-28 05:35:53 +10:00
egl egl: Additional attribute validation for eglCreatePbufferSurface 2016-05-26 08:02:48 -07:00
gallium gallium/util: another s/unsigned/enum pipe_prim_type/ for clang 2016-05-27 18:42:21 -06:00
gbm gbm: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
getopt
glx scons: whitespace cleanup 2016-05-25 12:23:12 -06:00
gtest
hgl
intel anv/cmd_buffer: Don't delete command buffers in ResetCommandPool() 2016-05-27 18:56:33 -07:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi mapi: expose new functions in GL ES 3.2 2016-05-26 21:25:53 -04:00
mesa i965/eu: Define alternative interface for setting compression and group controls. 2016-05-27 23:22:10 -07:00
util mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Makefile.am automake: tweak SUBDIR reorder and comment it 2016-05-01 08:38:05 +01:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00