[virglrenderer-devel] [PATCH 1/2] vrend: Support caps struct v2
Jakob Bornecrantz
jakob.bornecrantz at collabora.com
Mon Feb 12 10:59:17 UTC 2018
On 2018-02-10 01:20, Stéphane Marchesin wrote:
> This new struct allows us to report accurate max point size
> and line width.
>
> Signed-off-by: Stéphane Marchesin <marcheu at chromium.org>
> ---
> src/virgl_hw.h | 29 +++++++++++++++++++++++++++++
> src/vrend_renderer.c | 19 ++++++++++++++++++-
> 2 files changed, 47 insertions(+), 1 deletion(-)
>
> diff --git a/src/virgl_hw.h b/src/virgl_hw.h
> index 8c6f523..ca043a3 100644
> --- a/src/virgl_hw.h
> +++ b/src/virgl_hw.h
> @@ -257,9 +257,38 @@ struct virgl_caps_v1 {
> uint32_t max_texture_gather_components;
> };
>
> +struct virgl_caps_v2 {
> + uint32_t max_version;
> + struct virgl_supported_format_mask sampler;
> + struct virgl_supported_format_mask render;
> + struct virgl_supported_format_mask depthstencil;
> + struct virgl_supported_format_mask vertexbuffer;
> + struct virgl_caps_bool_set1 bset;
> + uint32_t glsl_level;
> + uint32_t max_texture_array_layers;
> + uint32_t max_streamout_buffers;
> + uint32_t max_dual_source_render_targets;
> + uint32_t max_render_targets;
> + uint32_t max_samples;
> + uint32_t prim_mask;
> + uint32_t max_tbo_size;
> + uint32_t max_uniform_blocks;
> + uint32_t max_viewports;
> + uint32_t max_texture_gather_components;
> + float min_aliased_point_size;
> + float max_aliased_point_size;
You are mixing tabs and spaces here for indenting here.
Cheers, Jakob.
More information about the virglrenderer-devel
mailing list