Created
March 14, 2021 05:41
-
-
Save anarsoul/7b28684d35d32b9728bffd69e73f952e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c | |
index 8d154d1998e..d2ee1100619 100644 | |
--- a/src/gallium/drivers/lima/lima_program.c | |
+++ b/src/gallium/drivers/lima/lima_program.c | |
@@ -368,6 +368,7 @@ lima_create_fs_state(struct pipe_context *pctx, | |
so->base.type = PIPE_SHADER_IR_NIR; | |
so->base.ir.nir = nir; | |
+#if 0 | |
/* Trigger initial compilation with default settings */ | |
struct lima_fs_key key = { | |
.shader_state = so, | |
@@ -377,6 +378,7 @@ lima_create_fs_state(struct pipe_context *pctx, | |
key.tex[i].swizzle[j] = j; | |
} | |
lima_get_compiled_fs(ctx, &key); | |
+#endif | |
return so; | |
} | |
@@ -568,11 +570,13 @@ lima_create_vs_state(struct pipe_context *pctx, | |
so->base.type = PIPE_SHADER_IR_NIR; | |
so->base.ir.nir = nir; | |
+#if 0 | |
/* Trigger initial compilation with default settings */ | |
struct lima_vs_key key = { | |
.shader_state = so, | |
}; | |
lima_get_compiled_vs(ctx, &key); | |
+#endif | |
return so; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment