Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_shader_private.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh
index 65720e457d8..8bd1115c731 100644
--- a/source/blender/gpu/intern/gpu_shader_private.hh
+++ b/source/blender/gpu/intern/gpu_shader_private.hh
@@ -53,15 +53,15 @@ class Shader {
virtual void geometry_shader_from_glsl(MutableSpan<const char *> sources) = 0;
virtual void fragment_shader_from_glsl(MutableSpan<const char *> sources) = 0;
virtual void compute_shader_from_glsl(MutableSpan<const char *> sources) = 0;
- virtual bool finalize(void) = 0;
+ virtual bool finalize() = 0;
virtual void transform_feedback_names_set(Span<const char *> name_list,
const eGPUShaderTFBType geom_type) = 0;
virtual bool transform_feedback_enable(GPUVertBuf *) = 0;
- virtual void transform_feedback_disable(void) = 0;
+ virtual void transform_feedback_disable() = 0;
- virtual void bind(void) = 0;
- virtual void unbind(void) = 0;
+ virtual void bind() = 0;
+ virtual void unbind() = 0;
virtual void uniform_float(int location, int comp_len, int array_size, const float *data) = 0;
virtual void uniform_int(int location, int comp_len, int array_size, const int *data) = 0;
@@ -69,9 +69,9 @@ class Shader {
virtual void vertformat_from_shader(GPUVertFormat *) const = 0;
/* DEPRECATED: Kept only because of BGL API. */
- virtual int program_handle_get(void) const = 0;
+ virtual int program_handle_get() const = 0;
- inline const char *const name_get(void) const
+ inline const char *const name_get() const
{
return name;
};
@@ -137,4 +137,4 @@ class GPULogParser {
} // namespace blender
/* XXX do not use it. Special hack to use OCIO with batch API. */
-GPUShader *immGetShader(void);
+GPUShader *immGetShader();