mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 09:40:08 +01:00
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:
parent
72cf2b540c
commit
887e0fdace
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue