mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 20:40:04 +01:00
glamor: Fix link failure on GLES2.
Current Mesa requires that the precision qualifier on uniforms matches between stages, even if (as in this case) the uniform isn't used in one of the stages. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
20fcdfcf39
commit
2aca2dadda
1 changed files with 1 additions and 2 deletions
|
|
@ -122,8 +122,7 @@ static glamor_location_var location_vars[] = {
|
|||
.vs_vars = ("uniform vec2 fill_offset;\n"
|
||||
"uniform vec2 fill_size_inv;\n"
|
||||
"varying vec2 fill_pos;\n"),
|
||||
.fs_vars = ("uniform vec2 fill_size_inv;\n"
|
||||
"varying vec2 fill_pos;\n")
|
||||
.fs_vars = ("varying vec2 fill_pos;\n")
|
||||
},
|
||||
{
|
||||
.location = glamor_program_location_font,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue