[Mesa-dev] [PATCH 2/2] radv: enable lowering of nir_op_bitfield_extract

Connor Abbott cwabbott0 at gmail.com
Tue Dec 5 19:24:55 UTC 2017


Same comment as the previous patch.

On Tue, Dec 5, 2017 at 12:50 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> This instruction should also be lowered correctly.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/amd/vulkan/radv_shader.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
> index 0b19d23fa2..044bcd0641 100644
> --- a/src/amd/vulkan/radv_shader.c
> +++ b/src/amd/vulkan/radv_shader.c
> @@ -67,6 +67,7 @@ static const struct nir_shader_compiler_options nir_options = {
>         .lower_extract_word = true,
>         .lower_ffma = true,
>         .lower_bitfield_insert = true,
> +       .lower_bitfield_extract = true,
>         .max_unroll_iterations = 32
>  };
>
> --
> 2.15.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list