Mesa (master): mesa: added gl_program::IndirectRegisterFiles field
Brian Paul
brianp at kemper.freedesktop.org
Fri Jul 30 20:30:18 UTC 2010
Module: Mesa
Branch: master
Commit: 56643096f1eb01eefa1a532ac096b32d23b6b8ba
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56643096f1eb01eefa1a532ac096b32d23b6b8ba
Author: Brian Paul <brianp at vmware.com>
Date: Fri Jul 30 14:24:23 2010 -0600
mesa: added gl_program::IndirectRegisterFiles field
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.
---
src/mesa/main/mtypes.h | 5 +
src/mesa/program/arbprogparse.c | 2 +
src/mesa/program/nvvertparse.c | 5 +
src/mesa/program/prog_print.c | 2 +
src/mesa/program/program.c | 1 +
src/mesa/program/program_parse.tab.c | 421 +++++++++++++++++-----------------
src/mesa/program/program_parse.y | 1 +
src/mesa/slang/slang_link.c | 7 +
8 files changed, 234 insertions(+), 210 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=56643096f1eb01eefa1a532ac096b32d23b6b8ba
More information about the mesa-commit
mailing list