search for: piglit_draw_rect

Displaying 3 results from an estimated 3 matches for "piglit_draw_rect".

2014 Aug 10
2
Coordinate systems on on nv10-era cards
...mage part of it has nothing 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 b...
2014 Aug 15
0
Coordinate systems on on nv10-era cards
...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 sc...
2013 Sep 10
3
[Bug 69155] New: codegen/nv50_ir_emit_nv50.cpp:169:srcAddr8: Assertion `(offset <= 0x1fc || offset == 0x3fc) && !(offset & 0x3)' failed.
...../../src/mesa/vbo/vbo_exec_array.c:660 #14 0x00007f54baa54beb in vbo_exec_DrawArrays (mode=5, start=0, count=4) at ../../src/mesa/vbo/vbo_exec_array.c:812 #15 0x00007f54bed3c4bc in stub_glDrawArrays (mode=5, first=0, count=4) at piglit/tests/util/generated_dispatch.c:6223 #16 0x00007f54bed2b6b8 in piglit_draw_rect_from_arrays (verts=0x7fffb533a2f0, tex=0x0) at piglit/tests/util/piglit-util-gl-common.c:645 #17 0x00007f54bed2ba36 in piglit_draw_rect (x=-1, y=-1, w=2, h=2) at piglit/tests/util/piglit-util-gl-common.c:754 #18 0x0000000000401e39 in piglit_display () at piglit/tests/spec/glsl-1.10/execution/va...