[Mesa-dev] [PATCH v2 1/3] ac: add support for more types with struct/raw LLVM intrinsics

Marek Olšák maraeo at gmail.com
Mon Apr 15 21:07:12 UTC 2019


On Mon, Apr 15, 2019 at 12:40 PM Samuel Pitoiset <samuel.pitoiset at gmail.com>
wrote:

> LLVM 9+ now supports 8-bit and 16-bit types.
>
> v2: - rebase on master (without the vec3 change)
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/amd/common/ac_llvm_build.c | 46 +++++++++++++++++++---------------
>  1 file changed, 26 insertions(+), 20 deletions(-)
>
> diff --git a/src/amd/common/ac_llvm_build.c
> b/src/amd/common/ac_llvm_build.c
> index 8f40ddda0b5..92dd4104592 100644
> --- a/src/amd/common/ac_llvm_build.c
> +++ b/src/amd/common/ac_llvm_build.c
> @@ -1135,6 +1135,7 @@ ac_build_llvm8_buffer_store_common(struct
> ac_llvm_context *ctx,
>                                    LLVMValueRef voffset,
>                                    LLVMValueRef soffset,
>                                    unsigned num_channels,
> +                                  LLVMTypeRef base_type,
>

Can this be called return_channel_type?

Thanks,
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190415/c259ecb4/attachment.html>


More information about the mesa-dev mailing list