43 |
# We have at least a NV10, possibly better. |
# We have at least a NV10, possibly better. |
44 |
# Check the number of general combiners to be sure. |
# Check the number of general combiners to be sure. |
45 |
maxcomb = GZZGL.getGLFloat("MAX_GENERAL_COMBINERS_NV")[0] |
maxcomb = GZZGL.getGLFloat("MAX_GENERAL_COMBINERS_NV")[0] |
46 |
if maxcomb < 2: |
if maxcomb < 4: |
|
assert 0, "Sorry, not sufficient register combiners (%s)"%maxcomb |
|
|
elif maxcomb < 4: |
|
47 |
# use NV10 version |
# use NV10 version |
48 |
if dbg: print "Using NV10 combiners ",maxcomb |
if dbg: print "Using NV10 combiners ",maxcomb |
49 |
files.append("texcomb_NV1X.py") |
files.append("texcomb_NV1X.py") |