Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-05 | docs: clarify point sprite discussion | Keith Whitwell | |
Plagiarizes email explanation from Roland. | |||
2010-08-05 | st/mesa: Remove unnecessary header from st_gl_api.h. | Vinson Lee | |
2010-08-05 | mesa: Include missing header in st_get_mipmap.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. Add forward declaration for st_context. | |||
2010-08-05 | st/mesa: Include missing headers in st_format.h. | Vinson Lee | |
2010-08-05 | st/mesa: Add forward delcaration in st_extensions.h. | Vinson Lee | |
2010-08-05 | st/mesa: Add missing headers to st_draw.h. | Vinson Lee | |
2010-08-05 | intel: Check for a NULL src buffer prior to blt | Chris Wilson | |
This can only happen along a malloc failure path, but check anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | |||
2010-08-05 | intel: Check for region allocation failure. | Chris Wilson | |
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | |||
2010-08-04 | glcpp: Ignore #if and #elif expressions when skipping. | Kenneth Graunke | |
Fixes glcpp test cases 073 and 074, as well as piglit test xonotic-vs-generic-diffuse.vert. | |||
2010-08-04 | glcpp/tests: Add a corollary to testcase 073 for testing #elif. | Kenneth Graunke | |
2010-08-04 | glcpp/tests: Fix 073-if-in-ifdef.c to use #ifdef, not #if. | Kenneth Graunke | |
The original intention was to use #ifdef. | |||
2010-08-04 | glcpp: Refactor HASH_IF and HASH_ELIF expansion to reuse code. | Kenneth Graunke | |
2010-08-04 | st/mesa: Add missing header in st_context.c. | Vinson Lee | |
2010-08-04 | st/mesa: Add missing header in st_atom_pixeltransfer.c. | Vinson Lee | |
2010-08-04 | st/mesa: Clean up header file inclusion in st_context.h. | Vinson Lee | |
2010-08-04 | st/mesa: Add missing header in st_cb_xformfb.h. | Vinson Lee | |
2010-08-04 | glsl2: Remove the shader_in/shader_out tracking separate from var->mode. | Eric Anholt | |
I introduced this for ir_dead_code to distinguish function parameter outvals from varying outputs. Only, since ast_to_hir's current_function is unset when setting up function parameters (they're needed for making the function signature in the first place), all function parameter outvals were marked as shader outputs anyway. This meant that an inlined function's cloned outval was marked as a shader output and couldn't be dead-code eliminated. Instead, since ir_dead_code doesn't even look at function parameters, just use var->mode. The longest Mesa IR coming out of ir_to_mesa for Yo Frankie drops from 725 instructions to 636. | |||
2010-08-04 | glsl2: Remove a dead cut and paste member from ir_variable_refcount_visitor. | Eric Anholt | |
2010-08-04 | i965: Settle on printing our program debug to stdout. | Eric Anholt | |
Mixing stderr (_mesa_print_program, _mesa_print_instruction, _mesa_print_alu) with stdout means that when writing both to a file, there isn't a consistent ordering between the two. | |||
2010-08-04 | ir_to_mesa: Print shader source and compiled IR under MESA_GLSL=dump. | Eric Anholt | |
While the Mesa IR dumping includes some corresponding GLSL IR for correlating Mesa IR to GLSL IR, it doesn't completely express it. This printing includes things like variable declarations and control flow structure that is hard to read otherwise. | |||
2010-08-04 | glsl2: Use linked ir_constant_variable after linking, instead of unlinked. | Eric Anholt | |
2010-08-04 | glsl2: Return progress from ir_vec_index_to_swizzle. | Eric Anholt | |
2010-08-04 | st/mesa: Clean up st_cb_viewport.h. | Vinson Lee | |
Add inclusion guard. Add forward declaration. | |||
2010-08-04 | st/mesa: Add missing headers in st_cb_texture.h. | Vinson Lee | |
2010-08-05 | dri/nouveau: Don't try to validate uninitialized teximages. | Francisco Jerez | |
2010-08-05 | dri/nv20: Fix some PGRAPH_ERRORs seen with DATA_CHECK enabled. | Francisco Jerez | |
2010-08-05 | dri/nouveau: Fix up software mipmap generation. | Francisco Jerez | |
2010-08-04 | glsl2: Generate masked assignments in some expanded matrix operations | Ian Romanick | |
2010-08-04 | glsl2: Generate masked assignments in vector and matrix constructors | Ian Romanick | |
Previously the in-line matrix and vector constructors would generate swizzles in the LHS. The code is actually more clear if it just generates the masked assignments instead of relying on the ir_assignment constructor to convert the swizzles to write masks. | |||
2010-08-04 | glsl2: Additional validation of write masks | Ian Romanick | |
2010-08-04 | glsl2: Add ir_assignment::write_mask and associated methods | Ian Romanick | |
Replace swizzles on the LHS with additional swizzles on the RHS and a write mask in the assignment instruction. As part of this add ir_assignment::set_lhs. Ideally we'd make ir_assignment::lhs private to prevent erroneous writes, but that would require a lot of code butchery at this point. Add ir_assignment constructor that takes an explicit write mask. This is required for ir_assignment::clone, but it can also be used in other places. Without this, ir_assignment clones lose their write masks, and incorrect IR is generated in optimization passes. Add ir_assignment::whole_variable_written method. This method gets the variable on the LHS if the whole variable is written or NULL otherwise. This is different from ir->lhs->whole_variable_referenced() because the latter has no knowledge of the write mask stored in the ir_assignment. Gut all code from ir_to_mesa that handled swizzles on the LHS of assignments. There is probably some other refactoring that could be done here, but that can be left for another day. | |||
2010-08-04 | glsl2: Don't try to construct an ir_assignment with an invalid LHS | Ian Romanick | |
2010-08-04 | st/mesa: Add forward declaration in st_cb_strings.h. | Vinson Lee | |
2010-08-04 | st/mesa: Add missing header in st_cb_readpixels.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. | |||
2010-08-04 | st/mesa: Clean up header file inclusion in st_cb_rasterpos.h. | Vinson Lee | |
2010-08-04 | glsl2: Constant fold the children of many more ir_instruction types. | Eric Anholt | |
2010-08-04 | glsl2: Return a real progress value from constant folding. | Eric Anholt | |
2010-08-04 | glsl2: Refactor constant folding of rvalues to a function. | Eric Anholt | |
2010-08-04 | st/mesa: Add missing header in st_cb_program.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. | |||
2010-08-04 | glcpp: Refresh autogenerated lexer and parser. | Kenneth Graunke | |
2010-08-04 | glcpp: Remove xtalloc wrappers in favor of plain talloc. | Kenneth Graunke | |
Calling exit() on a memory failure probably made sense for the standalone preprocessor, but doesn't seem too appealing as part of the GL library. Also, we don't use it in the main compiler. | |||
2010-08-04 | glsl2: Remove uses of deprecated TALLOC_CTX type. | Kenneth Graunke | |
2010-08-04 | r300/compiler: Remove unnecessary header. | Vinson Lee | |
2010-08-04 | intel: Remove unnecessary header. | Vinson Lee | |
2010-08-04 | st/mesa: Add missing headers in st_cb_flush.h. | Vinson Lee | |
Add forward declarations. Include p_compiler.h for uint symbol. | |||
2010-08-04 | st/mesa: Clean up header inclusion in st_cb_feedback.h. | Vinson Lee | |
Replace mtypes.h with forward declaration. Include compiler.h for INLINE symbol. | |||
2010-08-04 | glsl2: add gl_LightModel built-in uniform. | Aras Pranckevicius | |
2010-08-04 | glsl2: Don't try to assign locations for samplers during linking. | Eric Anholt | |
Mesa will do the mapping at _mesa_add_sampler() time. Fixes assertion failures in debug builds, which might have caught real problems with multiple samplers linked in a row. | |||
2010-08-04 | ir_to_mesa: Clean up the mapping of samplers to Mesa's sampler uniforms. | Eric Anholt | |
Instead of using a linker-assigned location (since samplers don't actually take up uniform space, being a link-time choice), use the sampler's varaible pointer as a hash key. | |||
2010-08-04 | mesa: Don't null deref looking for Mesa IR code at compile time. | Eric Anholt | |
The new compiler doesn't generate Mesa IR at compile time, and that compile time code previously wouldn't have reflected the link time code that actually got used. But do dump the info log of the compile regardless. |