ilo: switch to ilo states for SOL stage
[mesa.git] / src / gallium / drivers / ilo / shader / toy_compiler.c
index 73b03e62594617fe7ff932d573b3ee9d63e07a5c..71f6fa87dd9d9eee557ce49047a38ae8b9a295f2 100644 (file)
@@ -534,11 +534,11 @@ tc_init_inst_templ(struct toy_compiler *tc)
  * Initialize the toy compiler.
  */
 void
-toy_compiler_init(struct toy_compiler *tc, int gen)
+toy_compiler_init(struct toy_compiler *tc, const struct ilo_dev_info *dev)
 {
    memset(tc, 0, sizeof(*tc));
 
-   tc->gen = gen;
+   tc->dev = dev;
 
    tc_init_inst_templ(tc);