diff options
author | Eric Anholt <[email protected]> | 2016-05-17 13:04:20 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-08-22 12:11:08 -0700 |
commit | 47e3cc7557144ea62cab65c86f0241ec53784d71 (patch) | |
tree | 8a17500969578611a1e0491e358c6dd6394781c9 /src/gallium/drivers/vc4/vc4_screen.h | |
parent | d08f09c24e68c048f79500abe7f89e94960b55d2 (diff) |
vc4: Tell state_tracker that we would prefer NIR.
Before this series, the code generation path was:
GLSL IR -> TGSI -> NIR -> NIR clone -> QIR -> QPU
Now it's (generally)
GLSL IR -> NIR -> NIR clone -> QIR -> QPU
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h index 1bbede25422..36fe1c74e95 100644 --- a/src/gallium/drivers/vc4/vc4_screen.h +++ b/src/gallium/drivers/vc4/vc4_screen.h @@ -100,6 +100,10 @@ struct vc4_bo * vc4_screen_bo_from_handle(struct pipe_screen *pscreen, struct winsys_handle *whandle); +const void * +vc4_screen_get_compiler_options(struct pipe_screen *pscreen, + enum pipe_shader_ir ir, unsigned shader); + extern uint32_t vc4_debug; void |