Re: [Mesa-dev] [PATCH] mesa: Check glReadBuffer enums against the ES3 table.

2016-03-24 Thread Eduardo Lima Mitev
On 03/24/2016 07:12 PM, Kenneth Graunke wrote: On Thursday, March 24, 2016 10:29:44 AM PDT Eduardo Lima Mitev wrote: On 03/24/2016 07:54 AM, Kenneth Graunke wrote: From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading): "An INVALID_ENUM error is generated if src is not BAC

Re: [Mesa-dev] [PATCH] mesa: Check glReadBuffer enums against the ES3 table.

2016-03-24 Thread Kenneth Graunke
On Thursday, March 24, 2016 10:29:44 AM PDT Eduardo Lima Mitev wrote: > On 03/24/2016 07:54 AM, Kenneth Graunke wrote: > > From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading): > > > > "An INVALID_ENUM error is generated if src is not BACK or one of > > the values from tab

Re: [Mesa-dev] [PATCH] mesa: Check glReadBuffer enums against the ES3 table.

2016-03-24 Thread Eduardo Lima Mitev
On 03/24/2016 07:54 AM, Kenneth Graunke wrote: From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading): "An INVALID_ENUM error is generated if src is not BACK or one of the values from table 15.5." Table 15.5 contains NONE and COLOR_ATTACHMENTi. Mesa properly returned IN

[Mesa-dev] [PATCH] mesa: Check glReadBuffer enums against the ES3 table.

2016-03-23 Thread Kenneth Graunke
From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading): "An INVALID_ENUM error is generated if src is not BACK or one of the values from table 15.5." Table 15.5 contains NONE and COLOR_ATTACHMENTi. Mesa properly returned INVALID_ENUM for unknown enums, but it decided what wa