summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-20llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTSBrian Paul
2010-09-20r600g: add back reference check when mapping bufferJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-20draw: fix test for using the wide-point stageBrian Paul
As it was, we weren't obeying the draw->pipeline.point_sprite state. Fixes point sprites in llvmpipe driver.
2010-09-20r600g: use pipe context for flushing inside mapJerome Glisse
This allow to share code path btw old & new, also remove check on reference this might make things a little slower but new design doesn't use reference stuff. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-20llvmpipe: implement sprite coord origin modesBrian Paul
2010-09-20python/tests: Fixed tri.py for API and TGSI syntax changes.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-20llvmpipe: rename sprite field, add sprite_coord_originBrian Paul
2010-09-20r600g: Implemented the Z and W component write for the SCS opcode.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-20llvmpipe: clean-up, comments in setup_point_coefficient()Brian Paul
2010-09-20r600g: Honour destination operand's writemask in the SCS implementation.Tilman Sauerbeck
If we are not going to write to the X or Y components of the destination vector we also don't need to prepare to compute SIN or COS. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-20llvmpipe: reformatting, remove trailing whitespace, etcBrian Paul
2010-09-20llvmpipe: indentation fixBrian Paul
2010-09-20llvmpipe: maintain fragment shader state for draw moduleBrian Paul
2010-09-20softpipe: fix whitespaceLuca Barbieri
2010-09-20tgsi: add switch/case opcodes to tgsi_opcode_tmp.hLuca Barbieri
2010-09-20softpipe: make z/s test always pass if no zsbuf, instead of crashingLuca Barbieri
D3D10 specifies this.
2010-09-20gallium: avoid the C++ keyword "template" in sw_winsys.hLuca Barbieri
2010-09-20gallivm: remove debug codeBrian Paul
2010-09-20llvmpipe: fix query bug when no there's no sceneBrian Paul
2010-09-20st/mesa: fix assertion failure in GetTexImage for cubemapsMarek Olšák
Can be reproduced with mesa/demos/src/tests/blitfb. NOTE: This is a candidate for the 7.9 branch.
2010-09-20r600g: move chip class to radeon common structureJerome Glisse
So texture code can be shared btw new state design & old one. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-20glsl: Fix broken handling of ir_binop_equal and ir_binop_nequal.Kenneth Graunke
When ir_binop_all_equal and ir_binop_any_nequal were introduced, the meaning of these two opcodes changed to return vectors rather than a single scalar, but the constant expression handling code was incorrectly written and only worked for scalars. As a result, only the first component of the returned vector would be properly initialized.
2010-09-20glsl: Add comments to clarify the types of comparison binops.Kenneth Graunke
2010-09-20glsl2: silence compiler warnings in printf() callsBrian Paul
Such as: "ir_validate.cpp:143: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘ir_variable*’"
2010-09-20mesa: don't call valid_texture_object() in non-debug buildsBrian Paul
This reverts commit c32bac57ed445e48856d74113364287ed6e5cdd4 and silences the warning differently. The _mesa_reference_texobj() function is called quite a bit and we don't want to call valid_texture_object() all the time in non- debug builds.
2010-09-20glsl: Add doxygen commentsIan Romanick
2010-09-20i915g: Link with wrapper sw winsys with sconsJakob Bornecrantz
2010-09-20svga: Integer constant register file has a separate namespace.Michal Krol
Count int and float constants independently. Since there are only few i# constants available and hundreds of c# constants, it would be too easy to end up with an i# declaration out of its range.
2010-09-20svga: Fix relative addressing translation for pixel shaders.Michal Krol
Pixel shaders do not have address registers a#, only one loop register aL. Our only hope is to assume the address register is in fact a loop counter and replace it with aL. Do not translate ARL instruction for pixel shaders -- MOVA instruction is only valid for vertex saders. Make it more explicit relative addressing of inputs is only valid for pixel shaders and constants for vertex shaders.
2010-09-19r600g: Cleanup viewport floats.Corbin Simpson
2010-09-19r600g: Clean up PS setup.Corbin Simpson
I didn't do r600d according to the docs; I split EXPORT_MODE to be a bit more useful and obvious. Hope this is okay.
2010-09-20r600g: only flush for the correct colorbuffer, not all of them.Dave Airlie
2010-09-20r600g: add missing BC_INST wrapper for evergreenDave Airlie
2010-09-20r600g: fixup r700 CB_SHADER_CONTROL register.Dave Airlie
r600c emits this with a mask of each written output.
2010-09-20r600g: fix r700 cube map sizing.Dave Airlie
this fixes fbo-cubemap on r700.
2010-09-20r600g: add color/texture support for more depth formats.Dave Airlie
2010-09-20r600g: add z16 to color setupDave Airlie
2010-09-20r600g: fix tiling support for ddx supplied buffersDave Airlie
needed to emit some more relocs to the kernel.
2010-09-19r600g: "tmp" is such a bad name for a texture.Corbin Simpson
2010-09-19r600g: Fix false and true.Corbin Simpson
2010-09-19r600g: Clean up some indentation and |= vs. | usage.Corbin Simpson
2010-09-19r600g: Deobfuscate and comment a few more functions in r600_hw_states.Corbin Simpson
2010-09-19r600g: Trivially deobfuscate r600_hw_states.Corbin Simpson
2010-09-19r600g: Use align() instead of handrolled code.Corbin Simpson
2010-09-20r600g: drop debugging that snuck inDave Airlie
2010-09-20r600g: clean up valgrind issues on maxtargets test.Dave Airlie
2010-09-20r600g: fix fbo-drawbuffers-maxtargetsDave Airlie
we were leaking buffers since the flush code was added, it wasn't dropping references. move setting up flush to the set_framebuffer_state. clean up the flush state object. make more space in the BOs array for flushing.
2010-09-20r600g: send correct surface base update for multi-cbufsDave Airlie
2010-09-20r600g: modify index buffers for sizes the hw can't deal with.Dave Airlie
this just uses the common code from r300g now in util to do translations on r600g.
2010-09-20util/r300g: split the r300 index buffer modifier functions out to utilDave Airlie
These can be used by other drivers, like r600g. Signed-off-by: Dave Airlie <airlied@redhat.com>