NV fp parser: Support new scalar constant behavior
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 3 Sep 2009 21:05:18 +0000 (14:05 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 3 Sep 2009 21:05:18 +0000 (14:05 -0700)
commitb8e389bb0315287b72087b93a089ab944d77ab80
tree4b35266c7a2ee37b6356d02db4803d0c4595cde3
parent8ca6fd8a83412e3a76746f0ee61027b796516f95
NV fp parser: Support new scalar constant behavior

ARBfp requires scalar constants have a '.x' suffix, but NVfp_option
does not.  This shows up with instructions that require a scalar
parameter (e.g., COS).
src/mesa/shader/program_parse.tab.c
src/mesa/shader/program_parse.y