aco: fixes error: 'uint' was not declared in aco_instruction_selection.cpp

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 <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19676>
This commit is contained in:
Yonggang Luo 2022-11-07 18:05:40 +08:00 committed by Marge Bot
parent 72cf2b540c
commit 887e0fdace

View file

@ -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;