diff options
author | Dave Airlie <[email protected]> | 2018-06-08 14:38:14 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-06-14 10:36:31 +1000 |
commit | 7b6f2704eb7333689531cc1572648a31319cb5ac (patch) | |
tree | 74c0a026138877d905f31562dd79cd80166f127b /src/gallium/drivers/virgl/virgl_winsys.h | |
parent | babd1d526be4690204964f5e0a42f5df12f7f83b (diff) |
virgl: add ARB_tessellation_shader support. (v2)
This should add all the pieces to enable tess shaders on virgl.
v2: fixup transform to handle tess and strip out precise.
set default for max patch varyings to work around issue when
tess gets enabled from v1 caps but v2 caps aren't in place. (Elie)
Reviewed-by: Elie Tournier <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_winsys.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_winsys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_winsys.h b/src/gallium/drivers/virgl/virgl_winsys.h index 9ebb31a1e41..99ab4d38405 100644 --- a/src/gallium/drivers/virgl/virgl_winsys.h +++ b/src/gallium/drivers/virgl/virgl_winsys.h @@ -127,7 +127,7 @@ static inline void virgl_ws_fill_new_caps_defaults(struct virgl_drm_caps *caps) caps->caps.v2.max_geom_total_output_components = 1024; caps->caps.v2.max_vertex_outputs = 32; caps->caps.v2.max_vertex_attribs = 16; - caps->caps.v2.max_shader_patch_varyings = 0; + caps->caps.v2.max_shader_patch_varyings = 30; caps->caps.v2.min_texel_offset = -8; caps->caps.v2.max_texel_offset = 7; caps->caps.v2.min_texture_gather_offset = -8; |