!!ARBfp1.0

###################################################################################
#
# Copyright 2009 Canonical Ltd.
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of either or both of the following licenses:
#
# 1) the GNU Lesser General Public License version 3, as published by the
# Free Software Foundation; and/or
# 2) the GNU Lesser General Public License version 2.1, as published by
# the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
# PURPOSE.  See the applicable version of the GNU Lesser General Public
# License for more details.
#
# You should have received a copy of both the GNU Lesser General Public
# License version 3 and version 2.1 along with this program.  If not, see
# <http://www.gnu.org/licenses/>
#
# Authored by: Jay Taoko <jay.taoko@canonical.com>
#
###################################################################################

TEMP tex0;
TEMP tex1;
TEX tex0, fragment.texcoord[0], texture[0], 2D;
TEX tex1, fragment.texcoord[1], texture[1], 2D;
MUL tex0, tex0, tex1;
MUL result.color, tex0, fragment.color.primary;
END

