nv30: disable setting nv40 RECT bit, this is not the same on nv30, plus gallium does...
authorPatrice Mandin <pmandin@caramail.com>
Thu, 14 Aug 2008 14:52:51 +0000 (16:52 +0200)
committerPatrice Mandin <pmandin@caramail.com>
Thu, 14 Aug 2008 14:52:51 +0000 (16:52 +0200)
src/gallium/drivers/nv30/nv30_state.c

index 8d88d6c806ebe8afb310e1e3f7d7365d7f3becd9..77b0c9e08b07a2e482bd668bb429bc83f4526f20 100644 (file)
@@ -127,8 +127,10 @@ nv30_sampler_state_create(struct pipe_context *pipe,
           in sampler state structure, and set appropriate format in
           nvxx_fragtex_build()
         */
-       if (!cso->normalized_coords)
-               ps->fmt |= (1<<14) /*NV34TCL_TX_FORMAT_RECT*/;
+       /*NV34TCL_TX_FORMAT_RECT*/
+       /*if (!cso->normalized_coords) {
+               ps->fmt |= (1<<14) ;
+       }*/
 
        ps->wrap = ((wrap_mode(cso->wrap_s) << NV34TCL_TX_WRAP_S_SHIFT) |
                    (wrap_mode(cso->wrap_t) << NV34TCL_TX_WRAP_T_SHIFT) |