MSL: Remove stray allow_id_rewrite().

Unclear why it's there, and tests do not break when removed.
This commit is contained in:
Hans-Kristian Arntzen 2019-10-24 16:07:50 +02:00
parent 2767257adc
commit efc978177e

View File

@ -11343,7 +11343,6 @@ bool CompilerMSL::SampledImageScanner::handle(spv::Op opcode, const uint32_t *ar
uint32_t id = args[1];
compiler.set<SPIRExpression>(id, "", result_type, true);
compiler.ir.ids[id].set_allow_type_rewrite();
break;
}
case OpImageSampleExplicitLod: