sotrh
220366adcc
Merge pull request #152 from pop/edits/misc-typos
...
Misc typo and code fixes.
2021-03-29 08:59:30 -06:00
Chris
0926c253e5
Rename OUTPUT_ATTACHMENT to RENDER_ATTACHMENT
2021-03-27 11:59:08 +01:00
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.
2021-03-26 09:46:37 -07:00
vigdail
9f254cc794
Tutorial 9. Texture::load() return type fix
2021-03-24 16:07:31 +00:00
Hiroaki Yutani
f0f1ec0e12
Fix module path
2021-03-22 08:19:24 +09:00
Hiroaki Yutani
e5bea6e29f
Move comment
2021-03-22 08:17:21 +09:00
sotrh
80ecaade61
Merge pull request #146 from yutannihilation/doc/link-to-github
...
Add a link to GitHub repo
2021-03-21 16:36:27 -06:00
sotrh
195945083b
Merge pull request #149 from yutannihilation/patch-7
...
Minor fixes on tutorial 6
2021-03-21 16:26:16 -06:00
Hiroaki Yutani
b09302f23e
Remove & from set_vertex_buffer()
2021-03-21 23:01:00 +09:00
Hiroaki Yutani
0da538190a
Minor fixes on tutorial 6
2021-03-21 19:06:48 +09:00
Hiroaki Yutani
a13c43f6b2
use winit::Window;
2021-03-20 22:45:14 +09:00
Hiroaki Yutani
79ecc1643b
Add a link to GitHub repo
2021-03-20 22:35:03 +09:00
Raphael Van Hoffelen
1699be127d
Fixed spelling mistake
2021-03-15 23:29:14 -04:00
Ben Hansen
37a7e12cea
updated patron list
2021-03-10 20:36:23 -07:00
Ben Hansen
3e1f1a8a8a
Merge branch '0.7'
2021-03-10 20:19:53 -07:00
Ben Hansen
e833a50c44
updated news md
2021-03-10 20:19:09 -07:00
Linden Krouse
f6f6fa29c4
Fixed some spelling and grammar errors
2021-03-08 17:28:27 -05:00
sotrh
a86a0cc7dc
Merge pull request #138 from dakizu/patch-1
...
Fix a broken link
2021-03-03 10:21:47 -07:00
[redacted]
3bd1534016
Fix a broken link
...
Existing link wasn't pointing to normals page.
2021-02-27 20:49:24 -08:00
Ben Hansen
5029aa196d
migrated gifs showcase
2021-02-23 21:04:42 -07:00
Ben Hansen
fb73851e5d
migrated imgui showcase
2021-02-22 10:20:00 -07:00
Ben Hansen
87d0a97404
migrated intermediate tutorial docs
2021-02-21 10:26:16 -07:00
Ben Hansen
e3592e2809
migrated docs for tutorials 4-9
2021-02-18 21:30:18 -07:00
Ben Hansen
e7318530d4
migrated docs for tutorials 1-3 and cargo fmt
2021-02-18 20:56:47 -07:00
Ben Hansen
361bee3c58
migrated windowless docs
2021-02-18 20:13:23 -07:00
Ben Hansen
b4dd4654e4
intermediate tutorial code migrated
2021-02-13 01:30:42 -07:00
Ben Hansen
3901419a58
beginner tutorial code done
2021-02-12 00:18:27 -07:00
Ben Hansen
91879d405b
code up to 7 migrated
2021-02-11 23:29:40 -07:00
Ben Hansen
47fd27669e
migrated tutorials 1 and 2
2021-02-07 12:17:22 -07:00
Aleksey Halahan
ad0515bdfb
Fix a type in the code example
...
Was missing the `slice` method
2021-01-29 00:02:16 +01:00
Ben Hansen
19c99e28d0
Merge branch 'master' of https://github.com/sotrh/learn-wgpu
2021-01-26 02:03:31 -07:00
Ben Hansen
1f9024691c
shaderc 1.6 -> 0.7
2021-01-26 02:02:50 -07:00
Fisher Darling
5547528cf0
Fixed small typo in beginner/tutorial8-depth
2021-01-21 19:14:01 +00:00
Renato Caldas
d44f216b14
Fix inconsistent position of the 'size' field in the beginner tutorials
2021-01-15 19:31:51 +00:00
Renato Caldas
e61b939889
Remove stray field 'colour' from State
2021-01-15 19:12:44 +00:00
Renato Caldas
67635a5fad
Fix typos in beginner tutorial 4
2021-01-15 18:42:34 +00:00
Ben Hansen
a6883b59f9
Added patrons to the intro page
2021-01-14 23:50:55 -07:00
paq
6302a2372c
Fix syntax error in tutorial 6
2021-01-03 15:58:12 +09:00
DevJac
468807e8a3
Link to Cargo Book for more info about build scripts
2020-12-31 19:22:54 -07:00
Ben Hansen
733683cf6f
removed camera research
2020-12-21 13:33:42 -07:00
Ben Hansen
99fd6523d7
travis build failing
2020-12-20 21:05:18 -07:00
Ben Hansen
8608460977
fixed #129
2020-12-12 15:53:42 -07:00
Ben Hansen
c92d2a528e
modified camera tutorial to use DeviceEvent
2020-11-25 16:51:22 -07:00
sotrh
7b1a81ccfe
Merge pull request #123 from kanerogers/patch-4
...
Clarify changes to State struct
2020-11-23 23:37:16 -07:00
sotrh
68e06ea4a4
Merge pull request #125 from dannyfritz/patch-1
...
Texture: BufferInitDescriptor fields.
2020-11-23 23:36:09 -07:00
Ben Hansen
f1d35b6b38
finished cleanup
2020-11-23 23:29:52 -07:00
sotrh
039d840698
Merge pull request #124 from kanerogers/patch-6
...
Cleanup Textures tutorial
2020-11-23 16:06:01 -07:00
Danny Fritz
4cd5491921
Texture: BufferInitDescriptor fields.
2020-11-22 08:43:15 -07:00
Kane Rogers
21e455c668
Update to reflect sorth's suggestions
...
- Add `diffuse_texture` to `texture::Texture` in `State` at the end of the tutorial.
2020-11-22 21:08:34 +11:00
Ben Hansen
28c8637d73
finished compute exampute example
2020-11-21 13:16:07 -07:00
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.
2020-11-20 19:44:10 +11:00
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.
2020-11-20 19:14:27 +11:00
Ben Hansen
e462670b72
migrated docs for tutorial7
2020-11-18 11:47:13 -07:00
Ben Hansen
c770e1860f
fixed code for #116
2020-11-18 10:48:28 -07:00
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.
2020-11-18 00:04:10 +11:00
Ben Hansen
aa8f9f269d
fixed #119
2020-11-14 20:07:40 -07:00
Ben Hansen
0620f0b05d
migrated ModelVertex to use bytemuck derive
2020-11-14 14:57:39 -07:00
Ben Hansen
9a221fb2c4
migrated Light struct to use bytemuck derive
2020-11-14 14:43:29 -07:00
Ben Hansen
0ccb80e7e3
updated Uniforms struct to use bytemuck derive
2020-11-12 19:28:53 -07:00
Ben Hansen
5abaa16ac1
updated bytemuck to use derive as per #109
2020-11-11 16:06:53 -07:00
Ben Hansen
8ad575f750
finished #121
2020-11-11 15:41:06 -07:00
sotrh
fd8c3e169d
Merge pull request #107 from benmkw/master
...
add info about alignment
2020-11-09 15:06:49 -07:00
Benedikt Mandelkow
f5ba33713a
add code example
2020-11-05 18:09:27 +01:00
Samuel Hurel
936082fafc
Minor changes
2020-10-31 12:34:24 +01:00
sotrh
31a6262d75
Rename Readme.md to README.md
2020-10-30 13:18:18 +01:00
Benedikt Mandelkow
14dec8ba59
add info about alignment
2020-10-30 13:18:18 +01:00
sotrh
8f5215963a
Merge pull request #113 from pudnax/link_typo
...
Fixed the link to zip file
2020-10-21 17:09:21 -06:00
sotrh
3e83cf5a17
Merge pull request #112 from pudnax/winit_0.23
...
Migration to winit 0.23
2020-10-21 17:08:44 -06:00
Alex Komissarov
ae3f7e8e95
Wrong light_bind_group_layout
2020-10-21 02:01:47 +05:00
Alex Komissarov
c42e07bb7d
Clean probably missed stuff from '0.5 -> 0.6'
2020-10-21 01:52:11 +05:00
Alex Komissarov
e5a5d6d66c
Fixed the link to zip file
2020-10-21 01:34:06 +05:00
Alex Komissarov
d38731e472
Migration to winit 0.23
2020-10-21 01:10:16 +05:00
Ben Hansen
fb5c9fc8fe
fixes #111
2020-10-19 15:05:28 -06:00
Ben Hansen
6f29ba738b
fixes #108
2020-10-17 14:51:41 -06:00
sotrh
8e9ff17565
Merge pull request #103 from wozniak/patch-1
...
set_vertex_buffer doesn't expect a reference
2020-10-09 15:11:12 -06:00
sotrh
6fab63e809
Merge pull request #104 from kejor/tutorial5docs-missing-parameter-snippet
...
Add missing parameter on tutorial5 snippet
2020-10-09 15:10:47 -06:00
Kalle Huttunen
3396259576
Add note about the GLSL used
2020-10-09 21:35:34 +03:00
kejor
5572e36e0c
Adding missing parameter on tutorial5 snippet
...
Added parameter `&queue` to `texture::Texture::from_bytes` call.
2020-10-08 20:33:02 -05:00
matthew
64fa3c9017
more
2020-10-08 20:15:01 -04:00
matthew
6cb43e8e61
set_vertex_buffer doesn't expect a reference
2020-10-08 20:04:56 -04:00
Alan Kemp
909c2debfc
DeviceExt is now in a util namespace
2020-10-08 22:20:10 +01:00
Rubick
5a45a9c5ce
Merge branch 'master' into master
2020-10-06 20:08:45 +08:00
sotrh
4377ca102f
Merge pull request #98 from kanerogers/patch-1
...
Add `use` statement for DeviceExt
2020-10-05 21:28:01 -06:00
sotrh
c0e8174dbf
Merge pull request #99 from fraserli/master
...
Fix typos
2020-10-05 21:02:34 -06:00
sotrh
cb06098bec
Merge pull request #100 from kunalarya/patch-1
...
Minor copy editing of instancing docs.
2020-10-05 21:01:00 -06:00
Alec Goncharow
836b38d827
Update README.md
...
minor typo fix, streen -> screen
2020-10-04 23:43:46 -04:00
Alec Goncharow
944a568eb9
Update README.md
...
655828f88f
changed the name of the `vulkan` feature to `vulkan-portability`
2020-10-04 23:42:31 -04:00
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 :)
2020-10-04 11:42:05 -07:00
Fraser Li
071f4b3f4f
Fix typos
2020-10-04 20:25:46 +11:00
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!
2020-10-04 19:30:16 +11:00
Rubick
97df7faea8
fix typo
2020-09-30 16:31:37 +08:00
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
2020-09-28 12:17:49 -04:00
Ben Hansen
73aed6c6bd
rustfmt
2020-09-27 23:24:43 -06:00
Ben Hansen
786ce2410c
fixed config and readded missing tutorial11
2020-09-27 23:12:21 -06:00
Ben Hansen
ad5cd8e12f
fixed #93
2020-09-27 22:52:35 -06:00
Ben Hansen
9b02850917
started threading
2020-09-25 21:27:38 -06:00
Ben Hansen
09fe8b9f91
added link to gifs showcase in tutorial5
2020-09-25 15:57:57 -06:00
Ben Hansen
4acb2d60c1
missed ops in tutorial2
2020-09-23 15:56:34 -06:00
Ben Hansen
9d15abf7ee
fixing issues in tutorial3 for #92
2020-09-23 15:38:01 -06:00
Ben Hansen
2ab37aa9b7
some fixes
2020-09-22 16:00:46 -06:00
sotrh
03c8ce0a59
Merge pull request #91 from lberrymage/iter-once
...
Use std::iter::once for encoder queue submission
2020-09-21 15:09:31 -06:00
Ben Hansen
f947ac79c8
fixed read_buffer
typo
2020-09-21 12:16:12 -06:00
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.
2020-09-19 22:17:36 -08:00
Ben Hansen
e065fd7e33
updated news for 0.6
2020-09-19 16:04:10 -06:00
Ben Hansen
cb5cfd074f
fixed #86
2020-09-19 15:49:05 -06:00
Ben Hansen
801ee97038
migrated gifs
2020-09-16 00:25:40 -06:00
Ben Hansen
8d5de2d87c
migrated tutorial11
2020-09-14 12:53:22 -06:00
Ben Hansen
03b1b64e55
migrated tutorial10
2020-09-11 16:19:26 -06:00
Ben Hansen
a92dd32106
forgot a note about OUT_DIR
2020-09-11 16:11:11 -06:00
Ben Hansen
02921f7ffa
migrated tutorial9
2020-09-11 16:05:09 -06:00
Ben Hansen
7274f37019
migrated tutorial8
2020-09-10 20:50:51 -06:00
Ben Hansen
f1d43b9829
env_logger::init()
2020-09-09 20:48:08 -06:00
Ben Hansen
5e4324d0ce
env_logger
2020-09-08 00:42:52 -06:00
Ben Hansen
1e8a6ba0a5
migrated tutorial7
2020-09-05 16:45:52 -06:00
Ben Hansen
75d92c523c
migrated tutorial6
2020-09-05 15:54:07 -06:00
Ben Hansen
6827fb5572
migrated tutorial5
2020-09-05 13:46:15 -06:00
Ben Hansen
e9e325459d
using anyhow instead of failure
2020-08-29 15:22:06 -06:00
Ben Hansen
3f2607e663
forgot some stuff
2020-08-28 19:59:04 -06:00
Ben Hansen
0fbb71efb6
migrated tutorial4
2020-08-28 19:47:16 -06:00
Ben Hansen
08fa40dccc
changed tutorial3 to use build script and migrated doc to 0.6
2020-08-24 13:34:37 -06:00
Ben Hansen
50a6a7d7e6
migrated tutorial2
2020-08-22 14:53:07 -06:00
Ben Hansen
b3b43dbef2
migrated tutorial1 docs
2020-08-20 13:27:51 -06:00
Ben Hansen
3ef4df6fd9
migrated tutorial1 and removed instancing examples
2020-08-20 13:26:44 -06:00
sotrh
5d1935aec4
Merge branch 'master' into vertex-use-macro
2020-08-20 13:06:54 -06:00
sotrh
dc847b99e2
Merge pull request #83 from rofrol/patch-5
...
frame data our -> frame data out
2020-08-20 13:02:31 -06:00
sotrh
9779c46b0b
Merge pull request #82 from rofrol/patch-4
...
break our your -> break out your
2020-08-20 13:00:55 -06:00
Roman Frołow
f066e57d1a
its Pong after all -> it's Pong after all
2020-08-18 17:07:57 +02:00
Roman Frołow
377d6c9489
frame data our -> frame data out
2020-08-18 17:02:55 +02:00
Roman Frołow
1fb960ffb1
break our your -> break out your
...
Probably this was intended.
2020-08-18 17:01:16 +02:00
Ben Hansen
3c4f8f9134
Merge branch 'master' into rework-instancing
2020-08-12 16:10:01 -06:00
Ben Hansen
540b03aded
Merge branch 'master' of github.com:sotrh/learn-wgpu
2020-08-12 16:09:04 -06:00
Ben Hansen
a5c6b5ad48
finished instancing rewrite
2020-08-12 16:04:50 -06:00
Ben Hansen
0cd250d5fe
started instancing examples
2020-08-11 13:17:14 -06:00
Hiroaki Yutani
0b4580ee19
Add a comment about TextureFormat for PNG
2020-08-09 13:02:21 +09:00
Alex Butler
429fd81286
Minor typo fix "now" -> "know"
2020-08-03 16:52:17 +01:00
Alex Butler
a03a57bb60
Fix some easy-win lints
2020-08-03 11:44:46 +01:00
Alex Butler
541f83f228
Remove mut queue
usage in t5
2020-08-03 11:38:25 +01:00
Jan Prudil
36b44e4799
Don't use std::mem for one invocation
2020-07-30 17:36:10 +02:00
Jan Prudil
1dd4d8c694
Use vertex_attr_array
2020-07-30 17:28:46 +02:00
Jan Prudil
e4138f7973
Use vertex_attr_array
2020-07-30 17:23:33 +02:00
Jan Prudil
086c1b23c8
Use vertex_attr_array
2020-07-30 17:13:26 +02:00
Jan Prudil
4fd19939cf
Use vertex_attr_array
2020-07-30 17:10:50 +02:00
sotrh
5e9555d4f3
Merge pull request #72 from Gryff/master
...
Suggestion: Indent event loop code snippet in swapchain tutorial
2020-07-28 12:11:31 -06:00
sotrh
89fb9f8cf5
Merge pull request #73 from khionu/patch-1
...
Remove misleading section
2020-07-28 12:10:45 -06:00
Shane Handley
e20bbd7bbf
Fix typo related to trait for external type.
2020-07-28 23:26:31 +10:00
Khionu Sybiern
139d2cc04d
Update README.md
...
Keep `set_vertex_buffer` function to not mislead readers into replacing it instead of supplement it
2020-07-26 22:50:44 -05:00
Gryff
6ba776c01e
Fix typo
2020-07-26 21:49:30 +01:00
Gryff
bf20825d0d
Indent code snippet for event loop in swap chain tutorial
2020-07-26 21:48:37 +01:00
Ben Hansen
252ca8b909
forgot github link, etc
2020-07-24 15:47:04 -06:00
Ben Hansen
0ae192f440
fixed missing screenshot
2020-07-24 15:36:50 -06:00
Ben Hansen
d6d6995066
finished camera changes
2020-07-24 13:24:45 -06:00
Ben Hansen
69ec7ba20b
Merge branch 'master' of github.com:sotrh/learn-wgpu
2020-07-21 19:35:21 -06:00
Ben Hansen
1a6194556e
working on fps camera
2020-07-21 19:35:10 -06:00
Alex G Rice
19c8c4a1e3
Clarify what the wgpu-rs's vulkan feature does on Mac OS and other platforms.
...
Closes #62
2020-07-06 17:26:38 -06:00
Ben Hansen
dfd96093e2
fixed #64
2020-07-01 18:51:09 -06:00
Ben Hansen
2ee06192ed
fixed #65
2020-07-01 18:23:06 -06:00
Ben Hansen
a1e5f474eb
fixed #67
2020-07-01 18:17:31 -06:00
Ben Hansen
168f78224f
Merge branch 'cleanup'
2020-07-01 18:02:00 -06:00
Toniman20
29191eb76d
Fixed typo in beginner tutorial textures.
2020-06-27 15:17:31 +02:00
Ben Hansen
1a850cc1b1
started performance research
2020-06-21 00:49:43 -06:00
sotrh
9159a09a41
Merge pull request #60 from cedric-h/patch-2
...
Add an explanation of what entry_point means
2020-06-18 13:30:39 -06:00
Cedric Hutchings
36363d73f4
Add an explanation of what entry_point means
...
... you have no idea how much trouble this caused me
2020-06-16 10:00:44 -04:00
Hiroaki Yutani
c80c674dd5
Move the comment
2020-06-16 09:26:27 +09:00
Hiroaki Yutani
3d9edd9b3a
Add some explanations on tutorial11
2020-06-14 17:19:32 +09:00
sotrh
2eaf6a7ff0
Merge pull request #58 from yutannihilation/doc/add-description-about-img-to_rgba
...
Add a description about to_rgba()
2020-06-09 21:20:10 -06:00
Ben Hansen
4063cc49de
fixed #46
2020-06-09 21:18:45 -06:00
Hiroaki Yutani
760ff67cd8
Add a description about to_rgba()
2020-06-09 22:19:43 +09:00
sotrh
856624f190
Merge pull request #53 from yutannihilation/patch-3
...
Fix a missing namespace and pub keyword in tutorial8
2020-06-07 12:50:18 -06:00
sotrh
6b90b5f7ae
Merge pull request #54 from yutannihilation/patch-4
...
Fix a broken link and a missing argument in tutorial9
2020-06-07 12:49:49 -06:00
sotrh
ad767c90d6
Merge pull request #57 from yutannihilation/patch-5
...
Improve tutorial 10
2020-06-07 12:49:09 -06:00
Hiroaki Yutani
5e0ecd91cf
Improve tutorial 10
2020-06-08 00:15:30 +09:00
Hiroaki Yutani
55d47396a4
Fix a broken link and a missing argument in tutorial9
2020-06-07 17:07:43 +09:00
Hiroaki Yutani
2e1c9a0620
Fix a missing namespace and pub keyword in tutorial8
2020-06-07 14:48:20 +09:00
Hiroaki Yutani
08dc0ff221
Fix some typos in tutorial7-instancing
2020-06-07 12:59:28 +09:00
sotrh
f163d92107
Merge pull request #49 from cedric-h/patch-1
...
grammar fixes
2020-06-02 17:10:30 -06:00
Ben Hansen
8461147ca0
fixed #44 fixed $48
2020-06-01 13:01:12 -06:00
Cedric Hutchings
500d84058b
Merge branch 'master' into patch-1
2020-06-01 14:55:57 -04:00
sotrh
5cdce79ffd
Merge pull request #47 from yutannihilation/patch-2
...
Fix a broken link
2020-06-01 12:53:48 -06:00
Cedric Hutchings
6d79a960de
grammar fixes
...
I acknowledge that some of these are purely subjective, but the improper `'s` irks me, heh.
2020-06-01 14:42:52 -04:00
Mark Hildreth
bd84d92766
Fixed name of package
2020-05-31 11:24:54 -04:00
Hiroaki Yutani
6fd4bdeb4c
Fix a broken link
2020-05-31 22:30:20 +09:00
Mark Hildreth
f61585f85b
Some small fixes.
2020-05-30 00:08:52 -04:00
Ben Hansen
6ffa5c044c
fixed #40
2020-05-28 13:57:07 -06:00
Ben Hansen
2be19f2070
updating to shaderc
2020-05-28 13:47:05 -06:00
Ben Hansen
6e369e99ee
Merge branch 'master' into pong
2020-05-28 13:24:15 -06:00
Ben Hansen
c6229a7ca6
finished pong
2020-05-28 13:22:06 -06:00
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.
2020-05-27 00:05:41 +04:30
Ben Hansen
0c3249e7f9
fixed centering and added bloops
2020-05-21 14:07:02 -06:00
sotrh
17a6af4067
Merge pull request #38 from artvinn/master
...
Fix some inconsistencies
2020-05-19 15:03:16 -06:00
sotrh
dea850863e
Merge pull request #39 from CleanCut/tutorial1-2-improvements
...
Fixed some things I noticed while doing tutorial 1 and tutorial 2.
2020-05-19 15:01:59 -06:00
Ben Hansen
57ff442834
fixed #30
2020-05-19 11:51:47 -06:00
Ben Hansen
71d85d536f
added warning in depth tutorial
2020-05-19 11:47:59 -06:00
Ben Hansen
67f163aaec
fixed crash in later example code
2020-05-19 11:46:04 -06:00
Ben Hansen
87f065acdd
got basic game working
2020-05-14 15:03:58 -06:00
Nathan Stocks
e247decf46
Fixed some things I noticed while doing tutorial 1 and tutorial 2.
2020-05-12 22:45:23 -06:00
artvinn
fdb525fa41
Fix some inconsistencies
2020-05-11 19:24:44 +03:00
Ben Hansen
de7da878ab
preparing normal mapping for deploy
2020-05-04 13:08:10 -06:00
sotrh
018c8a5ec2
Merge pull request #33 from sotrh/normal-mapping
...
Normal mapping
2020-05-04 13:04:37 -06:00
Ben Hansen
752533a706
finish normal mapping
2020-05-04 13:03:39 -06:00
Ben Hansen
387e17ba5f
finished normal mapping tutorial
2020-05-03 22:45:42 -06:00