Skip to content

Commit ebf223f

Browse files
Re-enable add_functions! test under shader validation (#522)
1 parent 76b8194 commit ebf223f

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

test/mtl/metal.jl

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -405,16 +405,13 @@ desc.url = NSFileURL("/tmp/foo")
405405

406406
pipeline_desc = MTLComputePipelineDescriptor()
407407
pipeline_desc.computeFunction = fun
408-
if !runtime_validation
409-
# XXX: for some reason, this crashes under the validator
410-
add_functions!(bin, pipeline_desc)
411-
412-
mktempdir() do dir
413-
path = joinpath(dir, "kernel.bin")
414-
write(path, bin)
415-
@test isfile(path)
416-
@test filesize(path) > 0
417-
end
408+
409+
add_functions!(bin, pipeline_desc)
410+
mktempdir() do dir
411+
path = joinpath(dir, "kernel.bin")
412+
write(path, bin)
413+
@test isfile(path)
414+
@test filesize(path) > 0
418415
end
419416

420417
end

0 commit comments

Comments
 (0)