From 6c5380021ff5c42f750e75c0880882b77476b8c4 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 1 Apr 2021 22:31:35 +0300 Subject: [PATCH] Fix extension declarations in GLSL output --- source/glsl/output.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/glsl/output.cpp b/source/glsl/output.cpp index 928b4250..b86cdd0a 100644 --- a/source/glsl/output.cpp +++ b/source/glsl/output.cpp @@ -33,15 +33,15 @@ const string &Formatter::apply(Stage &s) } if(s.required_features.arb_explicit_attrib_location) - append("#extension arb_explicit_attrib_location: require\n"); + append("#extension GL_ARB_explicit_attrib_location: require\n"); if(s.required_features.arb_gpu_shader5) - append("#extension arb_gpu_shader5: require\n"); + append("#extension GL_ARB_gpu_shader5: require\n"); if(s.required_features.arb_uniform_buffer_object) - append("#extension arb_uniform_buffer_object: require\n"); + append("#extension GL_ARB_uniform_buffer_object: require\n"); if(s.required_features.ext_gpu_shader4) - append("#extension ext_gpu_shader4: require\n"); + append("#extension GL_EXT_gpu_shader4: require\n"); if(s.required_features.ext_texture_array) - append("#extension ext_texture_array: require\n"); + append("#extension GL_EXT_texture_array: require\n"); formatted += '\n'; s.content.visit(*this); -- 2.45.2