[Mesa-dev] [PATCH 13/15] program: Remove NV_fragment_program opcode parsing.
Matt Turner
mattst88 at gmail.com
Tue Mar 1 02:24:59 UTC 2016
On Mon, Feb 29, 2016 at 4:29 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 02/29/2016 03:34 PM, Matt Turner wrote:
>> ---
>> src/mesa/program/program_lexer.l | 8 --------
>> src/mesa/program/program_parser.h | 1 -
>> 2 files changed, 9 deletions(-)
>>
>> diff --git a/src/mesa/program/program_lexer.l b/src/mesa/program/program_lexer.l
>> index 2fcd71f..baaa58a 100644
>> --- a/src/mesa/program/program_lexer.l
>> +++ b/src/mesa/program/program_lexer.l
>> @@ -32,7 +32,6 @@
>>
>> #define require_ARB_vp (yyextra->mode == ARB_vertex)
>> #define require_ARB_fp (yyextra->mode == ARB_fragment)
>> -#define require_NV_fp (yyextra->option.NV_fragment)
>> #define require_shadow (yyextra->option.Shadow)
>> #define require_rect (yyextra->option.TexRect)
>> #define require_texarray (yyextra->option.TexArray)
>> @@ -191,8 +190,6 @@ ARL { return_opcode(require_ARB_vp, ARL, ARL, 3); }
>> CMP{sat} { return_opcode(require_ARB_fp, TRI_OP, CMP, 3); }
>> COS{szf}{cc}{sat} { return_opcode(require_ARB_fp, SCALAR_OP, COS, 3); }
>
> I think all of the {cc} business can go too. I think that's for parsing
> the condition codes that you remove in patch 6.
Oh, good call. I'll strip out the sz/szf/cc stuff and squash it into patch 6.
More information about the mesa-dev
mailing list