diff options
author | José Fonseca <[email protected]> | 2012-02-27 11:12:12 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-02-28 15:38:53 +0000 |
commit | 9773370eda1765b1014ba11a699d10244b88757c (patch) | |
tree | 617baefb5e56ad43baabaa8deb4bd8bcd90d4831 /src/gallium/drivers/svga/svga_context.h | |
parent | d9c42097770f173804c7c7c40bf8bc6c4400673b (diff) |
svga: Advertise SVGA3D_DEVCAP_MAX_POINT_SIZE.
Backends usually advertise a SVGA3D_DEVCAP_MAX_POINT_SIZE between 63 and
256, so an hardcoded max point size of 80 is often incorrect.
This limitation does not apply for anti-aliased points (as they are done
via draw module) but we still advertise the same limit for both, because
all others pipe drivers do.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index d6309f7085b..067c791ec68 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -41,8 +41,6 @@ #include "svga3d_shaderdefs.h" -#define SVGA_MAX_POINTSIZE 80.0 - struct draw_vertex_shader; struct draw_fragment_shader; struct svga_shader_result; |