Re: [Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-19 Thread Eric Anholt
Michel Dänzer writes: > On 2019-04-15 12:57 p.m., Lucas Stach wrote: >> Am Montag, den 15.04.2019, 12:04 +0200 schrieb Michel Dänzer: >>> On 2019-04-12 7:33 p.m., Lucas Stach wrote: Unconditionally requesting both bindings can lead to premature failure to create a valid image.

Re: [Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-19 Thread Eric Anholt
Michel Dänzer writes: > On 2019-04-12 7:33 p.m., Lucas Stach wrote: >> Unconditionally requesting both bindings can lead to premature >> failure to create a valid image. >> >> Signed-off-by: Lucas Stach >> --- >> src/gallium/state_trackers/dri/dri2.c | 13 +++-- >> 1 file changed, 11 i

Re: [Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-15 Thread Michel Dänzer
On 2019-04-15 12:57 p.m., Lucas Stach wrote: > Am Montag, den 15.04.2019, 12:04 +0200 schrieb Michel Dänzer: >> On 2019-04-12 7:33 p.m., Lucas Stach wrote: >>> Unconditionally requesting both bindings can lead to premature >>> failure to create a valid image. >>> > Signed-off-by: Lucas Stach >

Re: [Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-15 Thread Lucas Stach
Hi Michel, Am Montag, den 15.04.2019, 12:04 +0200 schrieb Michel Dänzer: > On 2019-04-12 7:33 p.m., Lucas Stach wrote: > > Unconditionally requesting both bindings can lead to premature > > failure to create a valid image. > > > > > > Signed-off-by: Lucas Stach > > --- > >  src/gallium/state_tra

Re: [Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-15 Thread Michel Dänzer
On 2019-04-12 7:33 p.m., Lucas Stach wrote: > Unconditionally requesting both bindings can lead to premature > failure to create a valid image. > > Signed-off-by: Lucas Stach > --- > src/gallium/state_trackers/dri/dri2.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >

Re: [Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-15 Thread Philipp Zabel
On Fri, 2019-04-12 at 19:33 +0200, Lucas Stach wrote: > Unconditionally requesting both bindings can lead to premature > failure to create a valid image. > > Signed-off-by: Lucas Stach > --- > src/gallium/state_trackers/dri/dri2.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletio

[Mesa-dev] [PATCH 1/6] st/dri: allow to create image for formats that only support SV or RT binding

2019-04-12 Thread Lucas Stach
Unconditionally requesting both bindings can lead to premature failure to create a valid image. Signed-off-by: Lucas Stach --- src/gallium/state_trackers/dri/dri2.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gal