summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2010-08-27i965: Add missing handling for BRW_OPCODE_SEL.Eric Anholt
Fixes 4 piglit tests about min, max, and clamp.
2010-08-27i965: Mask out higher bits of the result of BRW_CMP producing a boolean.Eric Anholt
When it says it sets the LSB, that's not just a hint as to where the result goes. Only the LSB is modified. Fixes 20 piglit cases.
2010-08-27i965: Fix the types of immediate integer values.Eric Anholt
When we're trying to do integer ops, handing a float in doesn't help.
2010-08-27i965: Add translation for RNDD and RNDZ.Eric Anholt
Fixes: glsl-fs-any. glsl1-integer division with uniform var
2010-08-27i965: Add support for ir_binop_mod using do_mod_to_fract.Eric Anholt
Fixes glsl-fs-mod.
2010-08-27r600g: fix vbo sizeJerome Glisse
Silence the kernel, vbo size is size - 1. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-27mesa: move null ptr check (fdo bug 29843)Brian Paul
2010-08-27mesa: Use the format info to identify packed depth/stencil formats.Nick Bowler
Due to a misunderstanding of the Z24_X8 and X8_Z24 formats, the earlier patch created depth/stencil wrappers for them. This broke swrast. Use the format info instead, which only identifies Z24_S8 and S8_Z24 as packed depth/stencil. It also has the advantage of being nicer code. Signed-off-by: Nick Bowler <nbowler@draconx.ca> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-27mesa: use atexit() handler to release GLSL compiler memoryBrian Paul
This releases a bunch of memory that was showing up as leaks with valgrind. If atexit() isn't widely supported we may need to add some #ifdef tests around the call.
2010-08-27glsl2: restructure header file for C++ and C inclusionBrian Paul
As it was, the header could not be cleanly #included by a C source.
2010-08-27glsl2: remove 'extern' keyword in .c fileBrian Paul
2010-08-27i965: Fix swapped instructions in ir_unop_abs and ir_unop_neg.Eric Anholt
Fixes glsl-fs-neg and 5 other tests.
2010-08-27i965: Add generate() handling for AND, OR, XOR.Eric Anholt
10 more piglit tests pass.