From 887e0fdace63b80a9e42ef299381ca3eeee89aab Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Mon, 7 Nov 2022 18:05:40 +0800 Subject: [PATCH] aco: fixes error: 'uint' was not declared in aco_instruction_selection.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit uint is from pipe/p_compiler.h error message: ../../src/amd/compiler/aco_instruction_selection.cpp:11061:4: error: 'uint' was not declared in this scope; did you mean 'rint'? 11061 | uint en_mask = 1; Signed-off-by: Yonggang Luo Reviewed-by: Marek Olšák Part-of: --- src/amd/compiler/aco_instruction_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 86fe1585787..1d5185ec0e2 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -11063,7 +11063,7 @@ create_primitive_exports(isel_context *ctx, Temp prim_ch1) * bits 19..17: layer */ Temp ch2 = bld.copy(bld.def(v1), Operand::c32(0)); - uint en_mask = 1; + unsigned en_mask = 1; if (outinfo->writes_layer_per_primitive) { en_mask |= 2;