mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-19 21:25:37 +00:00
3555c713cb
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.
27 lines
510 B
TOML
27 lines
510 B
TOML
[package]
|
|
name = "tutorial9-models"
|
|
version = "0.1.0"
|
|
authors = ["Ben Hansen <bhbenjaminhansen@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
image = "0.23"
|
|
winit = "0.22"
|
|
shaderc = "0.6"
|
|
cgmath = "0.17"
|
|
failure = "0.1"
|
|
tobj = "1.0.0"
|
|
wgpu = "0.5.0"
|
|
futures = "0.3.4"
|
|
bytemuck = "1.2.0"
|
|
|
|
[[bin]]
|
|
name = "tutorial9-models"
|
|
path = "src/main.rs"
|
|
|
|
|
|
# [[bin]]
|
|
# name = "tutorial9-challenge"
|
|
# path = "src/challenge.rs" |