Re: [Mesa-dev] [PATCH] gallivm: fix up size queries for dx10 sviewinfo opcode

2013-02-06 Thread Jose Fonseca
Reviewed-by: Jose Fonseca - Original Message - > From: Roland Scheidegger > > Need to calculate the number of mip levels (if it would be worthwile > could > store it in dynamic state). > While here, the query code also used chan 2 for the lod value. > This worked with mesa state tracker

[Mesa-dev] [PATCH] gallivm: fix up size queries for dx10 sviewinfo opcode

2013-02-05 Thread sroland
From: Roland Scheidegger Need to calculate the number of mip levels (if it would be worthwile could store it in dynamic state). While here, the query code also used chan 2 for the lod value. This worked with mesa state tracker but it seems safer to use chan 0. Still passes piglit textureSize (wit

[Mesa-dev] [PATCH] gallivm: fix up size queries for dx10 sviewinfo opcode

2013-02-01 Thread sroland
From: Roland Scheidegger Need to calculate the number of mip levels (if it would be worthwile could store it in dynamic state). Also, it looks like without modifiers this opcode should return floats so handle that as well. While here, the query code also used chan 2 for the lod value. This worked