Lines Matching defs:shader
63 /* Shader compiler options the shader cache should be aware of: */
72 /* Shader compiler options (with no effect on the shader cache): */
73 {"checkir", DBG(CHECK_IR), "Enable additional sanity checks on shader IR"},
75 {"nooptvariant", DBG(NO_OPT_VARIANT), "Disable compiling optimized shader variants."},
82 {"cache_stats", DBG(CACHE_STATS), "Print shader cache statistics."},
130 {"testvmfaultshader", DBG(TEST_VMFAULT_SHADER), "Invoke a shader VM fault test and exit."},
469 int shader, i;
715 for (shader = start_shader; shader < SI_NUM_SHADERS; shader++) {
717 sctx->b.set_constant_buffer(&sctx->b, shader, i, false, &sctx->null_const_buf);
751 /* Set immutable fields of shader keys. */
762 sctx->shader.tcs.key.ge.opt.prefer_mono = 1;
765 sctx->shader.gs.key.ge.opt.prefer_mono = 1;
917 printf("live shader cache: hits = %u, misses = %u\n", sscreen->live_shader_cache.hits,
919 printf("memory shader cache: hits = %u, misses = %u\n", sscreen->num_memory_shader_cache_hits,
921 printf("disk shader cache: hits = %u, misses = %u\n", sscreen->num_disk_shader_cache_hits,
958 /* Free shader parts. */
1056 /* Don't use the cache if shader dumping is enabled. */
1087 static bool si_is_parallel_shader_compilation_finished(struct pipe_screen *screen, void *shader,
1090 struct si_shader_selector *sel = (struct si_shader_selector *)shader;
1169 /* Set these flags in debug_flags early, so that the shader cache takes
1211 /* Determine the number of shader compiler threads. */