def
05-25-2004, 03:48 AM
I have a working ARB_fp shader using alot of temporary variables. When I exchange the folowing
PARAM factor = { 0.003, 0.003, 0.0, 0.0};
with
PARAM factor = program.env[0];
I get the error:
"error: too many temporaries".
With the working shader I get the following counts:
31 of 32 temporaries used
All other counts are ok. ( 50 of 1024 ALU, etc. )
Is there something I don't know about ProgramEnvParameters?
Using GeForceFX5900 (5.6.7.2 driver)
Thx for any help.
def
PARAM factor = { 0.003, 0.003, 0.0, 0.0};
with
PARAM factor = program.env[0];
I get the error:
"error: too many temporaries".
With the working shader I get the following counts:
31 of 32 temporaries used
All other counts are ok. ( 50 of 1024 ALU, etc. )
Is there something I don't know about ProgramEnvParameters?
Using GeForceFX5900 (5.6.7.2 driver)
Thx for any help.
def