glamor: xv: do not force a version on XV shaders

There is a no need to force a low version for XV shaders, it will
work on higher version too.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Konstantin <ria.freelander@gmail.com>
This commit is contained in:
Konstantin 2023-10-10 13:07:41 +03:00
parent 372f67796f
commit a8270fc5f0

View File

@ -62,8 +62,6 @@ typedef struct tagREF_TRANSFORM {
static const glamor_facet glamor_facet_xv_planar_2 = { static const glamor_facet glamor_facet_xv_planar_2 = {
.name = "xv_planar_2", .name = "xv_planar_2",
.version = 120,
.source_name = "v_texcoord0", .source_name = "v_texcoord0",
.vs_vars = ("in vec2 position;\n" .vs_vars = ("in vec2 position;\n"
"in vec2 v_texcoord0;\n" "in vec2 v_texcoord0;\n"
@ -94,8 +92,6 @@ static const glamor_facet glamor_facet_xv_planar_2 = {
static const glamor_facet glamor_facet_xv_planar_3 = { static const glamor_facet glamor_facet_xv_planar_3 = {
.name = "xv_planar_3", .name = "xv_planar_3",
.version = 120,
.source_name = "v_texcoord0", .source_name = "v_texcoord0",
.vs_vars = ("in vec2 position;\n" .vs_vars = ("in vec2 position;\n"
"in vec2 v_texcoord0;\n" "in vec2 v_texcoord0;\n"