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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-04-20 01:53:04 +0300
committerCampbell Barton <campbell@blender.org>2022-04-20 03:41:31 +0300
commitf8f8edbe1a624e3c06b5068435368d122f3b64e5 (patch)
tree39a36fa1aa9f1d791d9af079afaad5ae4eb64117 /source
parent75ccfa63d0d0c553f797275e7ee4e282562522fe (diff)
Cleanup: unused argument warning
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/intern/gpu_shader_create_info.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh
index 8635d261f5f..3d37da911c5 100644
--- a/source/blender/gpu/intern/gpu_shader_create_info.hh
+++ b/source/blender/gpu/intern/gpu_shader_create_info.hh
@@ -629,6 +629,7 @@ struct ShaderCreateInfo {
res.sampler.name = name;
/* Produces asan errors for the moment. */
// res.sampler.sampler = sampler;
+ UNUSED_VARS(sampler);
((freq == Frequency::PASS) ? pass_resources_ : batch_resources_).append(res);
interface_names_size_ += name.size() + 1;
return *(Self *)this;