Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Add include guard in u_split_prim.h. | Vinson Lee | 2010-08-25 | 1 | -0/+6 |
| | |||||
* | util: Include missing headers in u_split_prim.h. | Vinson Lee | 2010-08-25 | 1 | -1/+4 |
| | | | | | Include p_compiler.h for boolean symbol. Include u_debug.h for assert symbol. | ||||
* | graw: Remove graw-null. | José Fonseca | 2010-08-26 | 4 | -160/+1 |
| | | | | | Pointless now that the graw tests can be built independently of any graw implementation. | ||||
* | graw: Dynamically load graw libraries. | José Fonseca | 2010-08-26 | 12 | -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é Fonseca | 2010-08-26 | 1 | -10/+5 |
| | | | | Sconscript could be invoked twice if specified in the command line. | ||||
* | util: Include missing headers in u_tile.h. | Vinson Lee | 2010-08-25 | 1 | -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 Lee | 2010-08-25 | 1 | -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->r4xx | Marek Olšák | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | r600: Remove unnecessary headers. | Vinson Lee | 2010-08-25 | 5 | -8/+0 |
| | |||||
* | r300: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | Revert "mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH." | Eric Anholt | 2010-08-25 | 1 | -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 struct | Aras Pranckevicius | 2010-08-25 | 1 | -1/+7 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | i965: Fix detection of implicit MOVs to message regs in brw_optimize.c. | Eric Anholt | 2010-08-25 | 1 | -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 errors | Marcin Slusarz | 2010-08-26 | 2 | -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 states | Jerome Glisse | 2010-08-25 | 15 | -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 Anholt | 2010-08-25 | 2 | -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 Anholt | 2010-08-25 | 1 | -109/+122 |
| | | | | | | | Fixes: glsl-fs-uniform-sampler-struct glsl-fs-sampler-numbering-3 Bug #29690 | ||||
* | mesa: Remove now-unused _mesa_add_uniform. | Eric Anholt | 2010-08-25 | 2 | -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 Anholt | 2010-08-25 | 3 | -127/+78 |
| | | | | Fixes: glsl-fs-uniform-array-4. | ||||
* | glsl: Make uniform linking generate separate uniforms for struct members. | Eric Anholt | 2010-08-25 | 1 | -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 Anholt | 2010-08-25 | 3 | -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 VS | Marek Olšák | 2010-08-25 | 1 | -0/+74 |
| | | | | 3 more piglits, cool. | ||||
* | nvfx: Set pointer to NULL after free. | Vinson Lee | 2010-08-25 | 1 | -1/+3 |
| | | | | Guard against potential use after free. | ||||
* | r300g: fix potentially uninitialized variables in create_rs_state | Marek Olšák | 2010-08-25 | 1 | -5/+2 |
| | | | | | | It had no impact on correctness, though. Reported by Vinson Lee. | ||||
* | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | llvmpipe: fix bad patch application | Keith Whitwell | 2010-08-25 | 1 | -5/+4 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | glsl/mesa: fixes for MSVC | Aras Pranckevicius | 2010-08-25 | 2 | -0/+2 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | intel: Support EGL_MESA_image_drm | Kristian Høgsberg | 2010-08-25 | 3 | -0/+87 |
| | |||||
* | intel: Take an intel_screen pointer in intel_alloc_region_* functions | Kristian Høgsberg | 2010-08-25 | 6 | -37/+32 |
| | |||||
* | egl_dri2: Add support for MESA_image_drm | Kristian Høgsberg | 2010-08-25 | 2 | -0/+242 |
| | |||||
* | egl: Add EGL_MESA_drm_image extension | Kristian Høgsberg | 2010-08-25 | 6 | -0/+227 |
| | | | | Create EGLImages from DRM buffer handles. | ||||
* | llvmpipe: track drawing region as a single u_rect | Keith Whitwell | 2010-08-25 | 3 | -63/+86 |
| | |||||
* | llvmpipe: better triangle debugging | Keith Whitwell | 2010-08-25 | 2 | -19/+67 |
| | |||||
* | llvmpipe: cull zero-area triangles early | Keith Whitwell | 2010-08-25 | 1 | -2/+3 |
| | |||||
* | llvmpipe: more rasterization counters | Keith Whitwell | 2010-08-25 | 3 | -6/+29 |
| | |||||
* | llvmpipe: move some fence functions into lp_screen.c | Keith Whitwell | 2010-08-25 | 4 | -57/+79 |
| | |||||
* | llvmpipe: wake all threads waiting on a fence | Keith Whitwell | 2010-08-25 | 1 | -1/+3 |
| | |||||
* | llvmpipe: fence debugging, add llvmpipe_finish | Keith Whitwell | 2010-08-25 | 13 | -65/+74 |
| | |||||
* | tgsi: helper for dumping tokens as hex | Keith Whitwell | 2010-08-25 | 2 | -13/+25 |
| | |||||
* | draw: specialized cliptesting routines | Keith Whitwell | 2010-08-25 | 13 | -208/+269 |
| | |||||
* | util: add rectangle helpers to u_rect.h | Keith Whitwell | 2010-08-25 | 1 | -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 state | Keith Whitwell | 2010-08-25 | 1 | -1/+3 |
| | |||||
* | llvmpipe: remove dead code | Keith Whitwell | 2010-08-25 | 1 | -37/+0 |
| | |||||
* | draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes. | Chia-I Wu | 2010-08-25 | 3 | -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 Wu | 2010-08-25 | 17 | -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 Wu | 2010-08-25 | 3 | -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 Wu | 2010-08-25 | 5 | -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 Lee | 2010-08-25 | 1 | -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 Lee | 2010-08-25 | 1 | -0/+4 |
| | | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol. |