[Mesa-dev] [PATCH 2/4] spirv: add support for SPV_AMD_shader_trinary_minmax

Ian Romanick idr at freedesktop.org
Thu Mar 8 22:24:25 UTC 2018


On 03/08/2018 02:23 PM, Ilia Mirkin wrote:
> On Thu, Mar 8, 2018 at 5:22 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> On Thu, Mar 8, 2018 at 5:14 PM, Daniel Schürmann
>> <daniel.schuermann at campus.tu-berlin.de> wrote:
>>> From: Dave Airlie <airlied at redhat.com>
>>>
>>> Signed-off-by: Dave Airlie <airlied at redhat.com>
>>> ---
>>>  src/compiler/shader_info.h        |  1 +
>>>  src/compiler/spirv/spirv_to_nir.c |  3 +++
>>>  src/compiler/spirv/vtn_amd.c      | 52 +++++++++++++++++++++++++++++++++++++++
>>>  src/compiler/spirv/vtn_private.h  |  2 ++
>>>  4 files changed, 58 insertions(+)
>>>
>>> diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
>>> index b1e200070f..01a3060352 100644
>>> --- a/src/compiler/shader_info.h
>>> +++ b/src/compiler/shader_info.h
>>> @@ -51,6 +51,7 @@ struct spirv_supported_capabilities {
>>>     bool subgroup_quad;
>>>     bool subgroup_shuffle;
>>>     bool subgroup_vote;
>>> +   bool AMD_shader_trinary_minmax;
> 
> Oh, and all the others are without the AMD/EXT/whatever prefix... not
> sure what people want the convention to be. But so far it should just
> be "shader_trinary_minmax".

I would think that trinary_minmax should be sufficient.


More information about the mesa-dev mailing list