diff options
author | Louis-Francis Ratté-Boulianne <[email protected]> | 2019-10-12 03:01:59 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-03 12:28:23 +0000 |
commit | 585a21ceca03b47f1b00579e43dd105bfd116fd5 (patch) | |
tree | ea6c0d9b05f5e52910e02e783da0d6d373dc6ef9 /src/gallium/auxiliary/util/u_screen.c | |
parent | babf7357d24b88a548f50aebca74c6ffd8f81d52 (diff) |
gallium: add PIPE_CAP_PSIZ_CLAMPED
This new capability indicates that the point size has been clamped.
This also means that the gl_PointSize has been modified and that
its value should be lowered for transform feedback, if needed.
Signed-off-by: Louis-Francis Ratté-Boulianne <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Acked-by: Daniel Stone <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2433>
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c index d94f082ba96..2204c07b1fb 100644 --- a/src/gallium/auxiliary/util/u_screen.c +++ b/src/gallium/auxiliary/util/u_screen.c @@ -418,6 +418,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, return 1; case PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED: + case PIPE_CAP_PSIZ_CLAMPED: return 0; default: |