aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_compiler.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-05-20 11:24:21 -0700
committerKenneth Graunke <[email protected]>2019-05-21 15:05:38 -0700
commit419d9b21e14d67776ec3a47df110dcbb6566dc03 (patch)
tree7574a498b1eb850cc934d5e2c6d1d30ab2d6b532 /src/intel/compiler/brw_compiler.h
parentb589c2547d23c943a2550584aa2643ecbe587c42 (diff)
intel: Move brw_prog_key_set_id from i965 to the compiler.
I want to use it in iris. Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_compiler.h')
-rw-r--r--src/intel/compiler/brw_compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 8c6ae35636b..3c109c504b1 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -1230,6 +1230,9 @@ brw_prog_data_size(gl_shader_stage stage);
unsigned
brw_prog_key_size(gl_shader_stage stage);
+void
+brw_prog_key_set_id(union brw_any_prog_key *key, gl_shader_stage, unsigned id);
+
/**
* Compile a vertex shader.
*