File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,12 +171,9 @@ impl Images {
171171 ) ;
172172
173173 let mut atlas_rgba_mask = None ;
174- // FIXME: This is disabled because of a wgpu validation error
175- #[ allow( clippy:: overly_complex_bool_expr) ]
176- if false
177- && device
178- . features ( )
179- . contains ( wgpu:: Features :: DUAL_SOURCE_BLENDING )
174+ if device
175+ . features ( )
176+ . contains ( wgpu:: Features :: DUAL_SOURCE_BLENDING )
180177 {
181178 atlas_rgba_mask = Some ( atlases:: Pipeline :: new (
182179 device,
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ precision mediump float;
1111layout (location = 0 ) in vec2 tex_coord;
1212layout (location = 1 ) in vec4 col;
1313
14- layout (location = 0 ) out vec4 frag_color;
15- layout (location = 1 ) out vec4 blend_color;
14+ layout (location = 0 , index = 0 ) out vec4 frag_color;
15+ layout (location = 0 , index = 1 ) out vec4 blend_color;
1616
1717layout (set = 1 , binding = 0 ) uniform texture2D tex;
1818layout (set = 1 , binding = 1 ) uniform sampler tex_sampler;
You can’t perform that action at this time.
0 commit comments