Commit Graph

704 Commits (master)

Author SHA1 Message Date
sotrh 75948417e7
Merge pull request #257 from FrankenApps/shader-entrypoints
Name shader entry points differently.
3 years ago
sotrh 667d7c16d9
Merge pull request #259 from arifd/master
Rust resolver 2 default in 2021 edition
3 years ago
sotrh d4f5429bbb
Merge pull request #256 from PhilipK/fix-typo-tutorial2
Fix typo in tutorial2-surface README.md
3 years ago
Arif Driessen 6042b6e821
Update README.md 3 years ago
Ferdinand Schäffler bd46bdb243 Converted docs. 3 years ago
Philip Kristoffersen f31af2d2cb
Fix typo in tutorial2-surface README.md
Add a missing "to"
3 years ago
Pmimo d26d61e4be
Update link to 0.11 docs.rs 3 years ago
laalsaas 297923e578
fix typo kronos to khronos 3 years ago
Ben Hansen e010f745c9 updated news for 0.11 3 years ago
Ben Hansen e0e52584a6 fixed pong for 0.11 3 years ago
Ben Hansen 7cc67f5678 migrated to 0.11 3 years ago
sotrh e15fc946ac
Merge pull request #242 from PAUL-BERNARD/master
Fix some typos
3 years ago
sotrh b40fbb6121
Merge pull request #243 from chrisboyce/chrisboyce-tut2-fix
No "first()" method on Iterator
3 years ago
sotrh ff43b83a89
Merge pull request #244 from SuperSamus/master
model.rs: added "_bind_group" where appropriate
3 years ago
Spencer Imbleau 172a65ad72
Fixed typo: BackendBit::Primary is from a previous version 3 years ago
Martino Fontana 11b24cebc5 model.rs: added "_bind_group" where appropriate 3 years ago
Chris Boyce bb32dbdb52
No "first()" method on Iterator
As far as I can tell looking at the docs, there is no "first" method for the Iterator trait, but I believe "next" accomplishes getting the first item in this instance.
3 years ago
Paul BERNARD 1dad054540 typos 3 years ago
Ben Hansen 4adea9e790 fixed pong 3 years ago
Fabian Kloiber 6546507acf Fix wording
Remove duplicate "the" and shuffle some words around
3 years ago
Fabian Kloiber 85857948bf Update field name `attachment`
In the section on `RenderPassColorAttachment` the text uses the old name `attachment` for the field which now is called `view`.
3 years ago
Fabian Kloiber da913a90af Update link to wgpu docs
Link to `wgpu::Limits` pointed to old version 0.7
3 years ago
Ben Hansen 778a7d907b fixed #239 3 years ago
Kuroki Keiichiro 29a084b1b1 Update an explaining comment for its code
The code has been updated for wgpu-0.10 (`wgpu::TextureUsage::SAMPLED`
-> `wgpu::TextureUsages::TEXTURE_BINDING`), but its comment was not
updated at the same time.
3 years ago
sotrh bba4376e34
Merge pull request #233 from rukai/env_logger
Add section on why env_logger is needed
3 years ago
sotrh c013b28f59
Merge pull request #234 from chrisboyce/master
Fixed mask field name in text
3 years ago
sotrh d63ab6f8d5
Merge pull request #237 from TheBlueFireFox/master
Fixed issue with code example was not ported to 0.10.x
3 years ago
sotrh 432077c7d0
Merge pull request #236 from schnippl0r/master
Fixed code snippet.
3 years ago
Adrian Hornung 6654cae15b Fixed issue with code example was not ported to 0.10.x 3 years ago
Mario Kilies e281746334 Fixed code example.
'instance' and 'adapter' are not defined (and not needed) in State.
3 years ago
Onirik79 651da2ff23
Updated a link to wgpu docs 3 years ago
Chris Boyce 1ab24facf2
Fixed mask field name in text 3 years ago
Lucas Kent f2c0f2aa3c Add section on why env_logger is needed 3 years ago
Ben Hansen a2285094c2 fixed #231 3 years ago
Ben Hansen 6d600965f4 some typos 3 years ago
sotrh 316c429d2f
Merge pull request #228 from VillSnow/patch-1
fix type name Camera to CameraUniform
3 years ago
Ben Hansen 76d667cd2e news for 0.10 3 years ago
Ben Hansen 5ddd876d4f Merge branch '0.10' 3 years ago
Ben Hansen 833d18ff05 explaining why imgui-demo and pong are still broken 3 years ago
Ben Hansen 88df0ff823 migrated intermediate tutorials 3 years ago
Ben Hansen 7c90669f89 migrated beginner tutorials 3 years ago
Ben Hansen 358ecb55af migrate tutorial5 docs 3 years ago
Ben Hansen c0754f9dd3 migrated tutorial5 3 years ago
Ben Hansen 57d7eb763f migrated tutorial4 3 years ago
Ben Hansen 0f618a2ff8 migrated tutorial3 3 years ago
Ben Hansen 012dff0de0 renamed tutorial2 3 years ago
Ben Hansen b322b8f6b8 reworked swapchain tutorial to use surface 3 years ago
VillSnow d13ba88020 fix type name Camera to CameraUniform 3 years ago
Ben Hansen 30c5693fb9 no more validation errors 3 years ago
sotrh f64edebffa
Merge pull request #225 from Onirik79/patch-1
minor typo
3 years ago
Ben Hansen 822f2d6191 started 0.10 3 years ago
Ben Hansen 806d5aa8af some notes on pbr 3 years ago
Onirik79 cd5c440cc1
minor typo 3 years ago
Martino Fontana 372082ae90 Rename "Uniform" to "Camera" in labels too 3 years ago
Martino Fontana 463b6117eb Renamed "light" to "light_uniform" 3 years ago
Martino Fontana b2b77294f6 Change "uniform" naming to "camera" 3 years ago
Norbert Pozar f467e54f7a Fix location syntax (GLSL -> WGSL)
Also outdated `VertexFormat` variants.
3 years ago
sotrh ed186bf229
Merge pull request #215 from rokonio/patch-3
Another tiny fix
3 years ago
sotrh 0b1adb463f
Merge pull request #217 from rokonio/patch-4
Fix on vert_attr_array
3 years ago
sotrh 59bc306c32
Merge pull request #214 from rokonio/patch-2
Found a typo
3 years ago
Ben Hansen 8c887605df update patron list 3 years ago
Ben Hansen 70bf012641 fixed tangent/bitangent comp and cargo fmt 3 years ago
Sitong Peng 4211abcc12
your -> you'll 3 years ago
Rokonio aa5856fa91
Fix on vert_attr_array 3 years ago
Rokonio aadd2e67b6
Another tiny fix 3 years ago
Rokonio ab78dcf7a7
Found a typo 3 years ago
sotrh 1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
3 years ago
sotrh 5a51bf47f9
Merge pull request #210 from SuperSamus/master
Miscellaneous improvements
3 years ago
Ben Hansen 58eca592c1 fixed #202 3 years ago
Rokonio 1c26da1757
Fixing #200 3 years ago
Epacnoss d9e6c4a326
Change Float3 to Float32 3 years ago
Martino Fontana 2941cf7cd9 Updated dependencies where I can just change the number (not "tobj" and "gif") ("compute" can't start a trace) (didn't touch "pong" and "imgui-demo") 3 years ago
Martino Fontana c55ea96d0d Removed unnecessary .clone() 3 years ago
Martino Fontana 467cec5367 Removed unnecessary borrows 3 years ago
Martino Fontana 2c811f43a4 Truncated excessive float precision 3 years ago
Martino Fontana c80b5a9ae2 Collapsed event_loop match 3 years ago
Martino Fontana b5af53b272 Simplify DrawModel and DrawLight lifetimes 3 years ago
Ben Hansen 12c7ba6de8 fixed #182 3 years ago
Ben Hansen f46b2f6d74 fixed #142 3 years ago
Ben Hansen 87c6fa9971 fixed #158 3 years ago
sotrh 0dce068dcc
Merge pull request #205 from hwoodiwiss/fix-tutorial-10
fix: Tutorial 10 Docs Specular Lighting Shader Problems
3 years ago
Hugo Woodiwiss 87d74d104f
Fix type issue when using pow in wgsl 3 years ago
Hugo Woodiwiss af11f05523
Fix errors in tutorial for specular lighting
Also minor fix to file name
3 years ago
Joshua Barretto 12ba9bed0c Switched to pollster 3 years ago
sotrh 02994d1eb6
Merge pull request #197 from sotrh/0.9
0.9
3 years ago
Ari df21a35be1 Why'll should be While 3 years ago
Ben Hansen 0813fd03a4 Merge branch 'master' into 0.9 3 years ago
Rokonio 0f63cee02e
Update README.md
When the vertex class is updated, the `bytemuck`s trait were missing
3 years ago
Ben Hansen b5ce220c2b upgraded to 0.9 3 years ago
Ben Hansen c22808f17a fixed #162 3 years ago
Gwenhwyfar Hartshaw 55c9a7f44c
Add missing fields in PrimitiveState
The render pipeline page was missing the `clamp_depth` and `conservative` fields of the `wgpu::PrimitiveState` struct, added with wgpu 0.8.  These were correct in the full code, but not the snippets in the doc.
3 years ago
Ben Hansen 5f77f40ec1 fixes #191 3 years ago
Ben Hansen 53a019b902 fixed #189 3 years ago
Aevyrie 2eeffbb84a
Rename RenderPassDepthStencilAttachmentDescriptor
Rename RenderPassDepthStencilAttachmentDescriptor -> RenderPassDepthStencilAttachment

See: https://docs.rs/wgpu/0.8.1/wgpu/struct.RenderPassDepthStencilAttachment.html
3 years ago
Aevyrie e16efae327
Remove clamp_depth from DepthStencilState
clamp_depth no longer exists on DepthStencilState, and is instead only on PrimitiveState.
3 years ago
sotrh 0585ca5ca5
Merge pull request #188 from aevyrie/patch-2
wgpu 0.8 corrections
3 years ago
sotrh f2dd260ce6
Merge pull request #187 from aevyrie/patch-1
Update README.md
3 years ago
Aevyrie 5cd42e231c
Missing qualifier 3 years ago
Aevyrie adc729747b
Fix grammatical error 3 years ago
Ben Hansen 72cd5e9eb4 fixed broken demos 3 years ago
Aevyrie c9003caa9f
ImageDataLayout change 3 years ago
Aevyrie b8853689fe
wgpu 0.8 BlendState change 3 years ago
Aevyrie 382f12383e
Update README.md
Small typo.
3 years ago
sotrh dd7d48929f
Merge pull request #181 from al-tameemi/e6029cb
Updated the use of RenderPassColorAttachmentDescriptor to RenderPassColorAttachment
3 years ago
Hugo Woodiwiss 67c9246b2f
Updated tutorial to work with tobj 3.0.x 3 years ago
Mohammed Al-Tameemi 17ca6e5a3e Updated to the new color attachment method 3 years ago
nyx 7755e16a4b Changed wgpu version in example
Removed shaderc from example
3 years ago
sotrh e6029cb259
Merge pull request #171 from lukeKonopka/fix-readme-typo
Fix typo in README.md
3 years ago
Ben Hansen 2dd8d7bf82 fixes #176 3 years ago
Ben Hansen de57cdf4ea fixes #173 3 years ago
Ben Hansen 9baae51fe3 finishing up 0.8 3 years ago
Ben Hansen 63e0d9c6b8 intermediate tutorials migrated 3 years ago
Ben Hansen b160f28d48 tutorials 6-9 migrated 3 years ago
Ben Hansen f1c7536668 migrated tutorial 4 and 5 3 years ago
Ben Hansen 68b563b8e6 updated tutorial3-pipeline docs 3 years ago
Ben Hansen 8e6e6e7092 fixed #174 3 years ago
Łukasz Konopka 10760a73de Fix typo 3 years ago
Ben Hansen d2889cd50a beginner tutorial code now uses wgsl 3 years ago
Ben Hansen f3ebc0e666 fixed panic in tutorials 3 and 4 3 years ago
Ben Hansen 46eb5eb139 code now builds on 0.8 3 years ago
sotrh d8a861b515
Merge branch 'master' into cgmath-0.18 3 years ago
sotrh c5c3e907c7
Merge pull request #163 from segalll/master
Fix typos in beginner window tutorial
3 years ago
Hiroaki Yutani 24f565ee58 Update winit to 0.24 3 years ago
Henry Segal 18dff8f171
Fix typos 3 years ago
Hiroaki Yutani 1bb374c89e docs 3 years ago
Hiroaki Yutani 7293547212 Bump cgmath version 3 years ago
Sergii Penner 597c37b8b1
Fix typo
Fixed typo 'upc close' -> 'up close'.
3 years ago
sotrh 674312d3b2
Merge pull request #147 from yutannihilation/tutorial1-use
use winit:🪟:Window
3 years ago
sotrh d5ab40ade1
Merge pull request #151 from vigdail/patch-1
Tutorial 9. Texture::load() return type fix
3 years ago
sotrh 220366adcc
Merge pull request #152 from pop/edits/misc-typos
Misc typo and code fixes.
3 years ago
Chris 0926c253e5
Rename OUTPUT_ATTACHMENT to RENDER_ATTACHMENT 3 years ago
Elijah C. Voigt bcc79b5e41 Misc typo and code fixes.
009: impl Vertex for ModelVertex was using the vertex_attr_array! macro.
009: RenderPipelineDescriptor has a `vertex` member not  `vertex_state`.
009: to_rgba() should be to_rgba8(), to_rgba is set to be deprecated.

010: BindGroupDescriptor has a `entries` member not `bindings`.
010: Remove re-declaration of mat4 model_matrix;
010: Prefer hard-coded [#.#; #] instead of `Foo::fn().into()`.
010: Clarify which shader frag/vert file changes are in.

011: Change Model::load return type to Result<Self>.
011: TextureDescriptor does not have a array_layer_count member.

012: Add .into() to calls in Uniforms::update_view_proj().
012: Dereference delta variable in State::input().

013: Add more changed lines to Model::load to avoid compiler yelling.
3 years ago
vigdail 9f254cc794
Tutorial 9. Texture::load() return type fix 3 years ago
Hiroaki Yutani f0f1ec0e12 Fix module path 3 years ago
Hiroaki Yutani e5bea6e29f Move comment 3 years ago
sotrh 80ecaade61
Merge pull request #146 from yutannihilation/doc/link-to-github
Add a link to GitHub repo
3 years ago
sotrh 195945083b
Merge pull request #149 from yutannihilation/patch-7
Minor fixes on tutorial 6
3 years ago
Hiroaki Yutani b09302f23e Remove & from set_vertex_buffer() 3 years ago
Hiroaki Yutani 0da538190a
Minor fixes on tutorial 6 3 years ago
Hiroaki Yutani a13c43f6b2 use winit::Window; 3 years ago
Hiroaki Yutani 79ecc1643b Add a link to GitHub repo 3 years ago
Raphael Van Hoffelen 1699be127d
Fixed spelling mistake 3 years ago
Ben Hansen 37a7e12cea updated patron list 3 years ago
Ben Hansen 3e1f1a8a8a Merge branch '0.7' 3 years ago
Ben Hansen e833a50c44 updated news md 3 years ago
Linden Krouse f6f6fa29c4
Fixed some spelling and grammar errors 3 years ago
sotrh a86a0cc7dc
Merge pull request #138 from dakizu/patch-1
Fix a broken link
3 years ago
[redacted] 3bd1534016
Fix a broken link
Existing link wasn't pointing to normals page.
3 years ago
Ben Hansen 5029aa196d migrated gifs showcase 3 years ago
Ben Hansen fb73851e5d migrated imgui showcase 3 years ago
Ben Hansen 87d0a97404 migrated intermediate tutorial docs 3 years ago
Ben Hansen e3592e2809 migrated docs for tutorials 4-9 3 years ago
Ben Hansen e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 3 years ago
Ben Hansen 361bee3c58 migrated windowless docs 3 years ago
Ben Hansen b4dd4654e4 intermediate tutorial code migrated 3 years ago
Ben Hansen 3901419a58 beginner tutorial code done 3 years ago
Ben Hansen 91879d405b code up to 7 migrated 3 years ago
Ben Hansen 47fd27669e migrated tutorials 1 and 2 3 years ago
Aleksey Halahan ad0515bdfb
Fix a type in the code example
Was missing the `slice` method
3 years ago
Ben Hansen 19c99e28d0 Merge branch 'master' of https://github.com/sotrh/learn-wgpu 3 years ago
Ben Hansen 1f9024691c shaderc 1.6 -> 0.7 3 years ago
Fisher Darling 5547528cf0
Fixed small typo in beginner/tutorial8-depth 3 years ago
Renato Caldas d44f216b14 Fix inconsistent position of the 'size' field in the beginner tutorials 3 years ago
Renato Caldas e61b939889 Remove stray field 'colour' from State 3 years ago
Renato Caldas 67635a5fad Fix typos in beginner tutorial 4 3 years ago
Ben Hansen a6883b59f9 Added patrons to the intro page 3 years ago
paq 6302a2372c
Fix syntax error in tutorial 6 4 years ago
DevJac 468807e8a3 Link to Cargo Book for more info about build scripts 4 years ago
Ben Hansen 733683cf6f removed camera research 4 years ago
Ben Hansen 99fd6523d7 travis build failing 4 years ago
Ben Hansen 8608460977 fixed #129 4 years ago
Ben Hansen c92d2a528e modified camera tutorial to use `DeviceEvent` 4 years ago
sotrh 7b1a81ccfe
Merge pull request #123 from kanerogers/patch-4
Clarify changes to State struct
4 years ago
sotrh 68e06ea4a4
Merge pull request #125 from dannyfritz/patch-1
Texture: BufferInitDescriptor fields.
4 years ago
Ben Hansen f1d35b6b38 finished cleanup 4 years ago
sotrh 039d840698
Merge pull request #124 from kanerogers/patch-6
Cleanup Textures tutorial
4 years ago
Danny Fritz 4cd5491921
Texture: BufferInitDescriptor fields. 4 years ago
Kane Rogers 21e455c668
Update to reflect sorth's suggestions
- Add `diffuse_texture` to `texture::Texture` in `State` at the end of the tutorial.
4 years ago
Ben Hansen 28c8637d73 finished compute exampute example 4 years ago
Kane Rogers 6b2a8c8dcc
Additional changes to Texture
1. The fields ` diffuse_texture`, `diffuse_texture_view` and `diffuse_sampler` are not used on `State` in this tutorial and should therefore not be added, so as not to unnecessarily confuse the reader.
2. The `anyhow` crate must be added to `Cargo.toml` in order for `texture.rs` to work.
4 years ago
Kane Rogers fbe39fc0e4
Cleanup Textures tutorial
I have broadly made two sets of changes:

1. General prose cleanup (eg. correcting minor syntax errors, rewriting some sentences to make them more clear)
2. Code consistency (eg. not making use of the `texture` wrapper until it is defined at the end of the page.
4 years ago
Ben Hansen e462670b72 migrated docs for tutorial7 4 years ago
Ben Hansen c770e1860f fixed code for #116 4 years ago
Kane Rogers b93a57d9b3
Clarify changes to State struct
Not a big one, just being explicit where the fields need to be updated on the struct.
4 years ago
Ben Hansen aa8f9f269d fixed #119 4 years ago
Ben Hansen 0620f0b05d migrated ModelVertex to use bytemuck derive 4 years ago
Ben Hansen 9a221fb2c4 migrated Light struct to use bytemuck derive 4 years ago
Ben Hansen 0ccb80e7e3 updated Uniforms struct to use bytemuck derive 4 years ago
Ben Hansen 5abaa16ac1 updated bytemuck to use derive as per #109 4 years ago
Ben Hansen 8ad575f750 finished #121 4 years ago
sotrh fd8c3e169d
Merge pull request #107 from benmkw/master
add info about alignment
4 years ago
Benedikt Mandelkow f5ba33713a add code example 4 years ago
Samuel Hurel 936082fafc Minor changes 4 years ago
sotrh 31a6262d75 Rename Readme.md to README.md 4 years ago
Benedikt Mandelkow 14dec8ba59 add info about alignment 4 years ago
sotrh 8f5215963a
Merge pull request #113 from pudnax/link_typo
Fixed the link to zip file
4 years ago
sotrh 3e83cf5a17
Merge pull request #112 from pudnax/winit_0.23
Migration to winit 0.23
4 years ago
Alex Komissarov ae3f7e8e95
Wrong light_bind_group_layout 4 years ago
Alex Komissarov c42e07bb7d
Clean probably missed stuff from '0.5 -> 0.6' 4 years ago
Alex Komissarov e5a5d6d66c
Fixed the link to zip file 4 years ago
Alex Komissarov d38731e472
Migration to winit 0.23 4 years ago
Ben Hansen fb5c9fc8fe fixes #111 4 years ago
Ben Hansen 6f29ba738b fixes #108 4 years ago
sotrh 8e9ff17565
Merge pull request #103 from wozniak/patch-1
set_vertex_buffer doesn't expect a reference
4 years ago
sotrh 6fab63e809
Merge pull request #104 from kejor/tutorial5docs-missing-parameter-snippet
Add missing parameter on tutorial5 snippet
4 years ago
Kalle Huttunen 3396259576
Add note about the GLSL used 4 years ago
kejor 5572e36e0c
Adding missing parameter on tutorial5 snippet
Added parameter `&queue` to `texture::Texture::from_bytes` call.
4 years ago
matthew 64fa3c9017
more 4 years ago
matthew 6cb43e8e61
set_vertex_buffer doesn't expect a reference 4 years ago
Alan Kemp 909c2debfc DeviceExt is now in a util namespace 4 years ago
Rubick 5a45a9c5ce
Merge branch 'master' into master 4 years ago
sotrh 4377ca102f
Merge pull request #98 from kanerogers/patch-1
Add `use` statement for DeviceExt
4 years ago
sotrh c0e8174dbf
Merge pull request #99 from fraserli/master
Fix typos
4 years ago
sotrh cb06098bec
Merge pull request #100 from kunalarya/patch-1
Minor copy editing of instancing docs.
4 years ago
Alec Goncharow 836b38d827
Update README.md
minor typo fix, streen -> screen
4 years ago
Alec Goncharow 944a568eb9
Update README.md
655828f88f changed the name of the `vulkan` feature to `vulkan-portability`
4 years ago
kunalarya a7083eecee
Minor copy editing of instancing docs.
Thanks for writing this tutorial! It's been a very helpful resource! I made some very minor edits -- feel free to reject any of them :)
4 years ago
Fraser Li 071f4b3f4f
Fix typos 4 years ago
Kane Rogers 5f89b92651
Add `use` statement for DeviceExt
I tripped over this one while following along with the tutorial. I added a little link to extension traits as I'm aware the audience of this tutorial may not be familiar with them.

Please feel free to rewrite/throw out any of my copy as you see fit.  😄 

Thanks again for this phenomenal tutorial!
4 years ago
Rubick 97df7faea8
fix typo 4 years ago
okaneco 468a425f78 Fix typos and update Beginner tutorials 2, 3
Tutorial 2 - Swapchain
  - Update `get_next_texture` to `get_current_frame`
  - Fix typos
Tutorial 3 - Pipeline
  - Add updated fields to `PipelineLayout` creation
Fix typos in News
4 years ago
Ben Hansen 73aed6c6bd rustfmt 4 years ago
Ben Hansen 786ce2410c fixed config and readded missing tutorial11 4 years ago
Ben Hansen ad5cd8e12f fixed #93 4 years ago
Ben Hansen 9b02850917 started threading 4 years ago
Ben Hansen 09fe8b9f91 added link to gifs showcase in tutorial5 4 years ago
Ben Hansen 4acb2d60c1 missed ops in tutorial2 4 years ago
Ben Hansen 9d15abf7ee fixing issues in tutorial3 for #92 4 years ago
Ben Hansen 2ab37aa9b7 some fixes 4 years ago
sotrh 03c8ce0a59
Merge pull request #91 from lberrymage/iter-once
Use std::iter::once for encoder queue submission
4 years ago
Ben Hansen f947ac79c8 fixed `read_buffer` typo 4 years ago
lberrymage fa418b2c60
Use std::iter::once for encoder queue submission
`std::iter::once` is more idiomatic for passing single-value iterators
than Some(value), and it's even intended for this case according to the
docs.
4 years ago
Ben Hansen e065fd7e33 updated news for 0.6 4 years ago
Ben Hansen cb5cfd074f fixed #86 4 years ago
Ben Hansen 801ee97038 migrated gifs 4 years ago
Ben Hansen 8d5de2d87c migrated tutorial11 4 years ago
Ben Hansen 03b1b64e55 migrated tutorial10 4 years ago
Ben Hansen a92dd32106 forgot a note about OUT_DIR 4 years ago
Ben Hansen 02921f7ffa migrated tutorial9 4 years ago
Ben Hansen 7274f37019 migrated tutorial8 4 years ago
Ben Hansen f1d43b9829 env_logger::init() 4 years ago
Ben Hansen 5e4324d0ce env_logger 4 years ago
Ben Hansen 1e8a6ba0a5 migrated tutorial7 4 years ago
Ben Hansen 75d92c523c migrated tutorial6 4 years ago
Ben Hansen 6827fb5572 migrated tutorial5 4 years ago
Ben Hansen e9e325459d using anyhow instead of failure 4 years ago
Ben Hansen 3f2607e663 forgot some stuff 4 years ago
Ben Hansen 0fbb71efb6 migrated tutorial4 4 years ago
Ben Hansen 08fa40dccc changed tutorial3 to use build script and migrated doc to 0.6 4 years ago
Ben Hansen 50a6a7d7e6 migrated tutorial2 4 years ago
Ben Hansen b3b43dbef2 migrated tutorial1 docs 4 years ago
Ben Hansen 3ef4df6fd9 migrated tutorial1 and removed instancing examples 4 years ago
sotrh 5d1935aec4
Merge branch 'master' into vertex-use-macro 4 years ago
sotrh dc847b99e2
Merge pull request #83 from rofrol/patch-5
frame data our -> frame data out
4 years ago
sotrh 9779c46b0b
Merge pull request #82 from rofrol/patch-4
break our your -> break out your
4 years ago
Roman Frołow f066e57d1a
its Pong after all -> it's Pong after all 4 years ago
Roman Frołow 377d6c9489
frame data our -> frame data out 4 years ago
Roman Frołow 1fb960ffb1
break our your -> break out your
Probably this was intended.
4 years ago
Ben Hansen 3c4f8f9134 Merge branch 'master' into rework-instancing 4 years ago
Ben Hansen 540b03aded Merge branch 'master' of github.com:sotrh/learn-wgpu 4 years ago
Ben Hansen a5c6b5ad48 finished instancing rewrite 4 years ago
Ben Hansen 0cd250d5fe started instancing examples 4 years ago
Hiroaki Yutani 0b4580ee19 Add a comment about TextureFormat for PNG 4 years ago
Alex Butler 429fd81286
Minor typo fix "now" -> "know" 4 years ago
Alex Butler a03a57bb60
Fix some easy-win lints 4 years ago
Alex Butler 541f83f228
Remove `mut queue` usage in t5 4 years ago
Jan Prudil 36b44e4799
Don't use std::mem for one invocation 4 years ago
Jan Prudil 1dd4d8c694
Use vertex_attr_array 4 years ago
Jan Prudil e4138f7973
Use vertex_attr_array 4 years ago
Jan Prudil 086c1b23c8
Use vertex_attr_array 4 years ago
Jan Prudil 4fd19939cf
Use vertex_attr_array 4 years ago
sotrh 5e9555d4f3
Merge pull request #72 from Gryff/master
Suggestion: Indent event loop code snippet in swapchain tutorial
4 years ago
sotrh 89fb9f8cf5
Merge pull request #73 from khionu/patch-1
Remove misleading section
4 years ago
Shane Handley e20bbd7bbf Fix typo related to trait for external type. 4 years ago
Khionu Sybiern 139d2cc04d
Update README.md
Keep `set_vertex_buffer` function to not mislead readers into replacing it instead of supplement it
4 years ago
Gryff 6ba776c01e Fix typo 4 years ago
Gryff bf20825d0d Indent code snippet for event loop in swap chain tutorial 4 years ago
Ben Hansen 252ca8b909 forgot github link, etc 4 years ago
Ben Hansen 0ae192f440 fixed missing screenshot 4 years ago
Ben Hansen d6d6995066 finished camera changes 4 years ago
Ben Hansen 69ec7ba20b Merge branch 'master' of github.com:sotrh/learn-wgpu 4 years ago
Ben Hansen 1a6194556e working on fps camera 4 years ago
Alex G Rice 19c8c4a1e3 Clarify what the wgpu-rs's vulkan feature does on Mac OS and other platforms.
Closes #62
4 years ago
Ben Hansen dfd96093e2 fixed #64 4 years ago
Ben Hansen 2ee06192ed fixed #65 4 years ago
Ben Hansen a1e5f474eb fixed #67 4 years ago
Ben Hansen 168f78224f Merge branch 'cleanup' 4 years ago
Toniman20 29191eb76d
Fixed typo in beginner tutorial textures. 4 years ago
Ben Hansen 1a850cc1b1 started performance research 4 years ago
sotrh 9159a09a41
Merge pull request #60 from cedric-h/patch-2
Add an explanation of what entry_point means
4 years ago
Cedric Hutchings 36363d73f4
Add an explanation of what entry_point means
... you have no idea how much trouble this caused me
4 years ago
Hiroaki Yutani c80c674dd5 Move the comment 4 years ago
Hiroaki Yutani 3d9edd9b3a
Add some explanations on tutorial11 4 years ago
sotrh 2eaf6a7ff0
Merge pull request #58 from yutannihilation/doc/add-description-about-img-to_rgba
Add a description about to_rgba()
4 years ago
Ben Hansen 4063cc49de fixed #46 4 years ago
Hiroaki Yutani 760ff67cd8 Add a description about to_rgba() 4 years ago
sotrh 856624f190
Merge pull request #53 from yutannihilation/patch-3
Fix a missing namespace and pub keyword in tutorial8
4 years ago
sotrh 6b90b5f7ae
Merge pull request #54 from yutannihilation/patch-4
Fix a broken link and a missing argument in tutorial9
4 years ago
sotrh ad767c90d6
Merge pull request #57 from yutannihilation/patch-5
Improve tutorial 10
4 years ago
Hiroaki Yutani 5e0ecd91cf
Improve tutorial 10 4 years ago
Hiroaki Yutani 55d47396a4
Fix a broken link and a missing argument in tutorial9 4 years ago
Hiroaki Yutani 2e1c9a0620
Fix a missing namespace and pub keyword in tutorial8 4 years ago
Hiroaki Yutani 08dc0ff221
Fix some typos in tutorial7-instancing 4 years ago
sotrh f163d92107
Merge pull request #49 from cedric-h/patch-1
grammar fixes
4 years ago
Ben Hansen 8461147ca0 fixed #44 fixed $48 4 years ago
Cedric Hutchings 500d84058b
Merge branch 'master' into patch-1 4 years ago
sotrh 5cdce79ffd
Merge pull request #47 from yutannihilation/patch-2
Fix a broken link
4 years ago
Cedric Hutchings 6d79a960de
grammar fixes
I acknowledge that some of these are purely subjective, but the improper `'s` irks me, heh.
4 years ago
Mark Hildreth bd84d92766 Fixed name of package 4 years ago
Hiroaki Yutani 6fd4bdeb4c
Fix a broken link 4 years ago
Mark Hildreth f61585f85b Some small fixes. 4 years ago
Ben Hansen 6ffa5c044c fixed #40 4 years ago
Ben Hansen 2be19f2070 updating to shaderc 4 years ago
Ben Hansen 6e369e99ee Merge branch 'master' into pong 4 years ago
Ben Hansen c6229a7ca6 finished pong 4 years ago
Ebrahim Byagowi 3555c713cb Use shaderc instead the deprecated glsl-to-spirv
I was getting lots of these errors,

glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/../Include/Common.h:99:
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:314:54: error: 'operator=' is a private member of 'glslang::TPoolAllocator'
    void setAllocator(TPoolAllocator* a) { allocator = *a; }
                                           ~~~~~~~~~ ^ ~~
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:244:21: note: declared private here
    TPoolAllocator& operator=(const TPoolAllocator&);  // don't allow assignment operator
                    ^

And had to replace the apparently now deprecated glsl-to-spirv with shaderc-rs in order to
see the tutorial and thought would be useful for others also.
4 years ago
Ben Hansen 0c3249e7f9 fixed centering and added bloops 4 years ago
sotrh 17a6af4067
Merge pull request #38 from artvinn/master
Fix some inconsistencies
4 years ago
sotrh dea850863e
Merge pull request #39 from CleanCut/tutorial1-2-improvements
Fixed some things I noticed while doing tutorial 1 and tutorial 2.
4 years ago
Ben Hansen 57ff442834 fixed #30 4 years ago
Ben Hansen 71d85d536f added warning in depth tutorial 4 years ago
Ben Hansen 67f163aaec fixed crash in later example code 4 years ago
Ben Hansen 87f065acdd got basic game working 4 years ago
Nathan Stocks e247decf46 Fixed some things I noticed while doing tutorial 1 and tutorial 2. 4 years ago
artvinn fdb525fa41 Fix some inconsistencies 4 years ago
Ben Hansen de7da878ab preparing normal mapping for deploy 4 years ago
sotrh 018c8a5ec2
Merge pull request #33 from sotrh/normal-mapping
Normal mapping
4 years ago
Ben Hansen 752533a706 finish normal mapping 4 years ago
Ben Hansen 387e17ba5f finished normal mapping tutorial 4 years ago
CJ Burkey de381c070f
very -> vary 4 years ago
Ben Hansen ec5339bd3b started normals tutorial 4 years ago
Ben Hansen 107d64a70e preparing for 0.5 deploy 4 years ago
Ben Hansen 6bd7d714e8 missed "y is down" in tutorial4 4 years ago
Ben Hansen 2fb06b49fb finishing up 4 years ago
Ben Hansen bbeacfa923 migrated windowless 4 years ago
Ben Hansen 032253fea9 cleaning up for 0.5 4 years ago
Ben Hansen 368021047a adjusted migration to tutorial9 4 years ago
Ben Hansen 2b8e97b6fa migrated tutorial8 4 years ago
Ben Hansen a7833f3c16 migrated tutorial7 4 years ago
Ben Hansen 66eeae019c migrated tutorial6 4 years ago
downtime 764f5405db updata wgpu 0.5 4 years ago
downtime 6d2d839411 Updated dependencies 4 years ago
Ben Hansen 1205f18443 migrated tutorial5 4 years ago
Ben Hansen 82048bcc31 migrated tutorial4 4 years ago
Ben Hansen 6b1cd8d893 Merge branch 'master' into 0.5 4 years ago
sotrh a58521d063
Merge pull request #24 from shika-blyat/patch-1
Fix static_tree instead of static-tree type
4 years ago
Ben Hansen baa9e2656a tutorial3 migrated 4 years ago
Ben Hansen f8738e4850 migrated tutorial2 4 years ago
Ben Hansen 4fb7d39bcf tutorial1 updated 4 years ago
Ben Hansen ab0513146d cleanup for lighting deploy 4 years ago