Bug 8904 - compressed textures broken with i915tex
compressed textures broken with i915tex
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915
unspecified
x86 (IA32) Linux (All)
: high normal
Assigned To: Default DRI bug account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-05 23:41 UTC by Dave Airlie
Modified: 2006-11-09 16:36 UTC (History)
0 users

See Also:


Attachments
initial attempt at fixing compressed textures (11.81 KB, patch)
2006-11-05 23:44 UTC, Dave Airlie
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Airlie 2006-11-05 23:41:35 UTC
Compressed texture don't work properly with i915tex, texcmp is really broken...
Comment 1 Dave Airlie 2006-11-05 23:44:20 UTC
Created attachment 7663 [details] [review]
initial attempt at fixing compressed textures

This is my initial attempt at fixing compressed textures, it mainly illustrates
that I've no clue about the mipmap tree and region coding,

It crashes on my test system in the memcpy case I added..
Comment 2 Dave Airlie 2006-11-09 16:36:50 UTC
okay I've checked in the fixes for this into the i915tex branch it appears to
work well enough for all texcmp and my own application... 

I've just implemented GetCompressedTexImage and TexImage2D for compressed, I'm
not really sure how to implement SubTexImage and if someone uses that for
compressed textures I'd be pleasantly surprised..