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:
committed by
Marge Bot
parent
7f28775edc
commit
15f2c1f661
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user