gallium/radeon: add basic code for setting shader return values