diff options
author | Patrice Mandin <[email protected]> | 2008-08-14 16:52:51 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-08-14 16:52:51 +0200 |
commit | a145c107c12715105e14bb56b245eeb660cf433a (patch) | |
tree | 70044c3ec5ce45a478feff3ecefe63f024066b06 /src | |
parent | a7ea6bae4e618e28636909ac2db7783632bc81b8 (diff) |
nv30: disable setting nv40 RECT bit, this is not the same on nv30, plus gallium does not support rectangle textures currently, only full POT or NPOT
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_state.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index 8d88d6c806e..77b0c9e08b0 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -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) | |