summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-09-17x86: Silence unused variable warning on Mac OS X.Vinson Lee
Silences the following GCC warning on Mac OS X. x86/common_x86.c:58: warning: 'detection_debug' defined but not used
2010-09-17mesa: Silence "'valid_texture_object' defined but not used" warning.Vinson Lee
2010-09-17ir_to_mesa: Remove unused member array_indexed from struct statevar_element.Vinson Lee
Fixes this GCC warning. warning: missing initializer for member 'statevar_element::array_indexed'
2010-09-17mesa: bump version to 7.10Vinson Lee
2010-09-17glsl2: Add flags to enable variable index loweringIan Romanick
2010-09-17dri/nv10: Fix the CLAMP texture wrap mode.Francisco Jerez
2010-09-16meta: Don't bind the created texture object in init_temp_texture().Francisco Jerez
This function is executed outside _mesa_meta_begin/end(), that means that e.g. _mesa_meta_Bitmap() clobbers the texturing state because it changes the currently active texture object. There's no need to bind the new texture when it's created, it's done again later anyway (from setup_drawpix/copypix_texture()). Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-16mesa: include mfeatures.h in formats.cBrian Paul
Otherwise, FEATURE_EXT_texture_sRGB was undefined. This is (part of?) the fix for fd.o bug 30177.
2010-09-16dri/nouveau: Cleanup references to the old FBOs on glMakeCurrent().Francisco Jerez
2010-09-16dri/nouveau: Don't reemit the BO state in nouveau_state_emit().Francisco Jerez
2010-09-16dri/nouveau: Don't request a fake front unnecessarily.Francisco Jerez
2010-09-16dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format.Francisco Jerez
2010-09-16dri/nouveau: Add some more extensions.Francisco Jerez
2010-09-16dri/nouveau: Update nouveau_class.h.Francisco Jerez
2010-09-16dri/nv04: Fix provoking vertex.Francisco Jerez
2010-09-16dri/nv04: Fix maximum texture size.Francisco Jerez
2010-09-16dri/nv04: Fix up color mask.Francisco Jerez
2010-09-16dri/nv04: Align SIFM transfer dimensions.Francisco Jerez
2010-09-16dri/nv04: Mipmapping fixes.Francisco Jerez
2010-09-16dri/nv04: Fix PGRAPH_ERRORs when running OA.Francisco Jerez
2010-09-16dri/nv04: Enable eng3dm for A8/L8 textures.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-09-16dri/nv04: Don't expose ARB_texture_env_combine/dot3.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-09-16mesa: Update ES APIspec.xml.Chia-I Wu
Enable some extensions now that the needed tokens are defined in GLES/glext.h and GLES2/glext.h. Update the prototype of MultiDrawArrays now that the prototype of _mesa_MultiDrawArraysEXT has been updated.
2010-09-15mesa/st: Silence uninitialized variable warning.Vinson Lee
2010-09-15glsl2: fix signed/unsigned comparison warningBrian Paul
2010-09-15r600c: fix buffer height setting in dri2 caseAndre Maasikas
fbHeight is 0 in this case uncovered by changes in b0bc026c and should fix kernel rejecting command streams after that commit
2010-09-14mesa: Include missing header in program.h.Vinson Lee
Include compiler.h for ASSERT symbol.
2010-09-14r600c: fix setting negative values to bitfieldsAndre Maasikas
when setting negative integers to bitfields we could overwrite other parts of it. So mask the value to be written correctly. This is used quite often in the driver - hope it doesnt affect performace or uncover behaviour relied before... fixes strange effects when setting negative lodbias on evergreen
2010-09-14mesa: update to version 64 of GL/glext.hBrian Paul
A number of other files had to be updated as well because const qualifiers were added to the glMultiDrawArrays() function. Also, GL_FIXED is now defined in glext.h.
2010-09-14mesa: move, redefine MESA_GEOMETRY_PROGRAMBrian Paul
2010-09-14mesa: Remove unnecessary FEATURE tests.Chia-I Wu
Remove all FEATURE tests in mesa/drivers/common/. They are not needed and the code looks better without them.
2010-09-14mesa: Less FEATURE_ARB_sync tests.Chia-I Wu
Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync is 0, and remove most FEATURE_ARB_sync tests.
2010-09-14mesa: Remove unused _MESA_INIT_*_FUNCTIONS.Chia-I Wu
They were intended to be used to build OpenGL ES only DRI drivers, but that never happened.
2010-09-14mesa/st: ask GLSL to not emit noise since we have a dummy implementationLuca Barbieri
Note, BTW, that the Gallium implementation returns 0.5, which seems to violate the GLSL spec, where it should return 0.0 instead. Not sure whether changing it to 0 is correct or not.
2010-09-14mesa/st: set compiler options based on Gallium shader capsLuca Barbieri
This turns on if conversion and unlimited loop unrolling if control flow is not supported. NOTE: this will change the behavior of r300g and any other driver that doesn't advertise control flow
2010-09-14gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri
Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested
2010-09-13glsl: introduce ir_binop_all_equal and ir_binop_any_equal, allow vector cmpsLuca Barbieri
Currently GLSL IR forbids any vector comparisons, and defines "ir_binop_equal" and "ir_binop_nequal" to compare all elements and give a single bool. This is highly unintuitive and prevents generation of optimal Mesa IR. Hence, first rename "ir_binop_equal" to "ir_binop_all_equal" and "ir_binop_nequal" to "ir_binop_any_nequal". Second, readd "ir_binop_equal" and "ir_binop_nequal" with the same semantics as less, lequal, etc. Third, allow all comparisons to acts on vectors. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-09-13i965: Request that returns be lowered in shader mainIan Romanick
Fixes piglit tests glsl-vs-main-return and glsl-fs-main-return.
2010-09-13glsl: call ir_lower_jumps according to compiler optionsLuca Barbieri
2010-09-13r600c: const buffer sizes must be a multiple of 16 constsAlex Deucher
This applies to r6xx/r7xx/evergreen
2010-09-13r600c/eg: remove obselete commentAlex Deucher
2010-09-13r600c/eg: remove unused emit timestamp functionAlex Deucher
2010-09-13r600c/eg: emit CB_BLEND_ALPHA with the other blend valuesAlex Deucher
saves a few dwords
2010-09-13r600c: remove redundant state emit on evergreenAlex Deucher
r700start3d already emits the context control packets
2010-09-13mesa: Revert accidentally committed vertex code chunkKristian Høgsberg
2010-09-13r600c: eg: fix typoAndre Maasikas
probably copy/paste error
2010-09-13r600c: eg: 256 float4 constants may need more than 256 bytesAndre Maasikas
2010-09-13r600c: eg - fix uninitialized variableAndre Maasikas
2010-09-13glx: Don't destroy DRI2 drawables for legacy glx drawablesKristian Høgsberg
For GLX 1.3 drawables, we can destroy the DRI2 drawable when the GLX drawable is destroyed. However, for legacy drawables, there os no good way of knowing when the application is done with it, so we just let the DRI2 drawable linger on the server. The server will destroy the DRI2 drawable when it destroys the X drawable or the client exits anyway. https://bugs.freedesktop.org/show_bug.cgi?id=30109
2010-09-13r600c: remove stray unmap callAndre Maasikas
no idea how/why it got there