Re: [Mesa-dev] [PATCH 1/2] mesa: don't use format chooser code for glCompressedTexImage

2013-02-08 Thread Ian Romanick
On 02/08/2013 09:35 AM, Brian Paul wrote: On 02/07/2013 10:25 PM, Ian Romanick wrote: On 01/31/2013 06:02 PM, Brian Paul wrote: When glCompressedTexImage is called the internalFormat is a specific format for the incoming image and the the hardware format should be ^^^ the same (since we

Re: [Mesa-dev] [PATCH 1/2] mesa: don't use format chooser code for glCompressedTexImage

2013-02-07 Thread Ian Romanick
On 01/31/2013 06:02 PM, Brian Paul wrote: When glCompressedTexImage is called the internalFormat is a specific format for the incoming image and the the hardware format should be ^^^ the same (since we never do format transcoding). So use the simpler

[Mesa-dev] [PATCH 1/2] mesa: don't use format chooser code for glCompressedTexImage

2013-01-31 Thread Brian Paul
When glCompressedTexImage is called the internalFormat is a specific format for the incoming image and the the hardware format should be the same (since we never do format transcoding). So use the simpler _mesa_glenum_to_compressed_format() function. This change is also needed for the next