Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-26 | r300g: fix macro substitution problem | Dave Airlie | |
isn't a problem yet, but have issues in hiz branch. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-07-25 | r300g: implement D24X8 texture sampling for r3xx-r4xx | Marek Olšák | |
Because the hw can't sample it, I reinterpret the format as G16R16 and sample the G component. This gives 16 bits of precision, which should be enough for depth texturing (surprisingly, the sampled values are exactly the same as in D16 textures). This also enables EXT_packed_depth_stencil on those old chipsets, finally. | |||
2010-07-25 | r300g: make sure a texture is large enough for the CBZB clear | Marek Olšák | |
The number of macrotiles in the Y direction must be even, otherwise memory corruption may happen (e.g. broken fonts). Basically, if we get a buffer in resource_from_handle, we can determine from the buffer size whether it's safe to use the CBZB clear or not. | |||
2010-07-25 | r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT | Marek Olšák | |
2010-07-25 | r300g: do not use TXPITCH_EN for power-of-two textures from the DDX | Marek Olšák | |
We were using TXPITCH_EN for textures from the DDX since ever, for nothing. | |||
2010-07-25 | r300g: cleanup texture creation code | Marek Olšák | |
This decouples initializing a texture layout/miptree description from an actual texture creation, it also partially unifies texture_create and texture_from_handle. r300_texture inherits r300_texture_desc, which inherits u_resource. The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level]. And other minor cleanups. | |||
2010-07-25 | r300g: reject resources from handles which are not large enough | Marek Olšák | |
The driver gets a buffer and its size in resource_from_handle. It computes the required minimum buffer size from given texture properties, and compares the two sizes. This is to early detect DDX bugs. | |||
2010-07-25 | r300g: cleanup texture debug logging | Marek Olšák | |
2010-07-25 | r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped textures | Marek Olšák | |
I don't remember why the alignment was there, but it seems to be no longer needed. I guess it was a dirty fix for some other bug. | |||
2010-07-21 | r300g: implement depth clamp | Marek Olšák | |
Depth clamping seems to be implicit if clipping is disabled. It's not perfect, but it's good enough for wine and passes the corresponding piglit tests. | |||
2010-07-21 | r300g: cleanup clip state emission | Marek Olšák | |
2010-07-19 | r300g: fix possible crash in destroy_context | Marek Olšák | |
The problem is destroy_context is almost NEVER called. The only test for destroy_context I know is compiz. Reported by Vinson Lee. FDO bug #29150. | |||
2010-07-19 | r300g: fix typo | Marek Olšák | |
2010-07-19 | r300g: use memory pools for buffer_create and get_transfer | Marek Olšák | |
The improvement in Tremulous: 68.9 fps -> 71.1 fps. | |||
2010-07-18 | r300g: u_upload optimisation | Dave Airlie | |
fix vb/ib uploads | |||
2010-07-17 | r300g: final fix for r3xx constant buffer emission | Marek Olšák | |
2010-07-17 | r300g: fix typo in r3xx constant buffer emission | Marek Olšák | |
Ooops. | |||
2010-07-17 | r300g: fix constant buffer emission on r3xx | Marek Olšák | |
FDO bug #29128. | |||
2010-07-16 | r300g: Remove unnecessary header. | Vinson Lee | |
2010-07-16 | r300g: inline winsys_buffer_destroy | Marek Olšák | |
2010-07-16 | r300g: do not make copies of constant buffers, emit them directly | Marek Olšák | |
2010-07-16 | r300g: rebuild winsys and command submission to support multiple contexts | Marek Olšák | |
2010-07-13 | r300g: do not advertise half_float_vertex on rv3x0 | Marek Olšák | |
rv3x0 can't do it. | |||
2010-07-13 | r300g: extend and clean up debug logging | Marek Olšák | |
2010-07-13 | r300g/swtcl: do not emit texcoords if they are also stuffed in GA | Marek Olšák | |
2010-07-13 | r300g: rework the draw_rectangle hook | Marek Olšák | |
It is a lot simplier, cleaner, and more stable now. | |||
2010-07-12 | r300g: Remove unnecessary header. | Vinson Lee | |
2010-07-12 | r300g: implement fast color clear | Marek Olšák | |
An initial implementation made by Dave Airlie. For it to be used, a color-only clear must be invoked and exactly one point-sampled render target must be set. The render target must be macrotiled (for us to overcome alignment issues) and bpp must be either 16 or 32. I can't see a difference in performance. :( Conflicts: src/gallium/drivers/r300/r300_blit.c | |||
2010-07-12 | r300g: clear and copy a resource with a rectangular point sprite | Marek Olšák | |
With an ordinary quad, the pixels on the main diagonal are computed and stored twice, which is somewhat inefficient and might not work well with specialized clear codepaths. | |||
2010-07-12 | r300g: do not use immediate mode if there is a VBO in VRAM | Marek Olšák | |
And other minor fixups. | |||
2010-07-12 | r300g: ugly fix of a hardlock in the cubestorm xscreensaver | Marek Olšák | |
FDO bug #28563. | |||
2010-07-09 | r300g: allow the GTT domain for samplers | Marek Olšák | |
This fixes sluggishness in vdrift. | |||
2010-07-09 | r300g/swtcl: fix out-of-bounds write | Marek Olšák | |
This is a typo fix, the generated code should be the same. | |||
2010-07-09 | r300g: fix texturing with negative lod bias | Marek Olšák | |
This should fix FDO bugs #28437 and #28625. | |||
2010-07-08 | r300g: store/return the stride for winsys_handle in winsys | Marek Olšák | |
2010-07-08 | r300g: fix transfering compressed textures | Marek Olšák | |
2010-07-08 | r300g: add a function for marking framebuffer atoms as dirty | Marek Olšák | |
2010-07-08 | r300g: minor fixups | Marek Olšák | |
2010-07-06 | r300/compiler: Implement KILP opcode. | Tom Stellard | |
Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-07-03 | r300g: fix warnings | Marek Olšák | |
2010-07-03 | r300/compiler: Use hardware flow control instructions for loops on r500. | Tom Stellard | |
2010-07-03 | r300g: Fix typo in r300_reg.h | Tom Stellard | |
2010-06-30 | r300g: add workaround for multiple contexts | Marek Olšák | |
2010-06-30 | r300g: move one flush from winsys to the context | Marek Olšák | |
This flush happens when changing the tiling flags, and it should really be done in the context. I hope this fixes FDO bug #28630. | |||
2010-06-28 | mesa: initial support for ARB_geometry_shader4 | Zack Rusin | |
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left. | |||
2010-06-29 | util: reference surfaces and sampler views in blitter when saving them | Marek Olšák | |
Ooops. This should possibly fix some bugs... | |||
2010-06-28 | Merge branch 'gallium-drm-driver-drescriptor' | Jakob Bornecrantz | |
Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c | |||
2010-06-27 | r300g: fix a compile error on non-debug builds | Marek Olšák | |
2010-06-27 | r300g: separate the hyperz state and pipelined FB regs out of the FB state | Marek Olšák | |
2010-06-27 | r300g: release referenced objects in destroy_context | Marek Olšák | |