r600g: improve kcache line sets handling v2
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 20 Jan 2012 19:24:32 +0000 (23:24 +0400)
committerDave Airlie <airlied@redhat.com>
Sat, 21 Jan 2012 12:43:14 +0000 (12:43 +0000)
commitd649bf51ec787021f7872e2a4c09fb2188c0891b
treed9df04c73ee886d62da2fd28bd1286e766ce6a17
parent261dc72fe3ce969bb4592ac49280147cd72f4414
r600g: improve kcache line sets handling v2

Add support for multiple kcache banks (constant buffers).
Lock the required lines only.
Allow up to 4 kcache line sets in the alu clause by using ALU_EXTENDED on eg+.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/eg_asm.c
src/gallium/drivers/r600/eg_sq.h
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h