summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-26graw: Remove graw-null.José Fonseca
Pointless now that the graw tests can be built independently of any graw implementation.
2010-08-26graw: Dynamically load graw libraries.José Fonseca
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.
2010-08-26scons: Fix old script compatability logic.José Fonseca
Sconscript could be invoked twice if specified in the command line.
2010-08-25util: Include missing headers in u_tile.h.Vinson Lee
Include p_format.h for enum pipe_format symbol. Include p_state.h for pipe_box symbol.
2010-08-25util: Clean up header file inclusion in u_upload_mgr.h.Vinson Lee
Remove p_defines.h. Remove unnecessary forward declarations. Add forward declaration for pipe_context.
2010-08-26r300g: fix constant buffer upload once again for r3xx->r4xxMarek Olšák
2010-08-25r600: Remove unnecessary headers.Vinson Lee
2010-08-25r300: Remove unnecessary header.Vinson Lee
2010-08-25Revert "mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH."Eric Anholt
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
2010-08-25glsl: fix crash with variable indexing into array in a structAras Pranckevicius
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-08-25i965: Fix detection of implicit MOVs to message regs in brw_optimize.c.Eric Anholt
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.
2010-08-26nouveau: handle early initialization errorsMarcin Slusarz
handle very early errors in pipe_screen creation (failure of nouveau_screen_init in nv50_screen_create) Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-08-25r600g: simplify statesJerome Glisse
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 <jglisse@redhat.com>
2010-08-25mesa: Remove now-unused _mesa_add_sampler().Eric Anholt
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.
2010-08-25ir_to_mesa: Add support for samplers in structures.Eric Anholt
Fixes: glsl-fs-uniform-sampler-struct glsl-fs-sampler-numbering-3 Bug #29690
2010-08-25mesa: Remove now-unused _mesa_add_uniform.Eric Anholt
We had to inline it to avoid doing a double-lookup in the process of adding assertion checks.
2010-08-25ir_to_mesa: Convert this code to using linker.cpp's uniform locations.Eric Anholt
Fixes: glsl-fs-uniform-array-4.
2010-08-25glsl: Make uniform linking generate separate uniforms for struct members.Eric Anholt
This is a step towards making the linker code usable as our uniform setup, instead of having it wedged into ir_to_mesa.cpp.
2010-08-25mesa: Remove the "Used" flag in gl_program_parameter.Eric Anholt
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.
2010-08-25r300/compiler: emulate relative addressing with negative offsets in VSMarek Olšák
3 more piglits, cool.
2010-08-25nvfx: Set pointer to NULL after free.Vinson Lee
Guard against potential use after free.
2010-08-25r300g: fix potentially uninitialized variables in create_rs_stateMarek Olšák
It had no impact on correctness, though. Reported by Vinson Lee.
2010-08-25st/mesa: Remove unnecessary header.Vinson Lee
2010-08-25llvmpipe: fix bad patch applicationKeith Whitwell
2010-08-25llvmpipe: Remove unnecessary header.Vinson Lee
2010-08-25glsl/mesa: fixes for MSVCAras Pranckevicius
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-25intel: Support EGL_MESA_image_drmKristian Høgsberg
2010-08-25intel: Take an intel_screen pointer in intel_alloc_region_* functionsKristian Høgsberg
2010-08-25egl_dri2: Add support for MESA_image_drmKristian Høgsberg
2010-08-25egl: Add EGL_MESA_drm_image extensionKristian Høgsberg
Create EGLImages from DRM buffer handles.
2010-08-25llvmpipe: track drawing region as a single u_rectKeith Whitwell
2010-08-25llvmpipe: better triangle debuggingKeith Whitwell
2010-08-25llvmpipe: cull zero-area triangles earlyKeith Whitwell
2010-08-25llvmpipe: more rasterization countersKeith Whitwell
2010-08-25llvmpipe: move some fence functions into lp_screen.cKeith Whitwell
2010-08-25llvmpipe: wake all threads waiting on a fenceKeith Whitwell
2010-08-25llvmpipe: fence debugging, add llvmpipe_finishKeith Whitwell
2010-08-25tgsi: helper for dumping tokens as hexKeith Whitwell
2010-08-25draw: specialized cliptesting routinesKeith Whitwell
2010-08-25util: add rectangle helpers to u_rect.hKeith Whitwell
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.
2010-08-25gallium/docs: notes on scissor stateKeith Whitwell
2010-08-25llvmpipe: remove dead codeKeith Whitwell
2010-08-25draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes.Chia-I Wu
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).
2010-08-25gallium: Use draw_set_index_buffer and others.Chia-I Wu
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.
2010-08-25svga: Remove redundant svga_draw_range_elements.Chia-I Wu
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.
2010-08-25draw: Add draw_set_index_buffer and others.Chia-I Wu
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.
2010-08-25nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee
Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.
2010-08-25nvfx: Include missing headers in nvfx_shader.h.Vinson Lee
Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
2010-08-25i965: Remove unnecessary header.Vinson Lee
2010-08-25r600: Include missing header in evergreen_fragprog.c.Vinson Lee
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'