Age | Commit message (Collapse) | Author |
|
program is enabled AND the currently bound program is valid.
Check _Enable instead of Enable to prevent things from blowing up
when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually
defining a program.
|
|
Some need to be set per-vertex, other per-primitive. Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
|
|
Some texture instructions were using wrong LOD.
Fixed interpolate_texcoords() so it doesn't do texcoord projective division
when using a fragment program. The TXP instruction does that.
|
|
Correction on last commit (My FTP-server on linux is playing games with
<CR>'s)
Modified Files:
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/main/descrip.mms
Mesa/src/mesa/shader/arbprogparse.c
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
|
|
Updated OpenVMS compile support due to shader directory.
Removed <CR>'s in arbprogparse.c
Modified Files:
Mesa/src/mesa/descrip.mms
Mesa/src/mesa/drivers/common/descrip.mms
Mesa/src/mesa/main/descrip.mms
Mesa/src/mesa/shader/arbprogparse.c
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
|
|
|
|
|
|
Be sure to assign program.Base.String pointer.
|
|
|
|
|
|
|
|
|
|
Sounds good :)
|
|
for built-in data types.
|
|
|
|
|
|
Needs testing - it havent been even compiled yet.
|
|
|
|
TODO:
- add checking for duplicate symbols (or is it done already?)
- move all the statics (grammar objects list and last error message)
to the GL context state; I think simple pointer initialized in a
first call to ProgramString() is sufficent.
- apply an optimized version of match() - this will be needed for
glslang compiler.
|
|
|
|
|