[Mesa-dev] [PATCH 13/22] r600g, radeonsi: consolidate get_compute_param

Michel Dänzer michel at daenzer.net
Wed Jan 22 19:37:35 PST 2014


On Mit, 2014-01-22 at 21:13 +0100, Marek Olšák wrote:
> 
> +	case CHIP_TAHITI: return "tahiti";
> +	case CHIP_PITCAIRN: return "pitcairn";
> +	case CHIP_VERDE: return "verde";
> +	case CHIP_OLAND: return "oland";
> +#if HAVE_LLVM <= 0x0303
> +	default: return "SI";

It might be good to print a warning for this default case, as it could
now also trigger for pre-SI GPUs in theory.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer



More information about the mesa-dev mailing list