Module: Mesa Branch: asm-shader-rework-2 Commit: 81722c5d7e8e93d837510b9e6e5d014ec64cf4b3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81722c5d7e8e93d837510b9e6e5d014ec64cf4b3
Author: Ian Romanick <[email protected]> Date: Thu Sep 10 15:04:24 2009 -0700 NV fp parser: Add support for condition codes Conditional write masks and the condition-code based KIL instruction are all supported. The specific behavior of KIL in the following shader may or may not match the behavior of other implementations: !!ARBfp1.0 TEMP GT; MOVC GT, fragment.texcoord[0]; KIL GT.x; END Should be it interpreted as 'KIL srcReg' or as 'KIL ccTest'? The current parser will interpret it as 'KIL srcReg'. --- src/mesa/shader/program_parse.tab.c | 1895 ++++++++++++++++++--------------- src/mesa/shader/program_parse.y | 102 ++- src/mesa/shader/program_parse_extra.c | 54 + src/mesa/shader/program_parser.h | 13 + 4 files changed, 1183 insertions(+), 881 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=81722c5d7e8e93d837510b9e6e5d014ec64cf4b3 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
