summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nv50,nvc0: don't assert on cso with 0 vertex elementsChristoph Bumiller2011-03-133-6/+2
|
* rbug: Use the call mutexJakob Bornecrantz2011-03-131-19/+187
| | | | Fixes crashes in [soft|llvm]pipe when replacing shaders
* r600g: Only update DB_SHADER_CONTROL once in r600_pipe_shader_ps().Mathias Fröhlich2011-03-131-16/+13
| | | | | | | | | Avoid setting the same gpu register several times in a r600_pipe_state. Compute the final value of the register and set that one time. This avoids some overhead in r600_context_pipe_state_set(). Signed-off-by: Mathias Fröhlich <[email protected]> Signed-off-by: Henri Verbeet <[email protected]>
* tgsi: Fix parsing of properties with digits in the nameJakob Bornecrantz2011-03-131-1/+1
|
* rbug: Skip drawing on disabled shadersJakob Bornecrantz2011-03-131-1/+4
|
* rbug: Remove flags from flushJakob Bornecrantz2011-03-132-6/+0
|
* i915g: Lie more so we get GLSLJakob Bornecrantz2011-03-131-2/+3
| | | | Lots of piglit tests are lazy and wants GLSL
* i915g: Point sprite cap could be supportedJakob Bornecrantz2011-03-131-1/+2
|
* i915g: Sort cap listJakob Bornecrantz2011-03-131-1/+1
|
* nvc0: support edge flagsChristoph Bumiller2011-03-134-14/+88
|
* nvc0: fix POLYGON_MODE_BACK macro copy/paste errorChristoph Bumiller2011-03-131-1/+1
|
* nv50,nvc0: fix pipe context switchChristoph Bumiller2011-03-132-10/+64
|
* nv50,nvc0: clean up flushesChristoph Bumiller2011-03-135-38/+28
|
* nv50,nvc0: add some missing resource referencingChristoph Bumiller2011-03-134-7/+64
|
* nvc0: mask out centroid bit for writing FP headerChristoph Bumiller2011-03-131-1/+1
| | | | It's only 2 bit per input, centroid is set in the instruction.
* nvc0: identify VERTEX_QUARANTINEChristoph Bumiller2011-03-133-8/+17
| | | | | | | | Well, not sure what exactly it is, but it certainly doesn't contain the control flow stack, but vertex data. Not sure about size, I've only seen the first few KiB written, but the binary driver seems to allocate more.
* nvc0: don't enable early-z if alpha test is enabledChristoph Bumiller2011-03-134-12/+20
| | | | | | Depth values are also written before the shader is executed, so if early tests are enabled, fragments that failed the alpha test were modifying the depth buffer, but they shouldn't.
* nvc0: move sprite coord replace state into csoChristoph Bumiller2011-03-132-27/+8
| | | | It's not dependent on any other state anymore now.
* nvc0: s/nblocksx/nblocksy for height in resource_copy_regionChristoph Bumiller2011-03-131-1/+1
|
* nvc0: fix unitialized variable in TGSI sysval decl processingChristoph Bumiller2011-03-131-0/+1
|
* nvc0: update/fix supported instruction src modifiersChristoph Bumiller2011-03-135-20/+31
|
* i915g: fix transfer coherencyDaniel Vetter2011-03-123-26/+7
| | | | | | | | | | | | The kernel drm takes care of all coherency as long as we don't forget to submit all outstanding commands in the batchbuffer ... Also move batchbuffer initialization up because otherwise transfers for some helper textures fail with a segmentation fault. And kill the dead code, flushes should now be correct everywhere. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: don't recalculate fb dimensionDaniel Vetter2011-03-123-31/+4
| | | | | | The statetracker should do this for us correctly. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: use y-tiling when the blitter is not usedDaniel Vetter2011-03-121-1/+4
| | | | | | The blitter is broken. Who'd have guessed? Signed-off-by: Daniel Vetter <[email protected]>
* i915g: implement copy_region using u_blitterDaniel Vetter2011-03-124-9/+128
| | | | Signed-off-by: Daniel Vetter <[email protected]>works
* i915g: fix use after freeDaniel Vetter2011-03-122-3/+3
| | | | | | | Pipe templates should be copied if still needed after the create call completes. Signed-off-by: Daniel Vetter <[email protected]>
* gallium: Delay the creation of simple helper shadersJakob Bornecrantz2011-03-122-80/+116
|
* r600g: Fix VS sampler view offsets for r600/r700.Carl-Philip Hänsch2011-03-121-1/+2
| | | | | | 077c448d184799e0d9ec962013ec784c6a5c1807 missed this. Signed-off-by: Henri Verbeet <[email protected]>
* r600g: Fix an unused variable warning.Henri Verbeet2011-03-121-3/+5
|
* u_blitter: Do blits in linear color space.Henri Verbeet2011-03-122-22/+38
| | | | | Blits between sRGB and linear formats should happen in linear color space. This fixes piglit fbo/fbo-srgb-blit.
* st/dri: fix warning: ‘bind’ may be used uninitialized in this functionMarek Olšák2011-03-121-1/+1
|
* llvmpipe: fix warning: ‘t0’ may be used uninitialized in this functionMarek Olšák2011-03-121-1/+1
|
* r300g: implement fragment color clamping in the shaderMarek Olšák2011-03-123-0/+10
| | | | | This finishes the implementation of the fragment color clamp control for ARB_color_buffer_float. I don't wanna keep this stuff in a branch...
* r600g: revert unintentional commitAdam Jackson2011-03-111-1/+0
|
* r600: Build fixAdam Jackson2011-03-111-0/+1
| | | | r600_dri.so.tmp: undefined reference to `_mesa_rgba_logicop_enabled'
* st/python: Remove flags from flush function.Vinson Lee2011-03-111-1/+1
|
* st/python: Remove the geom_flags param from is_format_supported.Vinson Lee2011-03-111-4/+2
|
* st/python: Clean up fence_finish.Vinson Lee2011-03-111-1/+1
|
* gallium: remove flags from the flush functionMarek Olšák2011-03-1165-207/+161
| | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
* gallium: remove the geom_flags param from is_format_supportedMarek Olšák2011-03-1142-123/+89
|
* gallium: cleanup fence_signalled and fence_finishMarek Olšák2011-03-1125-115/+78
| | | | So that they don't have the driver-specific param and return type.
* gallium: kill is_resource_referencedMarek Olšák2011-03-1144-462/+44
| | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers.
* swrastg: Add __DRI_TEX_BUFFER supportAdam Jackson2011-03-111-0/+1
| | | | | | | Without this, EXT_texture_from_pixmap is trivially broken. With it, it's merely subtly broken. Signed-off-by: Adam Jackson <[email protected]>
* vega: remove unused pipe varBrian Paul2011-03-111-1/+0
|
* svga: Propagate discard/unsynchronized flags to the host when doing texture ↵José Fonseca2011-03-113-12/+38
| | | | DMAs.
* util: Fix typo in u_upload_flush().José Fonseca2011-03-111-2/+2
| | | | upload->offset is how much we used. upload->size is the whole buffer size.
* r300g: fix alignement for NPOT values in hyperz setupNicolas Peninguy2011-03-111-3/+3
| | | | | | | With 3 pipes cards we need to align with NPOT values. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32945 Signed-off-by: Nicolas Peninguy <[email protected]>
* draw: remove unnecessary flushMarek Olšák2011-03-111-7/+0
|
* st/vega: remove unnecessary flushesMarek Olšák2011-03-113-14/+0
| | | | I don't see a reason we need them.
* st/mesa: remove unnecessary flushesMarek Olšák2011-03-111-2/+0
| | | | | | | The framebuffer cache flush should be implicit when calling set_framebuffer_state. There is no need to flush the command stream either.