[Mesa-dev] [PATCH 2/7] glsl: Initialize samplers to 0, propagate sampler values to the gl_program
Eric Anholt
eric at anholt.net
Mon Apr 16 13:29:04 PDT 2012
On Thu, 12 Apr 2012 17:25:38 -0700, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> The spec requires that samplers be initialized to 0. Since this
> differs from the 1-to-1 mapping of samplers to texture units assumed
> by ARB assembly shaders (and the gl_program structure), be sure to
> propagate this date from the gl_shader_program to the gl_program.
s/date/data/
otherwise,
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120416/8aab2a82/attachment.pgp>
More information about the mesa-dev
mailing list