This repository has been archived by the owner on Oct 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
khskarl
approved these changes
Apr 23, 2019
khskarl
reviewed
Apr 23, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[INFO][gfx_device_gl::shade] Uniform[0] = 'camera_position' F32 Vector(3)
[INFO][gfx_device_gl::shade] Uniform[1] = 'line_width' F32 Single
[INFO][gfx_device_gl::shade] Attrib[0] = "normal" F32 Vector(3)
[INFO][gfx_device_gl::shade] Attrib[1] = "color" F32 Vector(4)
[INFO][gfx_device_gl::shade] Attrib[2] = "position" F32 Vector(3)
[INFO][gfx_device_gl::shade] Block[0] = 'VertexArgs' of size 192
[INFO][gfx_device_gl::shade] Element at 0 = 'proj' F32 Matrix(ColumnMajor, 4, 4)
[INFO][gfx_device_gl::shade] Element at 64 = 'view' F32 Matrix(ColumnMajor, 4, 4)
[INFO][gfx_device_gl::shade] Element at 128 = 'model' F32 Matrix(ColumnMajor, 4, 4)
[DEBUG][gfx_device_gl::shade] Program 7 reflection: ProgramInfo { vertex_attributes: [AttributeVar { name: "normal", slot: 0, base_type: F32, container: Vector(3) }, AttributeVar { name: "color", slot: 1, base_type: F32, container: Vector(4) }, AttributeVar { name: "position", slot: 2, base_type: F32, container: Vector(3) }], globals: [ConstVar { name: "camera_position", location: 0, count: 1, base_type: F32, container: Vector(3) }, ConstVar { name: "line_width", location: 1, count: 1, base_type: F32, container: Single }], constant_buffers: [ConstantBufferVar { name: "VertexArgs", slot: 0, size: 192, usage: VERTEX | GEOMETRY, elements: [ConstVar { name: "proj", location: 0, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }, ConstVar { name: "view", location: 64, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }, ConstVar { name: "model", location: 128, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }] }], textures: [], unordereds: [], samplers: [], outputs: [], output_depth: false, knows_outputs: false }
[DEBUG][amethyst_renderer::pipe::effect] Creating raw constant buffers
[INFO][gfx_device_gl::factory] Created buffer 3
[DEBUG][amethyst_renderer::pipe::effect] Set global uniforms
[DEBUG][amethyst_renderer::pipe::effect] Process Color/Depth/Blend outputs
[DEBUG][amethyst_renderer::pipe::effect] Finished building effect
[INFO][gfx_device_gl::shade] Compiled shader 8
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Pipeline(Program(Vertex(CompilationFailed("ERROR: 0:1: \'\' : version \'130\' is not supported\nERROR: 0:2: \'\' : #version required and missing.\n"))))', src/libcore/result.rs:1009:5
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::_print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: <amethyst_imgui::DrawUi as amethyst_renderer::pipe::pass::Pass>::compile
10: <amethyst_renderer::pipe::pass::CompiledPass<P>>::compile
11: <hetseq::list::List<(H, T)> as hetseq::functor::Functor<F>>::fmap
12: <amethyst_renderer::pipe::stage::StageBuilder<Q>>::build
13: <amethyst_renderer::pipe::pipe::PipelineBuilder<Q> as amethyst_renderer::pipe::pipe::PipelineBuild>::build
14: <amethyst_renderer::system::RenderSystem<P>>::build
15: <amethyst_renderer::bundle::RenderBundle<'c, B, P> as amethyst_core::bundle::SystemBundle<'a, 'b>>::build
16: evolution_island::main
17: std::rt::lang_start::{{closure}}
18: std::panicking::try::do_call
19: __rust_maybe_catch_panic
20: std::rt::lang_start_internal
21: main
I won't be merging it yet as I can't compile it on my machine.
Amethyst-imgui seems to have a shader that doesn't get along with macOS
I would investigate it but I don't have much time available right now, so maybe this weekend.
jaynus
added a commit
to amethyst/amethyst-imgui
that referenced
this pull request
Apr 25, 2019
jaynus
added a commit
to amethyst/amethyst-imgui
that referenced
this pull request
Apr 25, 2019
…nt adding/removing
Open
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, I was asked if I want to take a crack at #16 and this is it.