mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
freedreno/ir3: fix android build
Fixes: e5339fe4a4 ("Move compiler.h and imports.h/c from src/mesa/main into src/util")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4381>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4381>
This commit is contained in:
parent
ae7da1a017
commit
127fa5d00c
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
|||
#include "ir3_compiler.h"
|
||||
#include "compiler/nir/nir.h"
|
||||
#include "compiler/nir/nir_builder.h"
|
||||
#include "mesa/main/macros.h"
|
||||
#include "util/u_math.h"
|
||||
|
||||
static inline struct ir3_ubo_range
|
||||
get_ubo_load_range(nir_intrinsic_instr *instr)
|
||||
|
|
@ -53,7 +53,7 @@ gather_ubo_ranges(nir_shader *nir, nir_intrinsic_instr *instr,
|
|||
/* If this is an indirect on UBO 0, we'll still lower it back to
|
||||
* load_uniform. Set the range to cover all of UBO 0.
|
||||
*/
|
||||
state->range[0].end = align(nir->num_uniforms * 16, 16 * 4);
|
||||
state->range[0].end = ALIGN(nir->num_uniforms * 16, 16 * 4);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue