mesa/src
Dave Airlie a060dc27b0 ac/nir: account for view index in the user sgpr allocation.
The view index user sgpr wasn't being accounted for properly,
this refactors out the code to decide if it's required and then
uses that info to account for it.

Fixes: 180c1b924e (ac/nir: Add shader support for multiviews.)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 3153d74207)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/amd/common/ac_nir_to_llvm.c
2018-01-25 02:24:37 +00:00
..
amd ac/nir: account for view index in the user sgpr allocation. 2018-01-25 02:24:37 +00:00
broadcom broadcom/vc5: Remove unused v3d_compiler.c 2017-11-13 17:17:16 +00:00
compiler glsl: Respect std430 layout in lower_buffer_access 2018-01-12 21:38:10 +01:00
egl egl/android: Fix build break with dri2_initialize_android _EGLDisplay parameter 2018-01-08 20:49:46 +00:00
gallium svga: Prevent use after free. 2018-01-24 21:06:26 +00:00
gbm meson: build libEGL 2017-10-20 16:46:48 -07:00
getopt
glx glx: fix non-dri build 2018-01-25 02:13:07 +00:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel anv: Import mako templates only during execution of anv_extensions 2018-01-12 21:38:10 +01:00
loader loader/dri3: Avoid freeing renderbuffers in use 2018-01-12 21:38:10 +01:00
mapi gl_table.py: add extern C guard for the generated glapitable.h 2017-11-27 19:26:16 +00:00
mesa i965: Set tiling on BOs imported with modifiers 2018-01-24 20:33:57 +00:00
util drirc: set allow_glsl_cross_stage_interpolation_mismatch for more games 2017-12-27 12:15:13 +00:00
vulkan meson: move wayland_drm_protocol generation to wayland-drm 2017-10-20 16:46:48 -07:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am automake: include git_sha1.h.in in release tarball 2017-11-13 17:17:15 +00:00
meson.build meson: build libEGL 2017-10-20 16:46:48 -07:00
SConscript scons: use python3-compatible print() 2017-09-25 11:57:12 +01:00