Home
last modified time | relevance | path

Searched refs:inline_uniforms (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug_options.h1 OPT_BOOL(inline_uniforms, true, "Optimize shaders by replacing uniforms with literals")
Dsi_descriptors.c1267 bool *inline_uniforms, uint32_t **inlined_values) in si_get_inline_uniform_state() argument
1270 *inline_uniforms = key->ps.opt.inline_uniforms; in si_get_inline_uniform_state()
1273 *inline_uniforms = key->ge.opt.inline_uniforms; in si_get_inline_uniform_state()
1283 bool inline_uniforms; in si_invalidate_inlinable_uniforms() local
1285 …si_get_inline_uniform_state(&sctx->shaders[shader].key, shader, &inline_uniforms, &inlined_values); in si_invalidate_inlinable_uniforms()
1287 if (inline_uniforms) { in si_invalidate_inlinable_uniforms()
1289 sctx->shaders[shader].key.ps.opt.inline_uniforms = false; in si_invalidate_inlinable_uniforms()
1291 sctx->shaders[shader].key.ge.opt.inline_uniforms = false; in si_invalidate_inlinable_uniforms()
1336 bool inline_uniforms; in si_set_inlinable_constants() local
1338 …si_get_inline_uniform_state(&sctx->shaders[shader].key, shader, &inline_uniforms, &inlined_values); in si_set_inlinable_constants()
[all …]
Dsi_shader.h719 unsigned inline_uniforms:1; member
754 unsigned inline_uniforms:1; member
Dsi_shader_nir.c351 if (sscreen->options.inline_uniforms) in si_finalize_nir()
Dsi_shader.c1335 if (key->ge.opt.inline_uniforms) { in si_dump_shader_key()
1337 key->ge.opt.inline_uniforms, in si_dump_shader_key()
1346 if (key->ps.opt.inline_uniforms) { in si_dump_shader_key()
1348 key->ps.opt.inline_uniforms, in si_dump_shader_key()
1610 bool inline_uniforms = false; in si_get_nir_shader() local
1613 &inline_uniforms, &inlined_uniform_values); in si_get_nir_shader()
1615 if (inline_uniforms) { in si_get_nir_shader()
Dsi_state.h486 bool *inline_uniforms, uint32_t **inlined_values);
Dsi_shader_llvm.c1238 shader_ls.key.ge.opt.inline_uniforms = false; /* only TCS can inline uniforms */ in si_llvm_compile_shader()
1296 shader_es.key.ge.opt.inline_uniforms = false; /* only GS can inline uniforms */ in si_llvm_compile_shader()
Dsi_state_shaders.cpp203 if (sel->screen->options.inline_uniforms) in si_get_ir_cache_key()
2703 if (key->opt.inline_uniforms && in si_shader_select_with_key()
2710 local_key.opt.inline_uniforms = 0; in si_shader_select_with_key()
2897 if (state->key.ps.opt.inline_uniforms) in si_shader_select()
2902 if (state->key.ge.opt.inline_uniforms) { in si_shader_select()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_shader_keys.h90 unsigned inline_uniforms:1; member
Dzink_screen.h198 bool inline_uniforms; member
Dzink_program.c112 key->inline_uniforms = false; in get_shader_module_for_stage()
303 key->inline_uniforms = false; in update_cs_shader_module()
Dzink_compiler.c2066 if (key->inline_uniforms) { in zink_shader_compile()
2157 if (screen->driconf.inline_uniforms) { in zink_shader_compile()
3084 if (!screen->driconf.inline_uniforms) { in zink_shader_create()
3240 if (screen->driconf.inline_uniforms) in zink_shader_finalize()
Dzink_screen.c2335 screen->driconf.inline_uniforms = debug_get_bool_option("ZINK_INLINE_UNIFORMS", screen->is_cpu); in zink_internal_create_screen()
Dzink_context.c1233 key->inline_uniforms = true; in zink_set_inlinable_constants()
1276 key->inline_uniforms = false; in invalidate_inlined_uniforms()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c269 uint32_t inline_uniforms[MAX_INLINABLE_UNIFORMS]; in update_inline_shader_state() local
285 memcpy(&inline_uniforms[i], &state->push_constants[offset], sizeof(uint32_t)); in update_inline_shader_state()
291 memcpy(&inline_uniforms[i], &block[ubo_offset], sizeof(uint32_t)); in update_inline_shader_state()
298 NIR_PASS_V(nir, lvp_inline_uniforms, pipeline, inline_uniforms, 0); in update_inline_shader_state()
312 memcpy(&inline_uniforms[i], map + offset, sizeof(uint32_t)); in update_inline_shader_state()
315 NIR_PASS_V(nir, lvp_inline_uniforms, pipeline, inline_uniforms, slot); in update_inline_shader_state()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst3495 - nir/inline_uniforms: add uniforms in condition atomically
3496 - nir/inline_uniforms: support vector uniform
3500 - nir/inline_uniforms: support loop
D21.0.0.rst2061 - radeonsi: add options.inline_uniforms to the shader cache key
D22.0.0.rst2781 - radeonsi: don't set inline_uniforms for viewperf because it's enabled by default
D20.3.0.rst3572 - radeonsi: add options.inline_uniforms to the shader cache key