Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-27 | r300g: Include missing header in r300_texture.h. | Vinson Lee | |
Include p_compiler.h for uint32_t and boolean symbols. | |||
2010-08-26 | r300g: Include missing header in r300_texture_desc.h. | Vinson Lee | |
Include p_format.h for enum pipe_format symbol. Fixes r300g build. | |||
2010-08-26 | r300g: fix constant buffer upload once again for r3xx->r4xx | Marek Olšák | |
2010-08-25 | r300g: fix potentially uninitialized variables in create_rs_state | Marek Olšák | |
It had no impact on correctness, though. Reported by Vinson Lee. | |||
2010-08-25 | draw: specialized cliptesting routines | Keith Whitwell | |
2010-08-25 | gallium: Use draw_set_index_buffer and others. | Chia-I Wu | |
Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range. | |||
2010-08-25 | r300g: fix gl_PointCoord | Marek Olšák | |
Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx. | |||
2010-08-25 | r300g: eliminate unused constants in FS | Marek Olšák | |
2010-08-25 | r300g: eliminate unused constants in VS | Marek Olšák | |
2010-08-25 | r300g: clean up some mess in set_constant_buffer | Marek Olšák | |
2010-08-25 | r300g: fix indentation | Marek Olšák | |
2010-08-25 | r300g: reset the index bias to 0 at the end of CS | Marek Olšák | |
2010-08-23 | r300g: Remove unused variable. | Vinson Lee | |
Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render' | |||
2010-08-23 | r300g: avoid stall in no-tcl drawing when mapping vbo | Dave Airlie | |
the current code reuses the same vbo over and over, however after a flush we'd stall and wait for mapping on the vbo when we should just fire and forget. On a gears test this brings me from ~620 to ~750 on my rv530 in swtcl mode. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-20 | gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too | Luca Barbieri | |
Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed. | |||
2010-08-19 | r300g: do not use fastfill with 16-bit zbuffers | Marek Olšák | |
To my knowledge, there is no way to flush zmask and thus write the clear value. This fixes zbuffer reads, among other things. | |||
2010-08-17 | r300g: fix context destroy under hyperz | Dave Airlie | |
we were destroying the mm before unrefing all the objects, so segfault. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-16 | r300g: fix assert in the rasterizer block for r3xx-r4xx | Marek Olšák | |
Reported-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> | |||
2010-08-16 | r300g: fix an invalid pointer in free | Marek Olšák | |
2010-08-16 | r300g: Let hyperz init fail | nobled | |
Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-08-16 | r300g: Fix leaks in failed context creation | nobled | |
This changes r300_destroy_context() so it can be called on a partially-initialized context, and uses it when r300_create_context() hits a fatal error. This makes sure r300_create_context() doesn't leak memory or neglect to call r300_update_num_contexts() when it fails. Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-08-16 | r300g: Fix macro | nobled | |
This fixes a potential bug if (has_hyperz) is false (it would still init the atom as if has_hyperz were true). Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-08-16 | r300/compiler: implement DP2 opcode | Marek Olšák | |
2010-08-16 | r300/compiler: implement SSG opcode | Marek Olšák | |
2010-08-15 | r300g: mark HiZ/ZMask_clear atoms as non-dirty after emission in clear | Marek Olšák | |
2010-08-15 | r300g: do not use HiZ if HiZ RAM is not properly initialized | Marek Olšák | |
2010-08-15 | r300g: rename dirty_zmask -> zmask_in_use | Marek Olšák | |
2010-08-15 | r300g: do not clear with blitter if we clear just the ZMask RAM | Marek Olšák | |
This skips the blitter clear path entirely if the color is not cleared and the depth+stencil is cleared with the ZMask. | |||
2010-08-15 | r300g: do not use fastfill if ZMask RAM is not properly initialized | Marek Olšák | |
z_fastfill -> dirty_zmask[level]. | |||
2010-08-15 | r300g: separate num_cs_end_dwords out from prepare_for_rendering | Marek Olšák | |
2010-08-13 | r300g: do not support separate depth/stencil clear in the driver | Marek Olšák | |
It doesn't work well with Hyper-Z, so put the burden on the state tracker. | |||
2010-08-13 | r300g: fix fastfill when color and Z clear are invoked separately | Marek Olšák | |
This always restores the previous depth clear value after CBZB clear. | |||
2010-08-13 | r300g: disable depth clamp for now | Marek Olšák | |
It breaks Regnum Online in that it renders random triangles all over the screen. https://bugs.freedesktop.org/show_bug.cgi?id=29518 | |||
2010-08-12 | Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil" | Marek Olšák | |
This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5. | |||
2010-08-12 | u_blitter: unify clear_depth_stencil and flush_depth_stencil | Marek Olšák | |
No need to enable depth test for clear. | |||
2010-08-11 | r300/compiler: Implement the CONT opcode. | Tom Stellard | |
2010-08-11 | r300g: initialize VAP_VTX_STATE_CNTL | Marek Olšák | |
This got lost during the rasterizer rewrite. | |||
2010-08-11 | r300g: implement gl_FrontFacing | Marek Olšák | |
2010-08-10 | r300g: Remove unnecessary header. | Vinson Lee | |
2010-08-10 | r300/compiler: Implement hardware assisted loops for vertex shaders. | Tom Stellard | |
Single loops work, but nested loops do not. | |||
2010-08-09 | r300g: do not print shader compiler errors by default | Marek Olšák | |
2010-08-09 | r300g: fix hiz/zmask offset emissions. | Dave Airlie | |
ofs is in dwords, so need to shift it for registers. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-08 | r300g: remove a flush | Marek Olšák | |
Ooops, it wasn't supposed to be there. | |||
2010-08-08 | r300g: flush zmasks of zbuffers we are going to use as samplers | Marek Olšák | |
It sometimes works, sometimes not. I guess we have the zmask offsets wrong. | |||
2010-08-08 | r300g: do not allocate a zmask block for 3D textures and cubemaps | Marek Olšák | |
2010-08-08 | r300g: take hiz/zmask offsets into a/c when clearing. | Dave Airlie | |
Need to add a test for multi-hiz/zmask db in a single context. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-07 | r300g: fix cbzb clears when hyperz is off | Marek Olšák | |
2010-08-05 | r300g: Remove unnecessary headers. | Vinson Lee | |
2010-08-06 | r300g: do not emit GB_Z_PEQ_CONFIG on non-r500 if DRM < 2.6.0 | Marek Olšák | |
2010-08-05 | r300g: fix fb_state atom size | Marek Olšák | |