<div dir="auto">Yeah, you can push these.<div dir="auto"><br></div><div dir="auto">Marek</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 6, 2017 5:03 AM, "Timothy Arceri" <<a href="mailto:tarceri@itsqueeze.com">tarceri@itsqueeze.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br>
<br>
---<br>
 src/gallium/state_trackers/<wbr>dri/dri_screen.c | 8 +++++---<br>
 1 file changed, 5 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/src/gallium/state_trackers/<wbr>dri/dri_screen.c b/src/gallium/state_trackers/<wbr>dri/dri_screen.c<br>
index c2da7e3..da0e414 100644<br>
--- a/src/gallium/state_trackers/<wbr>dri/dri_screen.c<br>
+++ b/src/gallium/state_trackers/<wbr>dri/dri_screen.c<br>
@@ -76,23 +76,25 @@ const __DRIconfigOptionsExtension gallium_config_options = {<br>
       DRI_CONF_SECTION_MISCELLANEOUS<br>
          DRI_CONF_ALWAYS_HAVE_DEPTH_<wbr>BUFFER("false")<br>
          DRI_CONF_GLSL_ZERO_INIT("<wbr>false")<br>
       DRI_CONF_SECTION_END<br>
    DRI_CONF_END<br>
 };<br>
<br>
 #define false 0<br>
<br>
 static void<br>
-dri_fill_st_options(struct st_config_options *options,<br>
-                    const struct driOptionCache * optionCache)<br>
+dri_fill_st_options(struct dri_screen *screen)<br>
 {<br>
+   struct st_config_options *options = &screen->options;<br>
+   const struct driOptionCache *optionCache = &screen->optionCache;<br>
+<br>
    options->disable_blend_func_<wbr>extended =<br>
       driQueryOptionb(optionCache, "disable_blend_func_extended")<wbr>;<br>
    options->disable_glsl_line_<wbr>continuations =<br>
       driQueryOptionb(optionCache, "disable_glsl_line_<wbr>continuations");<br>
    options->disable_shader_bit_<wbr>encoding =<br>
       driQueryOptionb(optionCache, "disable_shader_bit_encoding")<wbr>;<br>
    options->force_glsl_<wbr>extensions_warn =<br>
       driQueryOptionb(optionCache, "force_glsl_extensions_warn");<br>
    options->force_glsl_version =<br>
       driQueryOptioni(optionCache, "force_glsl_version");<br>
@@ -448,21 +450,21 @@ dri_init_screen_helper(struct dri_screen *screen,<br>
    else<br>
       screen->target = PIPE_TEXTURE_RECT;<br>
<br>
    driParseOptionInfo(&screen-><wbr>optionCacheDefaults, gallium_config_options.xml);<br>
<br>
    driParseConfigFiles(&screen-><wbr>optionCache,<br>
                        &screen->optionCacheDefaults,<br>
                        screen->sPriv->myNum,<br>
                        driver_name);<br>
<br>
-   dri_fill_st_options(&screen-><wbr>options, &screen->optionCache);<br>
+   dri_fill_st_options(screen);<br>
<br>
    /* Handle force_s3tc_enable. */<br>
    if (!util_format_s3tc_enabled && screen->options.force_s3tc_<wbr>enable) {<br>
       /* Ensure libtxc_dxtn has been loaded if available.<br>
        * Forcing S3TC on before calling this would prevent loading<br>
        * the library.<br>
        * This is just a precaution, the driver should have called it<br>
        * already.<br>
        */<br>
       util_format_s3tc_init();<br>
--<br>
2.9.3<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>