Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Don't consider things with a type containing a sampler as an lvalue. | Eric Anholt | 2010-08-25 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | We had ad-hoc handled some common cases by flagging sampler-typed variables as read_only, and rejected initializers of samplers. However, people could sneak them in in all sorts of surprising ways, like using whole-array or structure assignment. Fixes: glslparsertest/glsl2/sampler-01.frag glslparsertest/glsl2/sampler-03.frag glslparsertest/glsl2/sampler-04.frag glslparsertest/glsl2/sampler-06.frag Bug #27403. | ||||
* | mesa: Disable the debug spam for x86 CPU detection with a compile-time flag. | Eric Anholt | 2010-08-25 | 1 | -7/+13 |
| | | | | | I don't know of any problems with CPU detection in years. Don't spam the user that was just looking to enable assertions with this stuff. | ||||
* | mesa: Move the x86 detection debug messages next to the detection. | Eric Anholt | 2010-08-25 | 2 | -33/+39 |
| | |||||
* | mesa: Don't warn when the desired result of s3tc lib available occurs. | Eric Anholt | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | util: Include missing header in u_blit.h. | Vinson Lee | 2010-08-25 | 1 | -5/+7 |
| | | | | | Include p_compiler.h for uint symbol. Clean up forward declarations. | ||||
* | util: Include missing header in u_bitmask.h. | Vinson Lee | 2010-08-25 | 1 | -0/+3 |
| | | | | Include p_compiler.h for boolean symbol. | ||||
* | util: Include missing header in u_dirty_surfaces.h. | Vinson Lee | 2010-08-25 | 1 | -0/+4 |
| | | | | Include p_state.h for pipe_surface symbol. | ||||
* | 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 | 3 | -158/+0 |
| | | | | | 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 | 1 | -0/+223 |
| | |||||
* | egl: Add EGL_MESA_drm_image extension | Kristian Høgsberg | 2010-08-25 | 4 | -0/+55 |
| | | | | 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 |
| |