Open epilys opened 4 years ago
That may have to do with multisampling.
I believe I saw that before installing drivers for my card. Multisampling should probably be a CLI option.
I changed with_multisampling
to 0
, and I got
Error: CompilationError("0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 1.00 ES, and 3.00 ES\n")
0: failure::backtrace::internal::InternalBacktrace::new
at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.7/src/backtrace/internal.rs:46
1: failure::backtrace::Backtrace::new
at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.7/src/backtrace/mod.rs:121
2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from
at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.7/src/error/error_impl.rs:19
3: <failure::error::Error as core::convert::From<F>>::from
at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.7/src/error/mod.rs:36
4: valora::gpu::Gpu::with_window
at /tmp/valora/src/gpu.rs:195
So my laptop being old is the trigger:
% glxinfo|grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.3.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Debian 10. Running the code from the first page of the gitbook: