Cleanup: unused argument warning

This commit is contained in:
Campbell Barton 2022-04-20 08:53:04 +10:00
parent 75ccfa63d0
commit f8f8edbe1a
1 changed files with 1 additions and 0 deletions

View File

@ -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;