[Mesa-dev] [PATCH 1/2] clover: Handle PIPE_SHADER_IR_NIR in switch
Francisco Jerez
currojerez at riseup.net
Sun May 15 00:43:31 UTC 2016
Jan Vesely <jan.vesely at rutgers.edu> writes:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
> src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
> index 96f6a48..e2cadda 100644
> --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
> +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
> @@ -893,8 +893,9 @@ clover::compile_program_llvm(const std::string &source,
> module m;
> // Build the clover::module
> switch (ir) {
> + case PIPE_SHADER_IR_NIR:
> case PIPE_SHADER_IR_TGSI:
> - //XXX: Handle TGSI
> + //XXX: Handle TGSI, NIR
Heh, I doubt that writing a NIR LLVM back-end would be particularly
rewarding or useful, but sure:
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> assert(0);
> m = module();
> break;
> --
> 2.5.5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160514/e4e20913/attachment.sig>
More information about the mesa-dev
mailing list