summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r--src/nv30_exa.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c
index 725a66a..7ac318c 100644
--- a/src/nv30_exa.c
+++ b/src/nv30_exa.c
@@ -629,10 +629,11 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn)
struct nouveau_pushbuf *push = pNv->pushbuf;
struct nv04_fifo *fifo = pNv->channel->data;
uint32_t class = 0, chipset;
- int next_hw_offset = 0, i;
+ int next_hw_offset = FRAGPROG, i;
if (!nv40_fp_map_a8[0])
NV30EXAHackupA8Shaders(pScrn);
+ NVXVComputeBicubicFilter(pNv->scratch, XV_TABLE, XV_TABLE_SIZE);
#define NV30TCL_CHIPSET_3X_MASK 0x00000003
#define NV35TCL_CHIPSET_3X_MASK 0x000001e0
@@ -658,14 +659,6 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn)
if (nouveau_object_new(pNv->channel, Nv3D, class, NULL, 0, &pNv->Nv3D))
return FALSE;
- if (nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM | NOUVEAU_BO_MAP,
- 0, 0x1000, NULL, &pNv->shader_mem)) {
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "Couldn't alloc fragprog buffer!\n");
- nouveau_object_del(&pNv->Nv3D);
- return FALSE;
- }
-
if (!PUSH_SPACE(push, 256))
return FALSE;