summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-04-04 15:55:25 -0400
committerRob Clark <[email protected]>2017-05-04 13:48:06 -0400
commit5f7e55582eb7d4e2c791493a0d79b0d2b26c6b51 (patch)
tree1faf5922dfa63f5de70571659e25b3ee2e145a00 /src/mesa/state_tracker/st_program.h
parent53aa109ba2fd63e319012b8224099d0019243e63 (diff)
mesa/st: compute support for glsl_to_nir
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index 70664d1d46a..92dfe2545f0 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -312,6 +312,9 @@ struct st_compute_program
struct glsl_to_tgsi_visitor* glsl_to_tgsi;
uint64_t affected_states; /**< ST_NEW_* flags to mark dirty when binding */
+ /* used when bypassing glsl_to_tgsi: */
+ struct gl_shader_program *shader_program;
+
struct st_basic_variant *variants;
/** SHA1 hash of linked tgsi shader program, used for on-disk cache */