diff options
author | Eric Anholt <eric@anholt.net> | 2016-09-24 14:42:28 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-09-29 09:11:12 -0700 |
commit | 2aca2dadda4cc9c378049457885d33a4eede9768 (patch) | |
tree | 7dcd99b8d686aa8a0d91437f4c86f815103c7683 /glamor | |
parent | 20fcdfcf39497fe44d2a3200338523effb8e2bc6 (diff) |
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>
Diffstat (limited to 'glamor')
-rw-r--r-- | glamor/glamor_program.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/glamor/glamor_program.c b/glamor/glamor_program.c index dec116c75..23c102bc3 100644 --- a/glamor/glamor_program.c +++ b/glamor/glamor_program.c @@ -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, |