summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu/src/shader/frag.wgsl
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-07-03 17:35:31 +0200
committerLibravatar GitHub <noreply@github.com>2022-07-03 17:35:31 +0200
commit66eb6263003c1bbedd1fd14d6b12f172d20a6211 (patch)
tree46253081865e677d7199fd036f0fed309f531ea7 /examples/integration_wgpu/src/shader/frag.wgsl
parente6e3eff8762e9e8350f00b340348dc2261dd0053 (diff)
parent9adc20922d16b990eede1f6c5f059e68efe15d0e (diff)
downloadiced-66eb6263003c1bbedd1fd14d6b12f172d20a6211.tar.gz
iced-66eb6263003c1bbedd1fd14d6b12f172d20a6211.tar.bz2
iced-66eb6263003c1bbedd1fd14d6b12f172d20a6211.zip
Merge pull request #1378 from Cupnfish/wgpu-0.13
update `wgpu` to `0.13`
Diffstat (limited to 'examples/integration_wgpu/src/shader/frag.wgsl')
-rw-r--r--examples/integration_wgpu/src/shader/frag.wgsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/integration_wgpu/src/shader/frag.wgsl b/examples/integration_wgpu/src/shader/frag.wgsl
index a6f61336..cf27bb56 100644
--- a/examples/integration_wgpu/src/shader/frag.wgsl
+++ b/examples/integration_wgpu/src/shader/frag.wgsl
@@ -1,4 +1,4 @@
-[[stage(fragment)]]
-fn main() -> [[location(0)]] vec4<f32> {
+@fragment
+fn main() -> @location(0) vec4<f32> {
return vec4<f32>(1.0, 0.0, 0.0, 1.0);
}