OSDN Git Service

r600g: take into account kcache banks for bank swizzle check
authorVadim Girlin <vadimgirlin@gmail.com>
Sat, 21 Jan 2012 21:49:46 +0000 (01:49 +0400)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Jan 2012 09:30:14 +0000 (09:30 +0000)
commit20457cfcb81223802f71968e255f2b28942010a8
tree8f751d4600bf82150db0bbbebcb80c7f20db0dc1
parentfceca6191a8c017cf9f0ba689a407d25a294335c
r600g: take into account kcache banks for bank swizzle check

Due to the changes for multiple kcache banks support, now we are assigning
final SRCx_SEL values for kcache access at the later stage, when building the
bytecode. So we need to take into account kcache banks to distinguish
the constants with the same address but different bank index.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 840a342cd0ac4a9937798a2137122387c0d3d7f6)
src/gallium/drivers/r600/r600_asm.c