summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2018-01-26 06:25:21 -0600
committerAdam Jackson <ajax@redhat.com>2018-01-29 16:18:28 -0500
commit3bd17dff1ac5a4685a5da92a9982f621effee658 (patch)
treea62fc694a17234ca49d0e27d548e24aac0a960a8 /glamor
parent5815c7b5951fd46d69e5c40144b64e516c7afdbf (diff)
glamor: remove unused variables in linear gradient shader
Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glamor')
-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 bb024ae4c..864340e77 100644
--- a/glamor/glamor_gradient.c
+++ b/glamor/glamor_gradient.c
@@ -465,13 +465,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.*/\