Support gfx reftests

I wonder if we'll want to vary this number by test, but we can burn that bridge when we come to it.