Update spirv-tools to v2021.4 (#4862)
This commit is contained in:
@@ -26,9 +26,10 @@ namespace fuzz {
|
||||
FuzzerPassConstructComposites::FuzzerPassConstructComposites(
|
||||
opt::IRContext* ir_context, TransformationContext* transformation_context,
|
||||
FuzzerContext* fuzzer_context,
|
||||
protobufs::TransformationSequence* transformations)
|
||||
protobufs::TransformationSequence* transformations,
|
||||
bool ignore_inapplicable_transformations)
|
||||
: FuzzerPass(ir_context, transformation_context, fuzzer_context,
|
||||
transformations) {}
|
||||
transformations, ignore_inapplicable_transformations) {}
|
||||
|
||||
void FuzzerPassConstructComposites::Apply() {
|
||||
// Gather up the ids of all composite types, but skip block-/buffer
|
||||
@@ -61,7 +62,7 @@ void FuzzerPassConstructComposites::Apply() {
|
||||
return GetTransformationContext()->GetFactManager()->IdIsIrrelevant(
|
||||
inst->result_id()) ||
|
||||
fuzzerutil::CanMakeSynonymOf(ir_context,
|
||||
*GetTransformationContext(), inst);
|
||||
*GetTransformationContext(), *inst);
|
||||
});
|
||||
|
||||
ForEachInstructionWithInstructionDescriptor(
|
||||
|
||||
Reference in New Issue
Block a user