Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Return after assertion failure. | José Fonseca | 2010-08-30 | 1 | -1/+1 |
| | | | | | | Addresses the warnings: warning: ‘target’ may be used uninitialized in this function warning: ‘target_string’ may be used uninitialized in this function | ||||
* | gallivm: Compute the 4 texel offsets for linear filtering en ensemble. | José Fonseca | 2010-08-30 | 3 | -126/+280 |
| | |||||
* | glsl: Silence unused variable warning. | José Fonseca | 2010-08-30 | 1 | -0/+1 |
| | |||||
* | mesa: Fix _mesa_lookup_parameter_constant's return value. | José Fonseca | 2010-08-30 | 1 | -2/+4 |
| | | | | | | | | | Fixes gcc warning In function ‘_mesa_add_unnamed_constant’: warning: ‘pos’ may be used uninitialized in this function but also what appears to be a bug. | ||||
* | gallivm: Disable LLVM's pretty stack trace dumper. | José Fonseca | 2010-08-30 | 1 | -0/+8 |
| | | | | | | | | By default LLVM adds a signal handler to output a pretty stack trace. This signal handler is never removed, causing problems when unloading the shared object where the gallium driver resides. Thanks to Chris Li for finding this. | ||||
* | gallivm: Correct copy'n'pasted comments. | José Fonseca | 2010-08-30 | 1 | -4/+4 |
| | |||||
* | gallivm: Fix lp_build_sum_vector. | José Fonseca | 2010-08-30 | 1 | -6/+4 |
| | | | | | | | The result is scalar, so when argument is zero/undef we can pass vector zero/undef. Also, support the scalar case. | ||||
* | svga: Fix CMP translation for vertex shader targets. | Michal Krol | 2010-08-30 | 1 | -0/+19 |
| | | | | | SVGA3DOP_CMP is not supported for vertex shaders; use SLT + LRP instead. | ||||
* | svga: Re-emit bound rendertargets and texture samplers at the beginning of ↵ | José Fonseca | 2010-08-30 | 4 | -8/+27 |
| | | | | | | | | | every command buffer. Only non null resources. To ensure that relocations are emitted for every resource currently referred. | ||||
* | st/mesa: set the MaxVarying GLSL constant | Marek Olšák | 2010-08-30 | 1 | -0/+7 |
| | |||||
* | r300g: fix warning in winsys | Marek Olšák | 2010-08-30 | 1 | -0/+1 |
| | |||||
* | r600g: add DST opcode support. | Dave Airlie | 2010-08-30 | 1 | -1/+41 |
| | |||||
* | r600g: add SCS support. | Dave Airlie | 2010-08-30 | 1 | -6/+69 |
| | |||||
* | r600g: fix warning introduced by last commit. | Dave Airlie | 2010-08-30 | 1 | -1/+0 |
| | |||||
* | r600g: add initial relative support to assembler | Dave Airlie | 2010-08-30 | 4 | -6/+45 |
| | | | | | | passes another ~20 piglits. /me starts to run out low hanging fruit around now. | ||||
* | linker: Treat sized and unsized array types as the same | Ian Romanick | 2010-08-29 | 1 | -6/+20 |
| | | | | | | | | | | 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. | ||||
* | r600g: add KILP support | Dave Airlie | 2010-08-30 | 3 | -5/+23 |
| | | | | passes glsl1-discard tests | ||||
* | r600g: fix SSG and op3 neg writing | Dave Airlie | 2010-08-30 | 2 | -14/+15 |
| | | | | 8 more piglits, mainly the two SSG tests. | ||||
* | r600g : add basic loop support. | Dave Airlie | 2010-08-30 | 3 | -23/+247 |
| | | | | | | Adds BGNLOOP, BRK, CONT, ENDLOOP support, ported from r600c. 17 piglits more on r300g.tests. | ||||
* | r600g: use the values from the correct literals | Bas Nieuwenhuizen | 2010-08-30 | 1 | -4/+23 |
| | | | | | | Created an array for literals as we should not always use the last declared literal. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: added literals where needed for POW instruction | Bas Nieuwenhuizen | 2010-08-30 | 1 | -0/+9 |
| | | | | | | Fixes size calculation for the bytecode buffer. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | evergreen : fix shader const allocation and instruction bugs. | Richard Li | 2010-08-29 | 6 | -20/+48 |
| | |||||
* | glsl: Initialize data in ast_function_expression::hir. | Vinson Lee | 2010-08-29 | 1 | -1/+1 |
| | | | | | | | Completely initialize data that is passed to ir_constant constructor. Fixes piglit glsl-orangebook-ch06-bump valgrind uninitialized variable error on softpipe and llvmpipe. | ||||
* | glsl: Completely initialize value member in ir_constant constructor. | Vinson Lee | 2010-08-29 | 1 | -0/+3 |
| | | | | | | | | | 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. | ||||
* | glsl: Initialize variable in ir_swizzle::constant_expression_value. | Vinson Lee | 2010-08-29 | 1 | -1/+1 |
| | | | | | | | Complete initialize data passed to ir_constant constructor. Fixes piglit glsl-mat-from-int-ctor-02 valgrind unintialized variable error with softpipe and llvmpipe. | ||||
* | glsl: Initialize data in read_constant. | Vinson Lee | 2010-08-29 | 1 | -1/+1 |
| | | | | | | | Completely initialize data that is passed into a ir_constant constructor. Fixes piglit glsl-fs-mix valgrind uninitialized variable error on softpipe and llvmpipe. | ||||
* | ir_to_mesa: Initialize variable in ir_to_mesa_visitor::visit. | Vinson Lee | 2010-08-29 | 1 | -1/+1 |
| | | | | | Fixes piglit glsl-fs-loop valgrind uninitialized value error on softpipe and llvmpipe. | ||||
* | r600g: drop file I added by mistake in a previous commit | Dave Airlie | 2010-08-29 | 1 | -186/+0 |
| | |||||
* | glsl: Initialize the rest of values of ir_constant::value. | Vinson Lee | 2010-08-28 | 1 | -0/+12 |
| | | | | | Fixes valgrind uninitialized value errors in the piglit shader tests for softpipe and llvmpipe. | ||||
* | gallium: Remove unnecessary header from p_state.h. | Vinson Lee | 2010-08-28 | 1 | -1/+0 |
| | | | | Remove p_screen.h. | ||||
* | nvfx: Remove util_is_pot in favor of util_is_power_of_two. | Vinson Lee | 2010-08-28 | 2 | -5/+5 |
| | | | | This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812. | ||||
* | util: Include missing header in u_draw.h. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_state.h for complete type to pipe_draw_info. | ||||
* | util: Add forward declaration in u_transfer.h. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | |||||
* | r300g,u_blitter: use u_framebuffer | Marek Olšák | 2010-08-29 | 4 | -38/+6 |
| | | | | Removing another function duplication in u_blitter. | ||||
* | util: remove util_is_pot in favor of util_is_power_of_two | Marek Olšák | 2010-08-29 | 6 | -18/+8 |
| | | | | The function was duplicated. | ||||
* | i965: Add initial support for texturing to the new FS backend. | Eric Anholt | 2010-08-28 | 1 | -15/+128 |
| | | | | Fixes 11 piglit tests. | ||||
* | i965: Add disasm for gen5 sampler messages. | Eric Anholt | 2010-08-28 | 1 | -6/+19 |
| | |||||
* | i965: Move libdrm/C++ hack introduced in fa2deb3d to intel_context.h | Cedric Vivier | 2010-08-28 | 1 | -5/+0 |
| | | | | | | | Fixes build on Linux/GCC 4.4 as libdrm includes are also used by other brw_fs_*.cpp files. Bug #29855 | ||||
* | st/mesa: Include missing header in st_mesa_to_tgsi.c. | Vinson Lee | 2010-08-28 | 1 | -1/+2 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | softpipe: Include missing header in sp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | draw: Include missing header in draw_vs_llvm.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for completely type to pipe_screen. | ||||
* | llvmpipe: Include missing header in lp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | r300g: fix blitting between 2D NPOT mipmaps | Marek Olšák | 2010-08-28 | 4 | -23/+51 |
| | | | | | | | | | 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. | ||||
* | r300g: fix min/max lod computation | Mathias Fröhlich | 2010-08-28 | 1 | -2/+2 |
| | |||||
* | r300g: set the correct value in PVS_NUM_CNTLRS | Marek Olšák | 2010-08-28 | 1 | -1/+1 |
| | | | | As per docs. | ||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-28 | 1 | -1/+0 |
| | |||||
* | glsl2: Decompose matrix comparison into vector operations | Ian Romanick | 2010-08-27 | 1 | -9/+97 |
| | |||||
* | trace: Don't try to dump the rgba array if null | Jakob Bornecrantz | 2010-08-28 | 1 | -1/+4 |
| | |||||
* | glsl: Rename a couple of common variable names in mat_op_to_vec. | Eric Anholt | 2010-08-27 | 1 | -16/+18 |
| | | | | | It was easy while typing implementations to accidentally overwrite the original expression or assignment variables. | ||||
* | glsl: Make mat_op_to_vec allocate out of the IR's parent. | Eric Anholt | 2010-08-27 | 1 | -32/+36 |
| | | | | | This will reduce memory consumption of compiled shaders by not dragging optimized-out children around. |