mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
zink: add env var to force uniform inlining
this is great for debugging/testing, but there's no great heuristics for using it yet Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9888>
This commit is contained in:
parent
7f28775edc
commit
15f2c1f661
1 changed files with 1 additions and 0 deletions
|
|
@ -1496,6 +1496,7 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
|
|||
screen->driconf.dual_color_blend_by_location = driQueryOptionb(config->options, "dual_color_blend_by_location");
|
||||
//screen->driconf.inline_uniforms = driQueryOptionb(config->options, "radeonsi_inline_uniforms");
|
||||
#endif
|
||||
screen->driconf.inline_uniforms = !!getenv("ZINK_INLINE_UNIFORMS");
|
||||
|
||||
screen->total_video_mem = get_video_mem(screen);
|
||||
if (!os_get_total_physical_memory(&screen->total_mem))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue