glamor: remove unused variables in linear gradient shader
Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
5815c7b595
commit
3bd17dff1a
|
@ -465,13 +465,6 @@ _glamor_create_linear_gradient_program(ScreenPtr screen, int stops_count,
|
||||||
" float _p1_distance;\n"\
|
" float _p1_distance;\n"\
|
||||||
" float _pt_distance;\n"\
|
" float _pt_distance;\n"\
|
||||||
" float y_dist;\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"\
|
" vec3 source_texture_trans = transform_mat * tmp;\n"\
|
||||||
" \n"\
|
" \n"\
|
||||||
" if(hor_ver == 0) { \n" /*Normal case.*/\
|
" if(hor_ver == 0) { \n" /*Normal case.*/\
|
||||||
|
|
Loading…
Reference in New Issue