projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199912a
)
amdgpu/addrlib: fix pixel index calculation of thick micro tiling
author
Xavi Zhang
<xavi.zhang@amd.com>
Tue, 12 May 2015 08:26:59 +0000
(
04:26
-0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000
(14:44 +0200)
src/amd/addrlib/core/addrlib1.cpp
patch
|
blob
|
history
diff --git
a/src/amd/addrlib/core/addrlib1.cpp
b/src/amd/addrlib/core/addrlib1.cpp
index
81455f0
..
0be7bc1
100644
(file)
--- a/
src/amd/addrlib/core/addrlib1.cpp
+++ b/
src/amd/addrlib/core/addrlib1.cpp
@@
-2913,8
+2913,8
@@
ADDR_E_RETURNCODE AddrLib1::ComputeMicroTileEquation(
break;
case 64:
case 128:
- pixelBit[0] =
y
0;
- pixelBit[1] =
x
0;
+ pixelBit[0] =
x
0;
+ pixelBit[1] =
y
0;
pixelBit[2] = z0;
pixelBit[3] = x1;
pixelBit[4] = y1;
@@
-3124,8
+3124,8
@@
UINT_32 AddrLib1::ComputePixelIndexWithinMicroTile(
break;
case 64:
case 128:
- pixelBit0 =
y
0;
- pixelBit1 =
x
0;
+ pixelBit0 =
x
0;
+ pixelBit1 =
y
0;
pixelBit2 = z0;
pixelBit3 = x1;
pixelBit4 = y1;