summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2011-03-15gallium/util: Use PIPE_TRANSFER_DISCARD_RANGE in pipe_buffer_write.Mathias Fröhlich
Additionally, to discarding the whole buffer, use PIPE_TRANSFER_DISCARD_RANGE in pipe_buffer_write when the write covers only part of the buffer. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
2011-03-15r600g: FLT_TO_INT_FLOOR and FLT_TO_INT_RPI are vector-only instructions on ↵Henri Verbeet
Evergreen. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: fix logic error in 028987c80362eddd39176628486a456b076f0427Alex Deucher
Spotted by Henri on IRC. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-14r600g: don't set per-MRT blend bits on R600Alex Deucher
It doesn't support them. Also, we shouldn't be emitting CB_BLENDx_CONTROL on R600 as the regs don't exist there, but I'm not sure of the best way to deal with this in the current r600 winsys. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-14r600g: Original R600 does not support per-MRT blendsAlex Deucher
Only rv6xx+ support them. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-14r600g: emit SURFACE_BASE_UPDATE packet on rv6xxAlex Deucher
This packet is required when updating the DB, CB, or STRMOUT base addresses on rv6xx for the surface sync logic to work correctly. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-14r600g: Properly update MULTIWRITE_ENABLE in r600_pipe_shader_ps().Henri Verbeet
This sort of worked because blend state setup cleared MULTIWRITE_ENABLE again, but that's not something we want to depend on. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: Fix the DB_SHADER_CONTROL mask in create_ds_state().Henri Verbeet
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: Properly update DB_SHADER_CONTROL in evergreen_pipe_shader_ps().Henri Verbeet
Disable Z_EXPORT / STENCIL_EXPORT / KILL_ENABLE again if a shader doesn't use those. This is similar to 0a6f09a76a416b8672e149c520aa5bef33174223. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: Move fetch shader register setup to r600_state.c / evergreen_state.c.Henri Verbeet
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: Move r600_pipe_shader_ps() to r600_state.c.Henri Verbeet
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: Move r600_pipe_shader_vs() to r600_state.c.Henri Verbeet
The idea behind this is that anything touching registers should be in r600_state.c or evergreen_state.c. This is also consistent with evergreen_pipe_shader_vs(). Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r600g: Evergreen add support for log opcode.Rafael Monica
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-14r300g: clamp after blending for fixed-point formats onlyMarek Olšák
2011-03-13gallivm: Fix build with llvm 2.6 on 32bit platformsJosé Fonseca
2011-03-13gallivm: Use LLVM MC disassembler, instead of udis86.José Fonseca
Included in LLVM 2.7+. Unlink udis86, should support all instructions that LLVM can emit.
2011-03-13util: Silence gcc unitialized member warningJosé Fonseca
2011-03-13draw: Fix draw_variant_output::format's type.José Fonseca
2011-03-13nv50,nvc0: don't assert on cso with 0 vertex elementsChristoph Bumiller
2011-03-13rbug: Use the call mutexJakob Bornecrantz
Fixes crashes in [soft|llvm]pipe when replacing shaders
2011-03-13r600g: Only update DB_SHADER_CONTROL once in r600_pipe_shader_ps().Mathias Fröhlich
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 <Mathias.Froehlich@web.de> Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-13tgsi: Fix parsing of properties with digits in the nameJakob Bornecrantz
2011-03-13rbug: Skip drawing on disabled shadersJakob Bornecrantz
2011-03-13rbug: Remove flags from flushJakob Bornecrantz
2011-03-13i915g: Lie more so we get GLSLJakob Bornecrantz
Lots of piglit tests are lazy and wants GLSL
2011-03-13i915g: Point sprite cap could be supportedJakob Bornecrantz
2011-03-13i915g: Sort cap listJakob Bornecrantz
2011-03-13nvc0: support edge flagsChristoph Bumiller
2011-03-13nvc0: fix POLYGON_MODE_BACK macro copy/paste errorChristoph Bumiller
2011-03-13nv50,nvc0: fix pipe context switchChristoph Bumiller
2011-03-13nv50,nvc0: clean up flushesChristoph Bumiller
2011-03-13nv50,nvc0: add some missing resource referencingChristoph Bumiller
2011-03-13nvc0: mask out centroid bit for writing FP headerChristoph Bumiller
It's only 2 bit per input, centroid is set in the instruction.
2011-03-13nvc0: identify VERTEX_QUARANTINEChristoph Bumiller
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.
2011-03-13nvc0: don't enable early-z if alpha test is enabledChristoph Bumiller
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.
2011-03-13nvc0: move sprite coord replace state into csoChristoph Bumiller
It's not dependent on any other state anymore now.
2011-03-13nvc0: s/nblocksx/nblocksy for height in resource_copy_regionChristoph Bumiller
2011-03-13nvc0: fix unitialized variable in TGSI sysval decl processingChristoph Bumiller
2011-03-13nvc0: update/fix supported instruction src modifiersChristoph Bumiller
2011-03-12i915g: fix transfer coherencyDaniel Vetter
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 <daniel.vetter@ffwll.ch>
2011-03-12i915g: don't recalculate fb dimensionDaniel Vetter
The statetracker should do this for us correctly. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-12i915g: use y-tiling when the blitter is not usedDaniel Vetter
The blitter is broken. Who'd have guessed? Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-12i915g: implement copy_region using u_blitterDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>works
2011-03-12i915g: fix use after freeDaniel Vetter
Pipe templates should be copied if still needed after the create call completes. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-12gallium: Delay the creation of simple helper shadersJakob Bornecrantz
2011-03-12r600g: Fix VS sampler view offsets for r600/r700.Carl-Philip Hänsch
077c448d184799e0d9ec962013ec784c6a5c1807 missed this. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-12r600g: Fix an unused variable warning.Henri Verbeet
2011-03-12u_blitter: Do blits in linear color space.Henri Verbeet
Blits between sRGB and linear formats should happen in linear color space. This fixes piglit fbo/fbo-srgb-blit.
2011-03-12st/dri: fix warning: ‘bind’ may be used uninitialized in this functionMarek Olšák
2011-03-12llvmpipe: fix warning: ‘t0’ may be used uninitialized in this functionMarek Olšák