Module: Mesa
Branch: main
Commit: 0c2453bb59015c9cdd444d69d605c6bd28d78b50
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c2453bb59015c9cdd444d69d605c6bd28d78b50

Author: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
Date:   Tue Dec 29 13:30:24 2020 -0500

zink: make ZINK_INLINE_UNIFORMS more standardized in function

Reviewed-by: Joshua Ashton <jos...@froggi.es>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10696>

---

 src/gallium/drivers/zink/zink_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_screen.c 
b/src/gallium/drivers/zink/zink_screen.c
index b4bda46600d..27495265b8c 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -1624,7 +1624,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->driconf.inline_uniforms = 
debug_get_bool_option("ZINK_INLINE_UNIFORMS", false);
 
    screen->total_video_mem = get_video_mem(screen);
    if (!os_get_total_physical_memory(&screen->total_mem))

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to