Source

Branch

1/ @BoganBits

@NOTimothyLottes

Could a shader compiler not do this? i.e. detect such inefficient code, and “re-vectorise” it, so to speak i.e. have each shader instance do 2 at once, interleaved

2/ @NOTimothyLottes

@BoganBits

This is something to be done at the dispatch level, not something a compiler knows about