mesa/src
Alyssa Rosenzweig b98955e128 panfrost: Rewrite varying assembly
There are two stages to varying assembly in the command stream: creating
the varying buffers in the command stream, and creating the varying meta
descriptors (also in the command stream) linked to the aforementioned
buffers. The previous code for this was ad hoc and brittle, making some
invalid assumptions causing unmaintainable workarounds to pile up across
the driver (both compiler and command stream side).

This patch completely rewrites the varying assembly code. There's a
trivial performance penalty (we now memcpy the varying meta to the
command stream on draw, rather than on compile). That said, the
improvement in flexibility and clarity is well-worth it.

The motivator for these changes was support for gl_PointCoord (and
eventually point sprites for legacy GL), which was impossible to
implement with the old varying assembly code.  With the new refactor,
it's super easy; support for gl_PointCoord is included with this patch.

All in all, I'm quite happy with how this turned out.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2019-03-19 03:55:10 +00:00
..
amd radv: Use correct image view comparison for fast clears. 2019-03-19 00:39:47 +01:00
broadcom v3d: Fix leak of the mem_ctx after the DAG refactor. 2019-03-12 16:15:40 -07:00
compiler nir: Add a new pass to lower array dereferences on vectors 2019-03-15 23:10:27 -05:00
egl android: Build fixes for OMR1 2019-03-18 11:53:59 +02:00
freedreno turnip: Deconflict vk_format_table regeneration 2019-03-16 14:38:51 +00:00
gallium panfrost: Rewrite varying assembly 2019-03-19 03:55:10 +00:00
gbm
getopt
glx glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
gtest
hgl hgl/meson: drop unused include directory 2019-03-08 18:00:19 +00:00
imgui imgui: update memory editor 2019-02-26 12:49:07 +00:00
intel anv,radv: Implement VK_KHR_surface_capability_protected 2019-03-18 17:02:10 +00:00
loader loader: use loader_open_device() to handle O_CLOEXEC 2019-02-26 11:07:23 +00:00
mapi autotools: don't build libGLES*.so with GLVND 2019-03-08 15:13:36 +00:00
mesa st/mesa: stop using pipe_sampler_view_release() 2019-03-17 20:07:22 -06:00
util util: Add a drm_find_modifier helper 2019-03-14 22:41:08 +00:00
vulkan anv,radv: Implement VK_KHR_surface_capability_protected 2019-03-18 17:02:10 +00:00
Makefile.am
SConscript
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00