Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d9aca5c14b80
Choose a base ref
...
head repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2afc795c3f87
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Apr 24, 2021

  1. Updated submodules

    azonenberg committed Apr 24, 2021
    Copy the full SHA
    c5af685 View commit details
  2. Updated shaders to use GLSL version 4.2.0 + extensions rather than 4.…

    …3.0, allowing us to run on some OpenGL 4.2 implementations such as Mesa on Ivy Bridge integrated graphics. See #212.
    azonenberg committed Apr 24, 2021
    Copy the full SHA
    2afc795 View commit details
Showing with 12 additions and 3 deletions.
  1. +1 −1 lib
  2. +2 −0 src/glscopeclient/WaveformArea.cpp
  3. +5 −1 src/glscopeclient/shaders/waveform-compute-head-noint64.glsl
  4. +4 −1 src/glscopeclient/shaders/waveform-compute-head.glsl
2 changes: 1 addition & 1 deletion lib
2 changes: 2 additions & 0 deletions src/glscopeclient/WaveformArea.cpp
Original file line number Diff line number Diff line change
@@ -530,10 +530,12 @@ void WaveformArea::on_realize()
!GLEW_EXT_framebuffer_object ||
!GLEW_ARB_vertex_array_object ||
!GLEW_ARB_shader_storage_buffer_object ||
!GLEW_ARB_arrays_of_arrays ||
!GLEW_ARB_compute_shader)
{
string err =
"Your graphics card or driver does not appear to support one or more of the following required extensions:\n"
"* GL_ARB_arrays_of_arrays\n"
"* GL_ARB_compute_shader\n"
"* GL_ARB_shader_storage_buffer_object\n"
"* GL_ARB_vertex_array_object\n"
6 changes: 5 additions & 1 deletion src/glscopeclient/shaders/waveform-compute-head-noint64.glsl
Original file line number Diff line number Diff line change
@@ -32,7 +32,11 @@
@brief Waveform rendering shader for without GL_ARB_gpu_shader_int64 support
*/

#version 430
#version 420
#extension GL_ARB_compute_shader : require
#extension GL_ARB_gpu_shader_int64 : require
#extension GL_ARB_arrays_of_arrays : require
#extension GL_ARB_shader_storage_buffer_object : require

layout(std430, binding=1) buffer waveform_x
{
5 changes: 4 additions & 1 deletion src/glscopeclient/shaders/waveform-compute-head.glsl
Original file line number Diff line number Diff line change
@@ -32,8 +32,11 @@
@brief Waveform rendering shader for analog waveforms with GL_ARB_gpu_shader_int64 support
*/

#version 450
#version 420
#extension GL_ARB_compute_shader : require
#extension GL_ARB_gpu_shader_int64 : require
#extension GL_ARB_arrays_of_arrays : require
#extension GL_ARB_shader_storage_buffer_object : require

layout(std430, binding=1) buffer waveform_x
{