xf86-video-ati: Branch 'master'
Jerome Glisse
glisse at kemper.freedesktop.org
Mon Feb 24 15:09:38 PST 2014
src/evergreen_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8da17f30c70f4494ce22ad781a1cee17041812f3
Author: Jérôme Glisse <jglisse at redhat.com>
Date: Mon Feb 24 14:50:25 2014 -0500
evergreen: fix shader constant upload on ppc
The number of dword we have to swap is (16*4) ie 16 vectors of
4 floats each not 16 floats. Never hit this issue before because
we never had more than 4 constant vector.
Signed-off-by: Jérôme Glisse <jglisse at redhat.com>
diff --git a/src/evergreen_accel.c b/src/evergreen_accel.c
index e25010b..3a76a71 100644
--- a/src/evergreen_accel.c
+++ b/src/evergreen_accel.c
@@ -561,7 +561,7 @@ evergreen_set_alu_consts(ScrnInfoPtr pScrn, const_config_t *const_conf, uint32_t
#if X_BYTE_ORDER == X_BIG_ENDIAN
{
- uint32_t count = size << 4, *p = const_conf->cpu_ptr;
+ uint32_t count = size << 6, *p = const_conf->cpu_ptr;
while(count--) {
*p = cpu_to_le32(*p);
More information about the xorg-commit
mailing list