Fix a bug where the wrong effect would be asked for compute shaders dimensions.