summaryrefslogtreecommitdiff
path: root/glamor/glamor_gradient.c
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2018-01-26 06:25:21 -0600
committerAdam Jackson <ajax@redhat.com>2018-02-12 14:52:23 -0500
commitb41bb8147e706cb8e615842e08a548b7e8afd279 (patch)
treeef59ff74a4f23d983aec66e29e58adb7cd2ec8be /glamor/glamor_gradient.c
parentc715645c14ec00cd49e6bb86340351fa97ab6ea0 (diff)
glamor: remove unused variables in linear gradient shader
Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> (cherry picked from commit 3bd17dff1ac5a4685a5da92a9982f621effee658)
Diffstat (limited to 'glamor/glamor_gradient.c')
-rw-r--r--glamor/glamor_gradient.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/glamor/glamor_gradient.c b/glamor/glamor_gradient.c
index e9880e79d..5deaf5ff4 100644
--- a/glamor/glamor_gradient.c
+++ b/glamor/glamor_gradient.c
@@ -467,13 +467,6 @@ _glamor_create_linear_gradient_program(ScreenPtr screen, int stops_count,
" float _p1_distance;\n"\
" float _pt_distance;\n"\
" float y_dist;\n"\
- " float stop_after;\n"\
- " float stop_before;\n"\
- " vec4 stop_color_before;\n"\
- " vec4 stop_color_after;\n"\
- " float new_alpha; \n"\
- " vec4 gradient_color;\n"\
- " float percentage; \n"\
" vec3 source_texture_trans = transform_mat * tmp;\n"\
" \n"\
" if(hor_ver == 0) { \n" /*Normal case.*/\