Displaying 2 results from an estimated 2 matches for "tex_width".
2014 Aug 10
2
Coordinate systems on on nv10-era cards
...hing to do with the failure, at least
it behaves identically when I just return tex instead of copiex_tex.
Without any modifications, the test just renders one big red square. I
think there's something wrong with the coordinate systems since if I
change
glColor4fv(red);
piglit_draw_rect(0, 0, TEX_WIDTH / 2, TEX_HEIGHT / 2);
to instead be
piglit_draw_rect(1, 1, TEX_WIDTH / 2, TEX_HEIGHT / 2);
Then the result is all black. So I think that the coordinates are
being scaled up somewhere they're not supposed to be (or, conversely,
not being scaled down when they are supposed to be). The projecti...
2014 Aug 15
0
Coordinate systems on on nv10-era cards
...> it behaves identically when I just return tex instead of copiex_tex.
>
> Without any modifications, the test just renders one big red square. I
> think there's something wrong with the coordinate systems since if I
> change
>
> glColor4fv(red);
> piglit_draw_rect(0, 0, TEX_WIDTH / 2, TEX_HEIGHT / 2);
>
> to instead be
>
> piglit_draw_rect(1, 1, TEX_WIDTH / 2, TEX_HEIGHT / 2);
>
> Then the result is all black. So I think that the coordinates are
> being scaled up somewhere they're not supposed to be (or, conversely,
> not being scaled down when t...