summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_nir.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-10-18 13:02:15 -0400
committerMarek Olšák <[email protected]>2019-10-23 21:12:52 -0400
commit28199aeee5254d195b63a71c290a365da4496f75 (patch)
tree240055f5e25aa5c80218a6a4d967c692c5b62d27 /src/mesa/state_tracker/st_nir.h
parenteaffdad10820661172aa8808cc20c00bc928809e (diff)
st/mesa: assign driver locations for VS inputs for NIR before caching
fix up edge flags in the NIR pass, because st/mesa doesn't touch the inputs after caching Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_nir.h')
-rw-r--r--src/mesa/state_tracker/st_nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_nir.h b/src/mesa/state_tracker/st_nir.h
index a46422413d9..21358419aa9 100644
--- a/src/mesa/state_tracker/st_nir.h
+++ b/src/mesa/state_tracker/st_nir.h
@@ -51,6 +51,7 @@ bool
st_link_nir(struct gl_context *ctx,
struct gl_shader_program *shader_program);
+void st_nir_assign_vs_in_locations(struct nir_shader *nir);
void st_nir_assign_varying_locations(struct st_context *st,
struct nir_shader *nir);