Skip to content

Instantly share code, notes, and snippets.

@MacTuitui
Created May 13, 2019 08:45
Show Gist options
  • Select an option

  • Save MacTuitui/9ce02049b5574cebb5fe09133f995a02 to your computer and use it in GitHub Desktop.

Select an option

Save MacTuitui/9ce02049b5574cebb5fe09133f995a02 to your computer and use it in GitHub Desktop.
vk_compute_shader compile
error[E0433]: failed to resolve: use of undeclared type or module `vulkano`
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ use of undeclared type or module `vulkano`
error[E0433]: failed to resolve: could not find `vulkano` in `{{root}}`
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ could not find `vulkano` in `{{root}}`
error[E0433]: failed to resolve: use of undeclared type or module `ShaderStages`
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ use of undeclared type or module `ShaderStages`
error[E0433]: failed to resolve: use of undeclared type or module `DescriptorDescTy`
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ use of undeclared type or module `DescriptorDescTy`
error[E0422]: cannot find struct, variant or union type `ShaderStages` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0412]: cannot find type `ShaderStages` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0405]: cannot find trait `PipelineLayoutDesc` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0412]: cannot find type `DescriptorDesc` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0422]: cannot find struct, variant or union type `DescriptorDesc` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0422]: cannot find struct, variant or union type `DescriptorBufferDesc` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0412]: cannot find type `PipelineLayoutDescPcRange` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0422]: cannot find struct, variant or union type `PipelineLayoutDescPcRange` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0405]: cannot find trait `SpecConstsTrait` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error[E0412]: cannot find type `SpecializationMapEntry` in this scope
--> src/main.rs:180:5
|
180 | / nannou::vk::shaders::shader! {
181 | | ty: "compute",
182 | | src: "
183 | | #version 450
... |
199 | | }"
200 | | }
| |_____^ not found in this scope
error: aborting due to 14 previous errors
Some errors occurred: E0405, E0412, E0422, E0433.
For more information about an error, try `rustc --explain E0405`.
error: Could not compile `test`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment