Skip to content

Commit

Permalink
Lower GLSL version to 420 with required extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
MESLewis committed Nov 10, 2021
1 parent 0a7ae65 commit 5950bb3
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#version 430
#version 420 core

#extension GL_ARB_shader_storage_buffer_object : require
#extension GL_ARB_compute_shader : require

#define DUMMY_INDEX 10000000
#define DUMMY_DISTANCE -1000000
Expand All @@ -10,7 +13,7 @@
#define GLOBAL_DISPERSE 3

// Note that there exist hardware limits -
// Look these up for your GPU via https://vulkan.gpuinfo.org/
// Look these up for your GPU via https://opengl.gpuinfo.org/
//
// sizeof(local_value[LOCAL_SIZE_X]) : Must be <= maxComputeSharedMemorySize
// LOCAL_SIZE_X/2 : Must be <= maxComputeWorkGroupInvocations
Expand Down

0 comments on commit 5950bb3

Please sign in to comment.