diff options
author | Brian Paul <[email protected]> | 2013-12-09 10:46:56 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-12-11 17:19:44 -0800 |
commit | ccd6bf8272cba7c57e4ae09ab8a03db63472648e (patch) | |
tree | 3d3dd8783c41ba50b418a4758e1322badc64363f /src/gallium/drivers/svga/include | |
parent | 84b1716b5efa98c21db32ff7f55bb7608d6a11df (diff) |
svga: expose HW smooth/stipple/wide lines
Newer virtual HW versions support smooth/stipple/wide lines.
Use that instead of 'draw' fallbacks when possible.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/include')
-rw-r--r-- | src/gallium/drivers/svga/include/svga3d_reg.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/include/svga3d_reg.h b/src/gallium/drivers/svga/include/svga3d_reg.h index 05b83c69c6c..464d3267451 100644 --- a/src/gallium/drivers/svga/include/svga3d_reg.h +++ b/src/gallium/drivers/svga/include/svga3d_reg.h @@ -432,8 +432,7 @@ typedef enum { SVGA3D_RS_DSTBLENDALPHA = 95, /* SVGA3dBlendOp */ SVGA3D_RS_BLENDEQUATIONALPHA = 96, /* SVGA3dBlendEquation */ SVGA3D_RS_TRANSPARENCYANTIALIAS = 97, /* SVGA3dTransparencyAntialiasType */ - SVGA3D_RS_LINEAA = 98, /* SVGA3dBool */ - SVGA3D_RS_LINEWIDTH = 99, /* float */ + SVGA3D_RS_LINEWIDTH = 98, /* float */ SVGA3D_RS_MAX } SVGA3dRenderStateName; @@ -1879,6 +1878,15 @@ typedef enum { SVGA3D_DEVCAP_SURFACEFMT_BC4_UNORM = 82, SVGA3D_DEVCAP_SURFACEFMT_BC5_UNORM = 83, + SVGA3D_DEVCAP_DEAD1 = 84, + SVGA3D_DEVCAP_85 = 85, + SVGA3D_DEVCAP_86 = 86, + + SVGA3D_DEVCAP_LINE_AA = 87, /* boolean */ + SVGA3D_DEVCAP_LINE_STIPPLE = 88, /* boolean */ + SVGA3D_DEVCAP_MAX_LINE_WIDTH = 89, /* float */ + SVGA3D_DEVCAP_MAX_AA_LINE_WIDTH = 90, /* float */ + /* * Don't add new caps into the previous section; the values in this * enumeration must not change. You can put new values right before |