Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-18 Thread Ian Romanick
On 10/16/2013 04:37 PM, Jon Ashburn wrote: > When calling glTextureView() only certain formats are valid based on the > format > of the original texture. This tests valid/invalid combinations. > > Tested on Nvidia Quadro 600, all tests pass. > --- > tests/all.tests

Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-18 Thread Ian Romanick
On 10/17/2013 01:39 PM, Jon Ashburn wrote: > > On 10/17/2013 12:46 PM, Ian Romanick wrote: >> On 10/16/2013 04:37 PM, Jon Ashburn wrote: >>> diff --git a/tests/spec/arb_texture_view/common.c >>> b/tests/spec/arb_texture_view/common.c >>> new file mode 100644 >>> index 000..c5f5a23 >>> --- /dev

Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-17 Thread Jon Ashburn
On 10/17/2013 12:46 PM, Ian Romanick wrote: On 10/16/2013 04:37 PM, Jon Ashburn wrote: diff --git a/tests/spec/arb_texture_view/common.c b/tests/spec/arb_texture_view/common.c new file mode 100644 index 000..c5f5a23 --- /dev/null +++ b/tests/spec/arb_texture_view/common.c @@ -0,0 +1,48 @@

Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-17 Thread Brian Paul
On 10/17/2013 12:42 PM, Ian Romanick wrote: On 10/17/2013 07:29 AM, Brian Paul wrote: On 10/16/2013 05:37 PM, Jon Ashburn wrote: +/* skip compressed internal formats for now including extensions */ +assert(format_class == GL_VIEW_CLASS_128_BITS || + format_class == GL_VIEW_C

Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-17 Thread Ian Romanick
On 10/16/2013 04:37 PM, Jon Ashburn wrote: > diff --git a/tests/spec/arb_texture_view/common.c > b/tests/spec/arb_texture_view/common.c > new file mode 100644 > index 000..c5f5a23 > --- /dev/null > +++ b/tests/spec/arb_texture_view/common.c > @@ -0,0 +1,48 @@ > +/* > + * Copyright © 2013 Lunar

Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-17 Thread Ian Romanick
On 10/17/2013 07:29 AM, Brian Paul wrote: > On 10/16/2013 05:37 PM, Jon Ashburn wrote: >> When calling glTextureView() only certain formats are valid based on >> the format >> of the original texture. This tests valid/invalid combinations. >> >> Tested on Nvidia Quadro 600, all tests pass. >> --- >

Re: [Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-17 Thread Brian Paul
On 10/16/2013 05:37 PM, Jon Ashburn wrote: When calling glTextureView() only certain formats are valid based on the format of the original texture. This tests valid/invalid combinations. Tested on Nvidia Quadro 600, all tests pass. --- tests/all.tests | 1 + te

[Piglit] [PATCH 2/3] arb_texture_view: Test valid and invalid formats

2013-10-16 Thread Jon Ashburn
When calling glTextureView() only certain formats are valid based on the format of the original texture. This tests valid/invalid combinations. Tested on Nvidia Quadro 600, all tests pass. --- tests/all.tests | 1 + tests/spec/arb_texture_view/CMakeLists.gl.txt |