<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Apr 3, 2017 5:11 PM, "Alex Deucher" <<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On Sun, Apr 2, 2017 at 2:00 PM, Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>> wrote:<br>
> From: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br>
><br>
> Also:<br>
><br>
> pipe_transfer: 48 -> 40 bytes.<br>
> pipe_blit_info = 176 -> 160 bytes.<br>
> ---<br>
> src/gallium/include/pipe/p_<wbr>state.h | 8 ++++----<br>
> 1 file changed, 4 insertions(+), 4 deletions(-)<br>
><br>
> diff --git a/src/gallium/include/pipe/p_<wbr>state.h b/src/gallium/include/pipe/p_<wbr>state.h<br>
> index 392bb8b..6a147ef 100644<br>
> --- a/src/gallium/include/pipe/p_<wbr>state.h<br>
> +++ b/src/gallium/include/pipe/p_<wbr>state.h<br>
> @@ -472,25 +472,25 @@ struct pipe_image_view<br>
> } u;<br>
> };<br>
><br>
><br>
> /**<br>
> * Subregion of 1D/2D/3D image resource.<br>
> */<br>
> struct pipe_box<br>
> {<br>
> int x;<br>
> - int y;<br>
> - int z;<br>
> + int16_t y;<br>
> + int16_t z;<br>
> int width;<br>
> - int height;<br>
> - int depth;<br>
> + int16_t height;<br>
> + int16_t depth;<br>
> };<br>
<br>
</div>Not specific to this patch per se, but will this cause any issues in<br>
the future as max surface sizes supported by hw increase? I feel like<br>
we'll need to change this back at some point.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">We should be fine as long as OpenGL and/or games don't require bigger sizes.</div><div dir="auto"><br></div><div dir="auto">Marek</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Alex<br>
<div class="quoted-text"><br>
><br>
><br>
> /**<br>
> * A memory object/resource such as a vertex buffer or texture.<br>
> */<br>
> struct pipe_resource<br>
> {<br>
> struct pipe_reference reference;<br>
> struct pipe_screen *screen; /**< screen that this texture belongs to */<br>
> --<br>
> 2.7.4<br>
><br>
</div>> ______________________________<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><br></div></div></div>