Reviewed-by: Pierre Moreau <[email protected]>

On 2019-05-12 — 15:56, Karol Herbst wrote:
> Signed-off-by: Karol Herbst <[email protected]>
> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp 
> b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> index 7e59b83e8fc..cce9357cec7 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> @@ -1341,7 +1341,7 @@ bool Converter::assignSlots() {
>     }
>  
>     info->numSysVals = 0;
> -   for (uint8_t i = 0; i < 64; ++i) {
> +   for (uint8_t i = 0; i < SYSTEM_VALUE_MAX; ++i) {
>        if (!(nir->info.system_values_read & 1ull << i))
>           continue;
>  
> -- 
> 2.21.0
> 
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to