diff options
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.c | 3 | ||||
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 339035f40d2..5af053f7cd3 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -27,7 +27,6 @@ #include "main/mtypes.h" #include "compiler/glsl/glsl_to_nir.h" #include "compiler/nir_types.h" -#include "util/imports.h" #include "compiler/nir/nir_builder.h" #include "disassemble.h" @@ -206,7 +205,7 @@ bi_emit_st_vary(bi_context *ctx, nir_intrinsic_instr *instr) { 0 }, { 0 }, { 1 }, { 2} }, - .store_channels = nr, + .store_channels = nr, }; for (unsigned i = 0; i < nr; ++i) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 1dc021a2fb0..905344bc6ac 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -33,7 +33,6 @@ #include "main/mtypes.h" #include "compiler/glsl/glsl_to_nir.h" #include "compiler/nir_types.h" -#include "util/imports.h" #include "compiler/nir/nir_builder.h" #include "util/half_float.h" #include "util/u_math.h" @@ -1136,7 +1135,7 @@ emit_global( { /* TODO: types */ - midgard_instruction ins; + midgard_instruction ins; if (is_read) ins = m_ld_int4(srcdest, 0); @@ -1640,7 +1639,7 @@ emit_intrinsic(compiler_context *ctx, nir_intrinsic_instr *instr) case nir_intrinsic_get_buffer_size: emit_sysval_read(ctx, &instr->instr, 1, 8); break; - + case nir_intrinsic_load_viewport_scale: case nir_intrinsic_load_viewport_offset: case nir_intrinsic_load_num_work_groups: |