From 682f8522246e030fbbdea7391dce107754c485d3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 3 Jan 2022 03:01:59 +0000 Subject: CTAN sync 202201030301 --- graphics/asymptote/shaders.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'graphics/asymptote/shaders.h') diff --git a/graphics/asymptote/shaders.h b/graphics/asymptote/shaders.h index 9c0a946dc4..226832a38d 100644 --- a/graphics/asymptote/shaders.h +++ b/graphics/asymptote/shaders.h @@ -24,14 +24,12 @@ typedef std::pair ShaderfileModePair; GLuint compileAndLinkShader( std::vector const& shaders, - std::vector const& defineflags, bool compute=false); - -GLuint createShaders(const std::string& src, int shaderType, - std::string const& filename, bool compute=false); + std::vector const& defineflags, bool ssbo=true, + bool compute=false); GLuint createShaderFile(std::string file, int shaderType, std::vector const& constflags, - bool compute=false); + bool ssbo, bool compute); enum attrib {positionAttrib=0,normalAttrib,materialAttrib,colorAttrib, widthAttrib}; -- cgit v1.2.3