ARB prog parser: Fix handling of RECT

Require that GL_{ARB,EXT,NV}_texture_rectangle be supported before
allowing use of RECT texture target.
This commit is contained in:
Ian Romanick
2009-07-27 15:47:52 -07:00
parent 4821099429
commit 88018e2e07
5 changed files with 424 additions and 415 deletions

View File

@@ -200,6 +200,7 @@ struct asm_parser_state {
unsigned PrecisionHint:2;
unsigned DrawBuffers:1;
unsigned Shadow:1;
unsigned TexRect:1;
} option;
struct {