summaryrefslogtreecommitdiff
path: root/src/nv30_shaders.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-02-02 05:54:47 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-02-03 17:02:22 +0100
commitbb2a7bd3461eec37f179748a9bdb9375b1c3da04 (patch)
treedcfb2d609d90d5d8e1cebc6bacc264839dc5c1e5 /src/nv30_shaders.c
parentc10d30dfefe93a9911d89eaffe3d29d3cff66a96 (diff)
Fixes to nv30/nv40 textured video.
Diffstat (limited to 'src/nv30_shaders.c')
-rw-r--r--src/nv30_shaders.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nv30_shaders.c b/src/nv30_shaders.c
index 217845d..88533bf 100644
--- a/src/nv30_shaders.c
+++ b/src/nv30_shaders.c
@@ -52,7 +52,10 @@ NV30_LoadFragProg(ScrnInfoPtr pScrn, nv_shader_t *shader)
OUT_RING (shader->card_priv.NV30FP.num_regs << 16| 4);
BEGIN_RING(Nv3D, 0x1d7c, 1);
OUT_RING (0xffff0000);
-
+
+ /* FIXME this needs to be understood and handled properly */
+ BEGIN_RING(Nv3D,NV34TCL_FP_CONTROL,1);
+ OUT_RING (0x1);
}