1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

As GLSLang seems to be all or nothing, added our own defines

This commit is contained in:
Bastiaan Olij
2021-03-31 21:31:27 +11:00
parent a6c989bc1b
commit e93c9fc4ed
4 changed files with 40 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ void main() {
VERSION_DEFINES
#if defined(GL_KHR_shader_subgroup_ballot) && defined(GL_KHR_shader_subgroup_arithmetic) && defined(GL_KHR_shader_subgroup_vote)
#if defined(has_GL_KHR_shader_subgroup_ballot) && defined(has_GL_KHR_shader_subgroup_arithmetic) && defined(has_GL_KHR_shader_subgroup_vote)
#extension GL_KHR_shader_subgroup_ballot : enable
#extension GL_KHR_shader_subgroup_arithmetic : enable