mesa/src
Alyssa Rosenzweig 8027cc9975 panfrost/midgard: Expose vec8/vec16 modes
Midgard ALUs can operate in one of four modes: vec2 64-bit, vec4 32-bit,
vec8 16-bit, or vec16 8-bit. Our compiler (and indeed, any OpenGL ES
shader) only uses 32-bit (and eventually vec4 16-bit) modes in normal
circumstances. Nevertheless, the other modes do exist and are easily
accessible through OpenCL; they also come up in cases like blend
shaders.

While we have had minimal support for decoding 8-bit/64-bit modes, we
did so pretending they were vec4 in each case; 16-bit registers had a
synthetically duplicated register file to separate lo/hi halves, etc.
This works for GL, but it doesn't map to what the hardware is -actually-
doing, which can cause some headscratchingly bizarre disassemblies from
OpenCL. So, we dive in the deep end and support these other modes
natively in the disassembler, using absurdly long masks/swizzles, since
the hardware is considerably more flexible than what was exposed before.

Outside of some fixed routines for blending, none of the above is
supported in the compiler yet. But it's better to have it in the ISA
definitions and disassembler than not, for future use if nothing else.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
2019-06-10 06:50:11 -07:00
..
amd radv: fix alpha-to-coverage when there is unused color attachments 2019-06-10 09:23:41 +02:00
broadcom v3d: don't emit point coordinates varyings if the FS doesn't read them 2019-06-07 08:29:42 +02:00
compiler nir: fix s/&&/||/ typo 2019-06-07 16:06:25 +01:00
egl egl: Let the caller of dri2_create_drawable decide about loaderPrivate. 2019-06-10 11:06:48 +02:00
etnaviv etnaviv: etnaviv_bo_cache_test: Use /dev/dri/renderD128 by default 2019-06-05 08:58:05 +00:00
freedreno ir3: Use the new NIR lowering pass for integer multiplication 2019-06-07 08:45:05 +02:00
gallium panfrost/midgard: Expose vec8/vec16 modes 2019-06-10 06:50:11 -07:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx glx/windows: Fix compilation with -Werror-format 2019-06-07 11:28:48 -07:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: delete demo file 2019-05-21 14:40:22 +01:00
intel intel/gpu_dump: fix argument passing 2019-06-09 19:45:13 +00:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi mapi: correctly handle the full offset table 2019-06-10 14:04:30 +01:00
mesa mesa/main: Expose EXT_clip_control and related enums and the function 2019-06-06 12:25:17 +02:00
util util/os_file: suppress sign comparison warning 2019-06-09 13:14:13 +00:00
vulkan vulkan: Update the XML and headers to 1.1.110 2019-06-04 17:30:51 +00:00
meson.build build: Build etnaviv drm 2019-06-05 08:58:05 +00:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00