mesa/es: Disallow BGRA vertex arrays in ES or ES2 contexts
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -150,6 +150,11 @@ update_array(struct gl_context *ctx,
|
||||
| UNSIGNED_INT_2_10_10_10_REV_BIT
|
||||
| INT_2_10_10_10_REV_BIT);
|
||||
}
|
||||
|
||||
/* BGRA ordering is not supported in ES contexts.
|
||||
*/
|
||||
if (sizeMax == BGRA_OR_4)
|
||||
sizeMax = 4;
|
||||
} else {
|
||||
legalTypesMask &= ~FIXED_ES_BIT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user