mesa/src
Grazvydas Ignotas 7562abc8d5 r600: fix constant buffer size programming
When buffer size is less than 16, zero ends up being programmed as
size, which prevents the hardware from fetching the correct values.
Fix it by combining shift and align so that the value is always
rounded up.

Cc: "11.1 11.0 10.6" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92229
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit da0e216e06)
[Emil Velikov: s/radeon_set_context_reg/r600_write_context_reg/]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

Conflicts:
	src/gallium/drivers/r600/evergreen_state.c
	src/gallium/drivers/r600/r600_state.c
2016-01-14 20:18:43 +02:00
..
egl egl/wayland: Ignore rects from SwapBuffersWithDamage 2015-12-03 18:43:12 +00:00
gallium r600: fix constant buffer size programming 2016-01-14 20:18:43 +02:00
gbm gbm.h: Add a missing stddef.h include for size_t. 2015-11-05 14:05:20 +00:00
getopt
glsl glsl: assign varying locations to tess shaders when doing SSO 2015-12-18 12:26:26 +00:00
glx glx: Don't hard-code the name "libGL.so.1" in driOpenDriver (v3) 2015-10-07 14:49:07 +01:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00
mapi mapi: Make _glapi_get_stub work with "gl" or "mgl" prefix. 2015-10-07 14:48:41 +01:00
mesa mesa: Don't leak ATIfs instructions in DeleteFragmentShader 2016-01-14 19:45:06 +02:00
util ralloc: Fix ralloc_adopt() to the old context's last child's parent. 2016-01-14 19:45:06 +02:00
Makefile.am automake: rework the EGL build 2015-07-22 16:35:27 +01:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00