diff options
author | Stuart Bennett <sb476@cam.ac.uk> | 2008-10-22 01:44:10 +0100 |
---|---|---|
committer | Stuart Bennett <sb476@cam.ac.uk> | 2008-10-22 14:12:36 +0100 |
commit | 9e2c08937b0d1bfed71997b2b16bded91830af71 (patch) | |
tree | 25e4ea69ca0185ac9440426accacc0cf07f137b6 /src/nv30_exa.c | |
parent | afc6668d2b4a1971c211c421b6a415fe74dbd2ea (diff) | |
download | xorg-driver-xf86-video-nouveau-9e2c08937b0d1bfed71997b2b16bded91830af71.tar.gz |
Only hackup shaders once
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r-- | src/nv30_exa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c index f9f6384..bc7d1f9 100644 --- a/src/nv30_exa.c +++ b/src/nv30_exa.c @@ -609,7 +609,8 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn) uint32_t class = 0, chipset; int i; - NV30EXAHackupA8Shaders(pScrn); + if (!nv40_fp_map_a8[0]) + NV30EXAHackupA8Shaders(pScrn); #define NV30TCL_CHIPSET_3X_MASK 0x00000003 #define NV35TCL_CHIPSET_3X_MASK 0x000001e0 |