[Piglit] [PATCH] arb_texture_cube_map_array: scale texcoords

Paul Berry stereotype441 at gmail.com
Fri Sep 13 19:54:12 PDT 2013


On 9 September 2013 11:29, Paul Berry <stereotype441 at gmail.com> wrote:

> On 8 September 2013 02:10, Chris Forbes <chrisf at ijw.co.nz> wrote:
>
>> The magnitude of the vector formed by the first three texcoords
>> should not affect the result.
>>
>> This turns out to be a significant edge case in the i965 driver,
>> which normalizes the coords such that the largest component does not
>> exceed [-1..1], but currently bogusly multiplies the fourth coord
>> [the array index] as well.
>>
>> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
>>
>
> Reviewed-by: Paul Berry <stereotype441 at gmail.com>
>

Now that this patch has landed, piglit test
spec/ARB_texture_cube_map_array/arb_texture_cube_map_array-cubemap now
fails for me on i965/gen7 (and sometimes also GPU hangs).  Is this
expected?  If so, do you have patches planned to fix the problem, or should
one of us Intel folks have a look at it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130913/3a06829a/attachment.html>


More information about the Piglit mailing list