diff options
author | Paul Berry <[email protected]> | 2011-09-07 17:44:28 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-20 14:51:03 -0700 |
commit | 27bdc76eb92b11bcd61b829bd1372866cb9ef304 (patch) | |
tree | 7dcfb46b9415d38156b7c4a1394f6b5a2b1aacc2 /src/mesa/program/prog_uniform.h | |
parent | c773de133aaf9e83f236ba0a06caf37b100bb1d5 (diff) |
mesa: Update clipping code to use ctx->Const.MaxClipPlanes.
To support GLSL 1.30, we will need to increase MAX_CLIP_PLANES to 8.
To avoid breaking drivers that do not yet support 8 clip planes, this
patch modifies the Mesa core code that pertains to clipping to use
ctx->Const.MaxClipPlanes rather than MAX_CLIP_PLANES, since
ctx->Const.MaxClipPlanes will remain 6 for drivers that only support 6
clip planes.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_uniform.h')
0 files changed, 0 insertions, 0 deletions