[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./TODO gfx/libutil/nvcode.py
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] gzz ./TODO gfx/libutil/nvcode.py |
Date: |
Mon, 25 Nov 2002 08:38:41 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Janne V. Kujala <address@hidden> 02/11/25 08:38:41
Modified files:
. : TODO
gfx/libutil : nvcode.py
Log message:
Add dummy stage if NUM_GENERAL_COMBINERS_NV is zero
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.417&tr2=1.418&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libutil/nvcode.py.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.417 gzz/TODO:1.418
--- gzz/TODO:1.417 Mon Nov 25 06:15:16 2002
+++ gzz/TODO Mon Nov 25 08:38:40 2002
@@ -17,8 +17,6 @@
- make callgl complain on broken stuff such as
the string "%(texid)s" in place of a number !!!!
ARGH ARGH ARGH
- - fix parseNVCode:
- NUM_GENERAL_COMBINERS_NV cannot be zero
- fix turbulence texture
- irregu: precomputed angles for 2D-texture slices (sprinkled edge)
- [GI03] paper
Index: gzz/gfx/libutil/nvcode.py
diff -u gzz/gfx/libutil/nvcode.py:1.8 gzz/gfx/libutil/nvcode.py:1.9
--- gzz/gfx/libutil/nvcode.py:1.8 Mon Nov 25 06:05:12 2002
+++ gzz/gfx/libutil/nvcode.py Mon Nov 25 08:38:41 2002
@@ -573,6 +573,12 @@
print "ERROR: left side must be register:", line
return ""
+ if stage["num"] == 0:
+ # Number of general combiners cannot be zero;
+ # add dummy state to force output
+ stage["RGB"]["foobar"] = 1
+ code += "# Dummy combiner stage:\n"
+
code += outputGeneralCombiner(stage)
init = ""
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz ./TODO gfx/libutil/nvcode.py,
Janne V. Kujala <=