Re: [Mesa-dev] [PATCH 2/3] anv: error out of anv_init_wsi() if build platform-less

2016-05-29 Thread Jason Ekstrand
No, if we have no platforms, it should succeed at setting up all zero of them. On May 29, 2016 9:41 AM, "Emil Velikov" wrote: > From: Emil Velikov > > Strictly speaking one can build 'platform-less', thus we should error > out in that case. > > Signed-off-by: Emil Velikov > --- > Not 100% sure

[Mesa-dev] [PATCH 2/3] anv: error out of anv_init_wsi() if build platform-less

2016-05-29 Thread Emil Velikov
From: Emil Velikov Strictly speaking one can build 'platform-less', thus we should error out in that case. Signed-off-by: Emil Velikov --- Not 100% sure if this is the correct error. NO_PLATFORM or NOT_SUPPORTED_PLATFORM seems like a better choice yet is seems to be missing in the vulkan API. -