summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12glsl: Document glsl_type::sampler_dimensionalityChad Versace
2011-03-12Revert "mesa: Convert fixed function fragment program generator to GLSL IR."Eric Anholt
This reverts commit 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5. There were regressions (Bug #35244) and more review has been requested.
2011-03-12Revert "mesa: Track a computed _CurrentFragmentProgram for current ↵Eric Anholt
gl_shader_program" This reverts commit b4452c3baad6e0379eeb7f22f2e51d13999e1323.
2011-03-12Revert "i965: Use the fixed function GLSL program instead of the ARB program."Eric Anholt
This reverts commit 81b34a4e3a7aec9cdf2781757408dc5e9eec79cb. There were regressions in the core change that this depends on.
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-12r300/compiler: do not set TEX_IGNORE_UNCOVERED on r500Marek Olšák
The docs say it can be set for direct texture lookups, but even that causes problems. This fixes the wireframe bug: https://bugs.freedesktop.org/show_bug.cgi?id=32688 NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-03-12r300/compiler: TEX instructions don't support negation on source argumentsMarek Olšák
This fixes piglit: - glsl-fs-texture2d-dependent-4 NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-03-12r300/compiler: Abs doesn't cancel Negate (in the conversion to native swizzles)Marek Olšák
NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-03-12r300/compiler: fix translating the src negate bits in pair_translateMarek Olšák
(1, -_, ...) was converted to (-1, ...) because of the negation in the second component. Masking out the unused bits fixes this. Piglit: - glsl-fs-texture2d-branching NOTE: This is a candidate for the 7.9 and 7.10 branches.
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
2011-03-12r300g: implement fragment color clamping in the shaderMarek Olšák
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...
2011-03-12r300/compiler: fix the saturate modifier when applied to TEX instructionsMarek Olšák
This bug can only be triggered if the source texture is either signed or float.
2011-03-11r600g: revert unintentional commitAdam Jackson
2011-03-11nouveau: Build fixAdam Jackson
nouveau_vieux_dri.so.tmp: undefined reference to `_mesa_need_secondary_color'
2011-03-11r600: Build fixAdam Jackson
r600_dri.so.tmp: undefined reference to `_mesa_rgba_logicop_enabled'
2011-03-11st/python: Remove flags from flush function.Vinson Lee
2011-03-11st/python: Remove the geom_flags param from is_format_supported.Vinson Lee
2011-03-11st/python: Clean up fence_finish.Vinson Lee
2011-03-11scons: Move texenvprogram.c to ff_fragment_shader.cpp.Vinson Lee
2011-03-11i965: Use the fixed function GLSL program instead of the ARB program.Eric Anholt
This gets one more piece of the pipeline onto the new codegen backend. Once ARB_fragment_program can generate GLSL programs, we can nuke the old backend.
2011-03-11mesa: Track a computed _CurrentFragmentProgram for current gl_shader_programEric Anholt
This is like how we track FragmentProgram._Current for the computed ARB fragment program for fixed function texenv, but this gives direct access to the gl_shader_program for drivers to codegen from, skipping ARB_fp.
2011-03-11mesa: Convert fixed function fragment program generator to GLSL IR.Eric Anholt
This is a step towards providing a direct route for drivers accepting GLSL IR for codegen. Perhaps more importantly, it runs the fixed function fragment program through the GLSL IR optimization. Having seen how easy it is to make ugly fixed function texenv code that can do unnecessary work, this may improve real applicatinos.