spirv: enable SpvCapabilityFloat64 only to supported platforms
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 4 Jan 2017 08:35:36 +0000 (09:35 +0100)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 9 Jan 2017 09:44:07 +0000 (10:44 +0100)
commit88c8121ec9e591fee53bdd416247997eef47b40f
treedda65f6ce3d628c391b4e87ec9b2438b82e4ea26
parentc2acf97fcc9b32eaa9778771282758e5652a8ad4
spirv: enable SpvCapabilityFloat64 only to supported platforms

v2 (Jason):
- Use nir_spirv_supported_extensions to check if the feature is enabled.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/nir_spirv.h
src/compiler/spirv/spirv_to_nir.c