This commit is contained in:
Kelebek1 2021-02-15 05:26:28 +00:00
parent fb54c38631
commit 9d8f793969
2 changed files with 3 additions and 3 deletions

View file

@ -1849,7 +1849,7 @@ private:
const Id coords = GetCoordinates(operation, Type::Float);
spv::ImageOperandsMask mask = spv::ImageOperandsMask::MaskNone;
std::vector<Id> operands{};
std::vector<Id> operands;
Id texture{};
if (!meta.aoffi.empty()) {
@ -1938,7 +1938,7 @@ private:
const Id coords = GetCoordinates(operation, Type::Int);
spv::ImageOperandsMask mask = spv::ImageOperandsMask::MaskNone;
std::vector<Id> operands{};
std::vector<Id> operands;
Id fetch;
if (meta.lod && !meta.sampler.is_buffer) {