summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-04glsl2: Use linked ir_constant_variable after linking, instead of unlinked.Eric Anholt
2010-08-04glsl2: Return progress from ir_vec_index_to_swizzle.Eric Anholt
2010-08-04st/mesa: Clean up st_cb_viewport.h.Vinson Lee
Add inclusion guard. Add forward declaration.
2010-08-04st/mesa: Add missing headers in st_cb_texture.h.Vinson Lee
2010-08-05dri/nouveau: Don't try to validate uninitialized teximages.Francisco Jerez
2010-08-05dri/nv20: Fix some PGRAPH_ERRORs seen with DATA_CHECK enabled.Francisco Jerez
2010-08-05dri/nouveau: Fix up software mipmap generation.Francisco Jerez
2010-08-04glsl2: Generate masked assignments in some expanded matrix operationsIan Romanick
2010-08-04glsl2: Generate masked assignments in vector and matrix constructorsIan 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-04glsl2: Additional validation of write masksIan Romanick
2010-08-04glsl2: Add ir_assignment::write_mask and associated methodsIan 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-04glsl2: Don't try to construct an ir_assignment with an invalid LHSIan Romanick
2010-08-04st/mesa: Add forward declaration in st_cb_strings.h.Vinson Lee
2010-08-04st/mesa: Add missing header in st_cb_readpixels.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_rasterpos.h.Vinson Lee
2010-08-04glsl2: Constant fold the children of many more ir_instruction types.Eric Anholt
2010-08-04glsl2: Return a real progress value from constant folding.Eric Anholt
2010-08-04glsl2: Refactor constant folding of rvalues to a function.Eric Anholt
2010-08-04st/mesa: Add missing header in st_cb_program.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-08-04glcpp: Refresh autogenerated lexer and parser.Kenneth Graunke
2010-08-04glcpp: 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-04glsl2: Remove uses of deprecated TALLOC_CTX type.Kenneth Graunke
2010-08-04r300/compiler: Remove unnecessary header.Vinson Lee
2010-08-04intel: Remove unnecessary header.Vinson Lee
2010-08-04st/mesa: Add missing headers in st_cb_flush.h.Vinson Lee
Add forward declarations. Include p_compiler.h for uint symbol.
2010-08-04st/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-04glsl2: add gl_LightModel built-in uniform.Aras Pranckevicius
2010-08-04glsl2: 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-04ir_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-04mesa: 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.
2010-08-04r600g: force flush on map as temporary fix to readpixelJerome Glisse
Should allow more piglit test to pass. Need to plugin proper flushing. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-04st/mesa: Add missing headers to st_cb_fbo.h.Vinson Lee
2010-08-04r600g: always perform texture perspective divide + fix blendingJerome Glisse
quake3 engine seems to run fine at this point (ioquake) Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-04st/mesa: Clean up header file inclusion in st_cb_eglimage.h.Vinson Lee
Replace dd.h and mtypes.h with a forward declaration. Include compiler.h for INLINE symbol.
2010-08-04glsl2: Skip talloc_parent in constant_expression of non-constant arrays.Eric Anholt
2010-08-04draw: Fix return type of draw_translate_vinfo_size.Vinson Lee
Fixes typo from commit b609cfc7c9c38f26e7e6d6f7dd5dd6d38f4ed209.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_drawtex.h.Vinson Lee
Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
2010-08-04glsl2: Make the clone() method take a talloc context.Eric Anholt
In most cases, we needed to be reparenting the cloned IR to a different context (for example, to the linked shader instead of the unlinked shader), or optimization before the reparent would cause memory usage of the original object to grow and grow.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_drawpixels.h.Vinson Lee
Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
2010-08-04st/mesa: Add forward declaration in st_cb_condrender.h.Vinson Lee
2010-08-04st/mesa: Add forward declarations in st_cb_clear.h.Vinson Lee
2010-08-04st/mesa: Include missing headers in st_cb_bufferobjects.h.Vinson Lee
Include compiler.h for INLINE symbol. Include mtypes.h for gl_buffer_object symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_blit.h.Vinson Lee
Replaced mtypes.h and st_context.h with forward declarations. Added compiler.h for INLINE symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_bitmap.h.Vinson Lee
Removed mtypes.h. Include compiler.h for INLINE symbol. Added forward declarations.
2010-08-04glx: Move deref after NULL checkKristian Høgsberg
2010-08-04glsl2: Set ir_discard::ir_type when cloning itAras Pranckevicius
Fixes unset ir_type after inlining.
2010-08-04glx: Fix use after free in drisw error pathKristian Høgsberg
2010-08-04glx: We no longer need screen extensions for driswKristian Høgsberg
https://bugs.freedesktop.org/show_bug.cgi?id=29177
2010-08-04glx: dri2InvalidateBuffers() needs the X drawable XID not the GLX oneKristian Høgsberg
This never ceases to entertain.
2010-08-04r600: relax stride/alignment requirements for verticesAndre Maasikas
seems hw can do unaligned accesses and unaligned strides removes extra conversion when using vbo's however I needed to switch 3 component byte format to 4 component formats for tests to pass. Somewhat sililar to GL_SHORT fix done earlier removes assert and gains +2 piglit especially draw-vertices