Chris Forbes <chr...@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.
pgpw12tclEbfB.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev