intel: Move brw_prog_key_set_id from i965 to the compiler.

I want to use it in iris.

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Kenneth Graunke
2019-05-20 11:24:21 -07:00
parent b589c2547d
commit 419d9b21e1
4 changed files with 20 additions and 20 deletions

View File

@@ -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.
*