| author | |
| committer | |
| log | 6754fc8af277e65827ae531ca4d114df0576398c |
| tree | 9c09a79f7d30b75c1c8f7b55dcc99b2c879aebcd |
| parent | 14d5da916447f10bb812c3c6a199ab4ab76f61ec |
2 files changed, 2 insertions(+), 4 deletions(-)
src/link/SpirV/prune_unused.zig+1-3| ... | ... | @@ -92,9 +92,7 @@ pub fn run(parser: *BinaryModule.Parser, binary: *BinaryModule) !void { |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | // mark operands of alive function contents |
| 95 | if (!canPrune(inst.opcode)) { | |
| 96 | try markAlive(parser, binary.*, inst, &alive, &id_to_index, &code_offsets, &id_offset_buf); | |
| 97 | } | |
| 95 | try markAlive(parser, binary.*, inst, &alive, &id_to_index, &code_offsets, &id_offset_buf); | |
| 98 | 96 | } |
| 99 | 97 | |
| 100 | 98 | // rewrite |
test/cases/spirv_mergable_pointers.zig+1-1| ... | ... | @@ -14,4 +14,4 @@ export fn a() void { |
| 14 | 14 | // output_mode=Obj |
| 15 | 15 | // backend=selfhosted |
| 16 | 16 | // target=spirv64-vulkan |
| 17 | // emit_bin=false | |
| 17 | // emit_bin=true |