[Mesa-dev] [PATCH] gallium/nine: Fix build regression

Edward O'Callaghan funfunctor at folklore1984.net
Sat Feb 25 11:24:09 UTC 2017


yes sorry disregard this one, I got report this independently.
sorry for the noise.

On 02/25/2017 10:18 PM, Mike Lothian wrote:
> Are we better off just checking for cmst_active now? Since that's all
> we're checking
> 
> On Sat, 25 Feb 2017 at 11:12 Edward O'Callaghan
> <funfunctor at folklore1984.net <mailto:funfunctor at folklore1984.net>> wrote:
> 
>     commit 4a88396 dropped 'PIPE_CAP_USER_INDEX_BUFFERS' however
>     this case was missed.
> 
>     Signed-off-by: Edward O'Callaghan <funfunctor at folklore1984.net
>     <mailto:funfunctor at folklore1984.net>>
>     ---
>      src/gallium/state_trackers/nine/device9.c | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
> 
>     diff --git a/src/gallium/state_trackers/nine/device9.c
>     b/src/gallium/state_trackers/nine/device9.c
>     index c3924a2..8a75859 100644
>     --- a/src/gallium/state_trackers/nine/device9.c
>     +++ b/src/gallium/state_trackers/nine/device9.c
>     @@ -473,7 +473,7 @@ NineDevice9_ctor( struct NineDevice9 *This,
>          /* Allocate upload helper for drivers that suck (from st pov ;). */
> 
>          This->driver_caps.user_vbufs = GET_PCAP(USER_VERTEX_BUFFERS) &&
>     !This->csmt_active;
>     -    This->driver_caps.user_ibufs = GET_PCAP(USER_INDEX_BUFFERS) &&
>     !This->csmt_active;
>     +    This->driver_caps.user_ibufs = !This->csmt_active;
>          This->driver_caps.user_cbufs = GET_PCAP(USER_CONSTANT_BUFFERS);
>          This->driver_caps.user_sw_vbufs =
>     This->screen_sw->get_param(This->screen_sw,
>     PIPE_CAP_USER_VERTEX_BUFFERS);
>          This->driver_caps.user_sw_cbufs =
>     This->screen_sw->get_param(This->screen_sw,
>     PIPE_CAP_USER_CONSTANT_BUFFERS);
>     --
>     2.9.3
> 
>     _______________________________________________
>     mesa-dev mailing list
>     mesa-dev at lists.freedesktop.org <mailto:mesa-dev at lists.freedesktop.org>
>     https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170225/607950f5/attachment.sig>


More information about the mesa-dev mailing list