Take UAV type from resource not shader type, for correct size