[Mesa-dev] [PATCH V3 1/7] i965: Add various plumbing for cubemap arrays
Eric Anholt
eric at anholt.net
Mon Dec 3 13:30:33 PST 2012
Chris Forbes <chrisf at ijw.co.nz> writes:
> diff --git a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
> index fb9cb83..69669b3 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
> @@ -248,7 +248,8 @@ static void brw_update_sampler_state(struct brw_context *brw,
> /* Cube-maps on 965 and later must use the same wrap mode for all 3
> * coordinate dimensions. Futher, only CUBE and CLAMP are valid.
> */
> - if (texObj->Target == GL_TEXTURE_CUBE_MAP) {
> + if (texObj->Target == GL_TEXTURE_CUBE_MAP ||
> + texObj->Target == GL_TEXTURE_CUBE_MAP_ARRAY) {
Trivial style note:
Current style is no tabs for indents (you'll note that these files are
full of them because I wasn't following the rules for a long time), and
the second line's texObj should line up with the texObj from the first
one.
-------------- 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/20121203/2d82d59f/attachment-0001.pgp>
More information about the mesa-dev
mailing list