@@ -336,12 +336,12 @@ glamor_create_composite_fs(glamor_screen_private *glamor_priv, struct shader_key
336336 }
337337
338338 if (asprintf (& source ,
339- "%s"
340- GLAMOR_DEFAULT_PRECISION
341- "%s%s%s%s%s%s%s%s" , header , GLAMOR_COMPAT_DEFINES_FS ,
342- repeat_define , relocate_texture ,
343- enable_rel_sampler ? rel_sampler : stub_rel_sampler ,
344- source_fetch , mask_fetch , dest_swizzle , in ) == -1 )
339+ "%s"
340+ GLAMOR_DEFAULT_PRECISION
341+ "%s%s%s%s%s%s%s%s" , header , GLAMOR_COMPAT_DEFINES_FS ,
342+ repeat_define , relocate_texture ,
343+ enable_rel_sampler ? rel_sampler : stub_rel_sampler ,
344+ source_fetch , mask_fetch , dest_swizzle , in ) == -1 )
345345 FatalError ("Memory allocation on asprintf() failed\n" );
346346
347347 prog = glamor_compile_glsl_prog (GL_FRAGMENT_SHADER , source );
@@ -387,11 +387,11 @@ glamor_create_composite_vs(glamor_screen_private* priv, struct shader_key *key)
387387 version = version_gles3 ;
388388
389389 if (asprintf (& source ,
390- "%s"
391- GLAMOR_DEFAULT_PRECISION
392- "%s%s%s%s%s" ,
393- version , defines , main_opening , source_coords_setup ,
394- mask_coords_setup , main_closing ) == -1 )
390+ "%s"
391+ GLAMOR_DEFAULT_PRECISION
392+ "%s%s%s%s%s" ,
393+ version , defines , main_opening , source_coords_setup ,
394+ mask_coords_setup , main_closing ) == -1 )
395395 FatalError ("malloc on asprintf() failed\n" );
396396
397397 prog = glamor_compile_glsl_prog (GL_VERTEX_SHADER , source );
0 commit comments