diff options
author | Dave Airlie <[email protected]> | 2010-04-24 18:53:55 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-06-08 19:08:36 +1000 |
commit | a2817f6ae566b672f195cff22e14e2058d3617ea (patch) | |
tree | d6c8e1d354389727c9e0c490476ed007a340e32d /src/mesa/state_tracker/st_cb_texture.c | |
parent | 3a876e847388ad89ea52486040e2b4682a3524c1 (diff) |
st/mesa: attempt to fix TFP by using sampler views (v1)
Okay I think this is good enough for now, I can't see any other reason
for mesa to want to use a sampler view so lets just leave it at all the A->X conversions for now.
I've been running gnome-shell under r300g with this for day or so and it seems fine.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 647898ef7c9..2101b9bc18d 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1850,7 +1850,7 @@ st_finalize_texture(GLcontext *ctx, */ if (stObj->pt) { if (stObj->pt->target != gl_target_to_pipe(stObj->base.Target) || - stObj->pt->format != firstImageFormat || + !st_sampler_compat_formats(stObj->pt->format, firstImageFormat) || stObj->pt->last_level < stObj->lastLevel || stObj->pt->width0 != stObj->width0 || stObj->pt->height0 != stObj->height0 || |