[Mesa-dev] [PATCH v2 08/22] include/pipe: Define SPIRV as an IR
Jan Vesely
jan.vesely at rutgers.edu
Tue Jan 23 19:07:25 UTC 2018
On Tue, 2018-01-23 at 01:33 +0100, Pierre Moreau wrote:
> Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
> ---
> src/gallium/include/pipe/p_defines.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
> index b34e7a8570..082d4c4d87 100644
> --- a/src/gallium/include/pipe/p_defines.h
> +++ b/src/gallium/include/pipe/p_defines.h
> @@ -896,6 +896,7 @@ enum pipe_shader_ir
> PIPE_SHADER_IR_LLVM,
> PIPE_SHADER_IR_NATIVE,
> PIPE_SHADER_IR_NIR,
> + PIPE_SHADER_IR_SPIRV
Why is this needed/useful? presumably the pipe driver will convert
SPIRV to NIR or LLVM anyway, why not convert it in clover and pass one
of the already existing IRs ?
Jan
> };
>
> /**
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180123/843c8cf5/attachment-0001.sig>
More information about the mesa-dev
mailing list