diff options
author | Rob Clark <[email protected]> | 2019-03-07 15:32:11 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-03-07 15:33:20 -0500 |
commit | 45271702ec9b69f8e420940e4584e4b162188ccb (patch) | |
tree | c99cc824865eebf81c41892267ab90e37655031f /src | |
parent | d53b1b621587bbdbc90f12eadf504888ab023b58 (diff) |
freedreno: fix ir3_cmdline build
Fixes: 7530d4abfcf glsl/freedreno/panfrost: pass gl_context to the standalone compiler
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_cmdline.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/meson.build | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c index a8120578283..2da52df4141 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c @@ -51,6 +51,8 @@ #include "pipe/p_context.h" +#include "main/mtypes.h" + static void dump_info(struct ir3_shader_variant *so, const char *str) { uint32_t *bin; diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index c0f3ff45e9c..fb196daea5f 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -214,6 +214,7 @@ files_libfreedreno = files( ) freedreno_includes = [ + inc_mesa, inc_mapi, inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_freedreno, include_directories('ir3'), ] |