mesa/src
Alyssa Rosenzweig 2ce4adefa5 nir: Add nir_lower_viewport_transform
On Mali hardware (supported by Panfrost and Lima), the fixed-function
transformation from world-space to screen-space coordinates is done in
the vertex shader prior to writing out the gl_Position varying, rather
than in dedicated hardware. This commit adds a shared NIR pass for
implementing coordinate transformation and lowering gl_Position writes
into screen-space gl_Position writes.

v2: Run directly on derefs before io/vars are lowered to cleanup the
code substantially. Thank you to Qiang for this suggestion!

v3: Bikeshed continues.

v4: Add to Makefile.sources (per Jason's comment). Bikeshed comment.

Ian and Qiang's reviews are from v3, but no real functional changes from
v4. Rob's review is from v4.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Suggested-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
2019-04-14 19:15:13 +00:00
..
amd ac: use the common helper ac_apply_fmask_to_sample 2019-04-12 11:35:31 -04:00
broadcom v3d: Use the new lower_to_scratch implementation for indirects on temps. 2019-04-12 16:16:58 -07:00
compiler nir: Add nir_lower_viewport_transform 2019-04-14 19:15:13 +00:00
egl egl: setup fds array correctly when exporting dmabuf 2019-04-11 10:16:03 +03:00
freedreno nir/i965/freedreno/vc4: add a bindless bool to type size functions 2019-04-12 09:02:59 +02:00
gallium panfrost: Cleanup indexed draw handling 2019-04-14 15:25:46 +00:00
gbm
getopt
glx drisw: Try harder to probe whether MIT-SHM works 2019-04-09 09:50:24 +10:00
gtest
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui
intel anv: leave the top 4Gb of the high heap VMA unused 2019-04-13 12:08:23 +00:00
loader
mapi mesa: implement ARB/KHR_parallel_shader_compile 2019-04-01 12:37:52 -04:00
mesa mesa: don't overwrite existing shader files with MESA_SHADER_CAPTURE_PATH 2019-04-12 11:34:39 -04:00
util u_dynarray: add util_dynarray_grow_cap 2019-04-11 09:57:53 +08:00
vulkan wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE 2019-04-10 09:10:01 +02:00
Makefile.am
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript