summaryrefslogtreecommitdiff
path: root/src/mesa/program/program_parse.y
AgeCommit message (Collapse)Author
2011-03-02mesa: added gl_program_constants::MaxAddressOffsetBrian Paul
See https://bugs.freedesktop.org/show_bug.cgi?id=29418
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-02mesa: Fix printf-like warning.Vinson Lee
2010-08-04mesa: increase the relative address offset limit to 4096 in ARB_vp/fpMarek Olšák
Even though the spec says that the limits should be -64/+63, proprietary drivers support much larger relative offsets and some applications do depend on this non-standard behavior. Also program_parse.tab.c has been regenerated. This fixes the parser error: ARB_vp: error: relative address offset too large See also: https://bugs.freedesktop.org/show_bug.cgi?id=28628 4096 * sizeof(vec4) is the maximum size of the constant buffer on NV50. It is not supposed to be a definite hardware limit, it is for the parser not to get in the way and let the underlying driver decide whether it can run the shader or not.
2010-07-30mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul