aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* graw: Dynamically load graw libraries.José Fonseca2010-08-2612-66/+161
| | | | | | | | | This allows to build multiple graws libs simultaneously and avoid unnecessary rebuilds of the tests. Also remove graw_util.c from inside the graw implementation -- it was only being provided by one implementation, and graw tests were linking against gallium anyway.
* scons: Fix old script compatability logic.José Fonseca2010-08-261-10/+5
| | | | Sconscript could be invoked twice if specified in the command line.
* util: Include missing headers in u_tile.h.Vinson Lee2010-08-251-0/+3
| | | | | Include p_format.h for enum pipe_format symbol. Include p_state.h for pipe_box symbol.
* util: Clean up header file inclusion in u_upload_mgr.h.Vinson Lee2010-08-251-4/+1
| | | | | | Remove p_defines.h. Remove unnecessary forward declarations. Add forward declaration for pipe_context.
* r300g: fix constant buffer upload once again for r3xx->r4xxMarek Olšák2010-08-261-1/+1
|
* r600: Remove unnecessary headers.Vinson Lee2010-08-255-8/+0
|
* r300: Remove unnecessary header.Vinson Lee2010-08-251-1/+0
|
* Revert "mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH."Eric Anholt2010-08-251-0/+2
| | | | | | | | | | This reverts commit 001a7bfdfc8b3c8930d5ced21982dbdfb8cd35b3. I hadn't found the section of the spec clarifying that the old behavior was right. Reverting fixes the new version of the testcase, and the Humus demos that could no longer find their uniforms. Bug #29782 Bug #29783
* glsl: fix crash with variable indexing into array in a structAras Pranckevicius2010-08-251-1/+7
| | | | Signed-off-by: Ian Romanick <[email protected]>
* i965: Fix detection of implicit MOVs to message regs in brw_optimize.c.Eric Anholt2010-08-251-24/+38
| | | | | | | Texcoords in AmbientApertureLighting were getting trashed since the move of math arguments to implied moves, due to the logic for detecting ALU message reg writes overriding the logic for SEND implicit message reg writes.
* nouveau: handle early initialization errorsMarcin Slusarz2010-08-262-2/+4
| | | | | | | handle very early errors in pipe_screen creation (failure of nouveau_screen_init in nv50_screen_create) Signed-off-by: Francisco Jerez <[email protected]>
* r600g: simplify statesJerome Glisse2010-08-2515-1720/+8277
| | | | | | | | Directly build PM4 packet, avoid using malloc (no states are bigger than 128 dwords), remove unecessary informations, remove pm4 building in favor of prebuild pm4 packet. Signed-off-by: Jerome Glisse <[email protected]>
* mesa: Remove now-unused _mesa_add_sampler().Eric Anholt2010-08-252-41/+0
| | | | | | We do the generation of "what sampler number within Parameters are we" right in ir_to_mesa.cpp, instead of repeatedly walking the existing list to find out.
* ir_to_mesa: Add support for samplers in structures.Eric Anholt2010-08-251-109/+122
| | | | | | | Fixes: glsl-fs-uniform-sampler-struct glsl-fs-sampler-numbering-3 Bug #29690
* mesa: Remove now-unused _mesa_add_uniform.Eric Anholt2010-08-252-35/+0
| | | | | We had to inline it to avoid doing a double-lookup in the process of adding assertion checks.
* ir_to_mesa: Convert this code to using linker.cpp's uniform locations.Eric Anholt2010-08-253-127/+78
| | | | Fixes: glsl-fs-uniform-array-4.
* glsl: Make uniform linking generate separate uniforms for struct members.Eric Anholt2010-08-251-42/+89
| | | | | This is a step towards making the linker code usable as our uniform setup, instead of having it wedged into ir_to_mesa.cpp.
* mesa: Remove the "Used" flag in gl_program_parameter.Eric Anholt2010-08-253-33/+1
| | | | | | This was in place for uniform handling, but nothing actually needs the value now, since presence in a parameter list indicates that the uniform was used as far as the linker was concerned.
* r300/compiler: emulate relative addressing with negative offsets in VSMarek Olšák2010-08-251-0/+74
| | | | 3 more piglits, cool.
* nvfx: Set pointer to NULL after free.Vinson Lee2010-08-251-1/+3
| | | | Guard against potential use after free.
* r300g: fix potentially uninitialized variables in create_rs_stateMarek Olšák2010-08-251-5/+2
| | | | | | It had no impact on correctness, though. Reported by Vinson Lee.
* st/mesa: Remove unnecessary header.Vinson Lee2010-08-251-1/+0
|
* llvmpipe: fix bad patch applicationKeith Whitwell2010-08-251-5/+4
|
* llvmpipe: Remove unnecessary header.Vinson Lee2010-08-251-1/+0
|
* glsl/mesa: fixes for MSVCAras Pranckevicius2010-08-252-0/+2
| | | | Signed-off-by: Brian Paul <[email protected]>
* intel: Support EGL_MESA_image_drmKristian Høgsberg2010-08-253-0/+87
|
* intel: Take an intel_screen pointer in intel_alloc_region_* functionsKristian Høgsberg2010-08-256-37/+32
|
* egl_dri2: Add support for MESA_image_drmKristian Høgsberg2010-08-251-0/+223
|
* egl: Add EGL_MESA_drm_image extensionKristian Høgsberg2010-08-254-0/+55
| | | | Create EGLImages from DRM buffer handles.
* llvmpipe: track drawing region as a single u_rectKeith Whitwell2010-08-253-63/+86
|
* llvmpipe: better triangle debuggingKeith Whitwell2010-08-252-19/+67
|
* llvmpipe: cull zero-area triangles earlyKeith Whitwell2010-08-251-2/+3
|
* llvmpipe: more rasterization countersKeith Whitwell2010-08-253-6/+29
|
* llvmpipe: move some fence functions into lp_screen.cKeith Whitwell2010-08-254-57/+79
|
* llvmpipe: wake all threads waiting on a fenceKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: fence debugging, add llvmpipe_finishKeith Whitwell2010-08-2513-65/+74
|
* tgsi: helper for dumping tokens as hexKeith Whitwell2010-08-252-13/+25
|
* draw: specialized cliptesting routinesKeith Whitwell2010-08-2513-208/+269
|
* util: add rectangle helpers to u_rect.hKeith Whitwell2010-08-251-4/+53
| | | | | | This begins a process of repurposing this file. The existing usage is as a header file for some software blit fallbacks, which should be moved to a more appropriately named header.
* gallium/docs: notes on scissor stateKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: remove dead codeKeith Whitwell2010-08-251-37/+0
|
* draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes.Chia-I Wu2010-08-253-28/+0
| | | | | | UNDEFINED_VERTEX_ID is used by draw_pipe_vbuf to decide whether a vertex has been emitted or not. The non-pipeline pathes do not use it (they tell the frontend the max vertex count when prepare() is called).
* gallium: Use draw_set_index_buffer and others.Chia-I Wu2010-08-2517-172/+80
| | | | | | Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
* svga: Remove redundant svga_draw_range_elements.Chia-I Wu2010-08-253-87/+45
| | | | | | | That is, implement draw_vbo directly. As a result, svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo. This commit should not have any functional change.
* draw: Add draw_set_index_buffer and others.Chia-I Wu2010-08-255-31/+104
| | | | | | | | | This commit adds draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. The idea behind the new functions is that an index buffer should be a state. draw_arrays and draw_set_mapped_element_buffer are preserved, but the latter will be removed soon.
* nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee2010-08-251-2/+2
| | | | | | | Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
* nvfx: Include missing headers in nvfx_shader.h.Vinson Lee2010-08-251-0/+4
| | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
* i965: Remove unnecessary header.Vinson Lee2010-08-251-1/+0
|
* r600: Include missing header in evergreen_fragprog.c.Vinson Lee2010-08-251-0/+1
| | | | | | | | | Include r600_emit.h for r600EmitShader and r600EmitShaderConsts symbols. Fixes the following GCC warnings. evergreen_fragprog.c: In function 'evergreenSetupFragmentProgram': evergreen_fragprog.c:521: warning: implicit declaration of function 'r600EmitShader' evergreen_fragprog.c:778: warning: implicit declaration of function 'r600EmitShaderConsts'
* r600: Include missing header in evergreen_vertprog.c.Vinson Lee2010-08-251-0/+1
| | | | | | | | Include r600_emit.h for r600EmitShader and r600EmitShaderConsts symbols. Fixes the following GCC warnings. evergreen_vertprog.c:614: warning: implicit declaration of function 'r600EmitShader' evergreen_vertprog.c:701: warning: implicit declaration of function 'r600EmitShaderConsts'