summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-30gallivm: Correct copy'n'pasted comments.José Fonseca
2010-08-30gallivm: Fix lp_build_sum_vector.José Fonseca
The result is scalar, so when argument is zero/undef we can pass vector zero/undef. Also, support the scalar case.
2010-08-30svga: Fix CMP translation for vertex shader targets.Michal Krol
SVGA3DOP_CMP is not supported for vertex shaders; use SLT + LRP instead.
2010-08-30svga: Re-emit bound rendertargets and texture samplers at the beginning of ↵José Fonseca
every command buffer. Only non null resources. To ensure that relocations are emitted for every resource currently referred.
2010-08-30st/mesa: set the MaxVarying GLSL constantMarek Olšák
2010-08-30r300g: fix warning in winsysMarek Olšák
2010-08-30r600g: add DST opcode support.Dave Airlie
2010-08-30r600g: add SCS support.Dave Airlie
2010-08-30r600g: fix warning introduced by last commit.Dave Airlie
2010-08-30r600g: add initial relative support to assemblerDave Airlie
passes another ~20 piglits. /me starts to run out low hanging fruit around now.
2010-08-29linker: Treat sized and unsized array types as the sameIan Romanick
If two shaders contain variables declared with array types that have the same base type but one is sized and the other is not, linking should succeed. I'm not super pleased with the way this is implemented, and I am more convinced than ever that we need more linker tests. We especially need "negative" tests. Fixes bugzilla #29697 and piglit test glsl-link-array-01.
2010-08-30r600g: add KILP supportDave Airlie
passes glsl1-discard tests
2010-08-30r600g: fix SSG and op3 neg writingDave Airlie
8 more piglits, mainly the two SSG tests.
2010-08-30r600g : add basic loop support.Dave Airlie
Adds BGNLOOP, BRK, CONT, ENDLOOP support, ported from r600c. 17 piglits more on r300g.tests.
2010-08-30r600g: use the values from the correct literalsBas Nieuwenhuizen
Created an array for literals as we should not always use the last declared literal. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-30r600g: added literals where needed for POW instructionBas Nieuwenhuizen
Fixes size calculation for the bytecode buffer. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-29evergreen : fix shader const allocation and instruction bugs.Richard Li
2010-08-29glsl: Initialize data in ast_function_expression::hir.Vinson Lee
Completely initialize data that is passed to ir_constant constructor. Fixes piglit glsl-orangebook-ch06-bump valgrind uninitialized variable error on softpipe and llvmpipe.
2010-08-29glsl: Completely initialize value member in ir_constant constructor.Vinson Lee
The ir_constant::ir_constant(const struct glsl_type *type, exec_list *value_list) did not completely initialize the entire value member. Fixes piglit glsl-fs-sampler-numbering-2 valgrind uninitialized value error in softpipe and llvmpipe.
2010-08-29glsl: Initialize variable in ir_swizzle::constant_expression_value.Vinson Lee
Complete initialize data passed to ir_constant constructor. Fixes piglit glsl-mat-from-int-ctor-02 valgrind unintialized variable error with softpipe and llvmpipe.
2010-08-29glsl: Initialize data in read_constant.Vinson Lee
Completely initialize data that is passed into a ir_constant constructor. Fixes piglit glsl-fs-mix valgrind uninitialized variable error on softpipe and llvmpipe.
2010-08-29ir_to_mesa: Initialize variable in ir_to_mesa_visitor::visit.Vinson Lee
Fixes piglit glsl-fs-loop valgrind uninitialized value error on softpipe and llvmpipe.
2010-08-29r600g: drop file I added by mistake in a previous commitDave Airlie
2010-08-28glsl: Initialize the rest of values of ir_constant::value.Vinson Lee
Fixes valgrind uninitialized value errors in the piglit shader tests for softpipe and llvmpipe.
2010-08-28gallium: Remove unnecessary header from p_state.h.Vinson Lee
Remove p_screen.h.
2010-08-28nvfx: Remove util_is_pot in favor of util_is_power_of_two.Vinson Lee
This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812.
2010-08-28util: Include missing header in u_draw.h.Vinson Lee
Include p_state.h for complete type to pipe_draw_info.
2010-08-28util: Add forward declaration in u_transfer.h.Vinson Lee
2010-08-29r300g,u_blitter: use u_framebufferMarek Olšák
Removing another function duplication in u_blitter.
2010-08-29util: remove util_is_pot in favor of util_is_power_of_twoMarek Olšák
The function was duplicated.
2010-08-28i965: Add initial support for texturing to the new FS backend.Eric Anholt
Fixes 11 piglit tests.
2010-08-28i965: Add disasm for gen5 sampler messages.Eric Anholt
2010-08-28i965: Move libdrm/C++ hack introduced in fa2deb3d to intel_context.hCedric Vivier
Fixes build on Linux/GCC 4.4 as libdrm includes are also used by other brw_fs_*.cpp files. Bug #29855
2010-08-28st/mesa: Include missing header in st_mesa_to_tgsi.c.Vinson Lee
Include p_screen.h for complete type to pipe_screen.
2010-08-28softpipe: Include missing header in sp_flush.c.Vinson Lee
Include p_screen.h for complete type to pipe_screen.
2010-08-28draw: Include missing header in draw_vs_llvm.c.Vinson Lee
Include p_screen.h for completely type to pipe_screen.
2010-08-28llvmpipe: Include missing header in lp_flush.c.Vinson Lee
Include p_screen.h for complete type to pipe_screen.
2010-08-28r300g: fix blitting between 2D NPOT mipmapsMarek Olšák
Even though MIP filtering is not supported, we can bind an arbitrary mipmap as the zero mipmap level. NPOT textures now follow GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MIN_LOD. This fixes piglit/fbo-copyteximage.
2010-08-28r300g: fix min/max lod computationMathias Fröhlich
2010-08-28r300g: set the correct value in PVS_NUM_CNTLRSMarek Olšák
As per docs.
2010-08-28llvmpipe: Remove unnecessary header.Vinson Lee
2010-08-27glsl2: Decompose matrix comparison into vector operationsIan Romanick
2010-08-28trace: Don't try to dump the rgba array if nullJakob Bornecrantz
2010-08-27glsl: Rename a couple of common variable names in mat_op_to_vec.Eric Anholt
It was easy while typing implementations to accidentally overwrite the original expression or assignment variables.
2010-08-27glsl: Make mat_op_to_vec allocate out of the IR's parent.Eric Anholt
This will reduce memory consumption of compiled shaders by not dragging optimized-out children around.
2010-08-27i965: Set the pop count on BRK/CONT inside of an if statement in the FS.Eric Anholt
This is the same as 8de8c97275e9555183a7e8f2238143657bbe60b2 for the VS, and fixes glsl-fs-if-nested-loop and the mandelbrot demo. Bug #29498
2010-08-27glsl: Regenerate for double destroy fix.Eric Anholt
2010-08-27glsl: Protect against double compiler-destroy.Eric Anholt
DRI was doing teardown when we close the last screen, then an atexit() was added to call it as well.
2010-08-27dri: Get prototype for _mesa_destroy_compiler().Eric Anholt
Bug #29665.
2010-08-27i965: Don't strip negate/abs flags when assigning uniform locations.Eric Anholt
Fixes glsl-algebraic-sub-zero-4.