diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-08-24 12:54:48 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-08-26 22:05:53 -0700 |
commit | eabe12df44a41e97fb5736959e8864ddbd01be14 (patch) | |
tree | 754fd01ac75f14f07322d8a9061d0ecc8a33e759 /src/mesa/drivers/dri/radeon/radeon_common.c | |
parent | 20d9204fbd71aebf870834b612579419d2c278b5 (diff) |
ARB prog: Change handling of program parameter limits
Several changes are made to program parameter limits. Several of the
non-NATIVE limits are set higher. All of the NATIVE limits are set to
zero in the core Mesa code. Each driver must set the actual value in
its context creation routine. If the NATIVE value remains zero, this
indicates that hardware shaders may not be supported.
Each of the preceeding changes matches the bahavior of Apple's shader
assembler, so it seems safe.
Finally, we limit the value of MaxEnvParams to be no greater than
MaxNativeAttribs. At least one case has been found where an
application does the wrong thing if MaxNativeAttribs < MaxEnvParams.
See also bugzilla #23490.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common.c')
0 files changed, 0 insertions, 0 deletions