summaryrefslogtreecommitdiff
path: root/src/mesa/program/prog_parameter_layout.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-07-31 20:12:21 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-04 00:07:28 +0200
commit0614006d090902324149387ec150231b647928fd (patch)
tree6a571742001a51dbaefba8f7061bd8412943073d /src/mesa/program/prog_parameter_layout.h
parentdd863bf5e7c6680075cf7c355a026b1da69ee9e3 (diff)
mesa: increase the relative address offset limit to 4096 in ARB_vp/fp
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.
Diffstat (limited to 'src/mesa/program/prog_parameter_layout.h')
0 files changed, 0 insertions, 0 deletions