summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-09-07 05:43:03 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-09-07 05:43:03 +0200
commit87800095e27353557adb39ef42ee6f82a0075bc1 (patch)
tree366f55fe9e20f224c4d80b8e33f4f4cce462b431
parent76cec1b1fd533dda37aa53c40ef7665ed3b406b6 (diff)
downloadiced-87800095e27353557adb39ef42ee6f82a0075bc1.tar.gz
iced-87800095e27353557adb39ef42ee6f82a0075bc1.tar.bz2
iced-87800095e27353557adb39ef42ee6f82a0075bc1.zip
Remove unnecessary `interpolate(flat)` in `quad.wgsl`
-rw-r--r--wgpu/src/shader/quad.wgsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/shader/quad.wgsl b/wgpu/src/shader/quad.wgsl
index 87055339..023b5a6d 100644
--- a/wgpu/src/shader/quad.wgsl
+++ b/wgpu/src/shader/quad.wgsl
@@ -152,7 +152,7 @@ struct GradientVertexInput {
@location(3) @interpolate(flat) colors_3: vec4<u32>,
@location(4) @interpolate(flat) colors_4: vec4<u32>,
@location(5) @interpolate(flat) offsets: vec4<u32>,
- @location(6) @interpolate(flat) direction: vec4<f32>,
+ @location(6) direction: vec4<f32>,
@location(7) position_and_scale: vec4<f32>,
@location(8) border_color: vec4<f32>,
@location(9) border_radius: vec4<f32>,