diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-02-02 05:54:47 +0100 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-02-03 17:02:22 +0100 |
commit | bb2a7bd3461eec37f179748a9bdb9375b1c3da04 (patch) | |
tree | dcfb2d609d90d5d8e1cebc6bacc264839dc5c1e5 /src/nv30_shaders.c | |
parent | c10d30dfefe93a9911d89eaffe3d29d3cff66a96 (diff) |
Fixes to nv30/nv40 textured video.
Diffstat (limited to 'src/nv30_shaders.c')
-rw-r--r-- | src/nv30_shaders.c | 5 |
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); } |