summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_screen.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-22 02:55:27 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commit855ff47d365abfc0d97061f1084f68bcff961743 (patch)
treeaadd7eed4f690a3dc4b42f48a184940ed25c127b /src/gallium/drivers/iris/iris_screen.h
parented4ffb971585908e7bdd8ec1bfffbc6f7b06bd10 (diff)
iris: Enable precompiles
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.h')
-rw-r--r--src/gallium/drivers/iris/iris_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.h b/src/gallium/drivers/iris/iris_screen.h
index aa510efed18..8bf10996c3f 100644
--- a/src/gallium/drivers/iris/iris_screen.h
+++ b/src/gallium/drivers/iris/iris_screen.h
@@ -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;