iris: Enable precompiles

This commit is contained in:
Kenneth Graunke
2018-11-22 02:55:27 -08:00
parent ed4ffb9715
commit 855ff47d36
4 changed files with 157 additions and 27 deletions

View File

@@ -51,6 +51,9 @@ struct iris_screen {
/** Global program_string_id counter (see get_program_string_id()) */
unsigned program_id;
/** Precompile shaders at link time? (Can be disabled for debugging.) */
bool precompile;
unsigned subslice_total;
struct gen_device_info devinfo;