mesa/src
Kenneth Graunke 488972222c i965: Combine both gl_PatchVerticesIn lowering passes.
Until now, we had separate passes for lowering gl_PatchVerticesIn to
a statically known constant (for TES inputs when linked against a TCS),
and a uniform in the other cases.  Annoyingly, one had to be run before
nir_lower_system_values, and the other afterward.  This simplified the
passes, but made life painful for the callers.

This patch combines both into a single pass.  If you give it a non-zero
static count, it uses that.  If you give it Mesa state slots, it turns
it back into a built-in uniform.  Otherwise, it does nothing.

This also moves the i965 uniform lowering out to shared code.

v2: Make token arrays const.

Reviewed-by: Eric Anholt <eric@anholt.net>
2018-07-26 21:51:36 -07:00
..
amd radv: Add support for ETC2 textures. 2018-07-27 01:31:32 +02:00
broadcom nir: Add flipping of gl_PointCoord.y in nir_lower_wpos_ytransform. 2018-07-26 11:00:34 -07:00
compiler i965: Combine both gl_PatchVerticesIn lowering passes. 2018-07-26 21:51:36 -07:00
egl egl: Fix missing clamping in eglSetDamageRegionKHR 2018-07-24 14:46:21 +01:00
gallium clover: Reduce wait_count in abort path. 2018-07-26 15:38:22 -04:00
gbm meson: Remove various completed todos 2018-06-13 10:07:03 -07:00
getopt
glx glx: Don't allow glXMakeContextCurrent() with only one valid drawable 2018-07-09 12:03:18 -04:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel i965: Combine both gl_PatchVerticesIn lowering passes. 2018-07-26 21:51:36 -07:00
loader dri3: Stricter SBC wraparound handling 2018-05-22 17:59:53 +02:00
mapi python: Use range() instead of xrange() 2018-07-24 11:07:04 -07:00
mesa i965: Combine both gl_PatchVerticesIn lowering passes. 2018-07-26 21:51:36 -07:00
util python: Better check for keys in dicts 2018-07-24 11:07:04 -07:00
vulkan vulkan/wsi: fix incorrect assignment in assert() 2018-07-25 20:55:35 +01:00
git_sha1.h.in
Makefile.am egl: rewire the build systems to use libwayland-egl 2018-06-06 12:11:57 -07:00
meson.build meson: only build mesa_st tests when build-tests is true 2018-04-24 14:08:15 -07:00
SConscript