summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-09-14 12:57:32 -0700
committerDylan Baker <[email protected]>2020-04-21 11:09:04 -0700
commit8e3696137f2cb7b4f5a3824f26186ecbb06f9282 (patch)
tree4494df8d138aaf2bab2feafa832f68e9fdf9bfb1 /src/panfrost/midgard
parent289f02d1d5990e052e21eb250f6d40b47d6eb12f (diff)
remove final imports.h and imports.c bits
This moves the fi_types to a new mesa_private.h and removes the imports.c file. The vast majority of this patch is just removing pound includes of imports.h and fixing up the recursive includes. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.c5
1 files changed, 2 insertions, 3 deletions
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: