summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-27r300g: rename flag squaretiling -> drm_2_1_0Marek Olšák
2011-01-27docs: update GL3 statusMarek Olšák
2011-01-27util: fix parsing debug optionsMarek Olšák
So that 'foo' can be found in: OPTION=prefixfoosuffix,foo Also allow that debug options can be separated by a non-alphanumeric characters instead of just commas.
2011-01-27r300g: fix some bugs with zbuffer compression (v4)Marek Olšák
This drops the memblock manager for ZMASK. Instead, only one zbuffer can be compressed at a time. Note that this does not necessarily have to be slower. When there is a large number of zbuffers, compression might be used more often than it was before. It's also easier to debug. How it works: 1) 'clear' turns the compression on. 2) If some other zbuffer is set or the currently-bound zbuffer is used for texturing, the driver decompresses it and then turns the compression off. Notes: - The ZMASK clear has been refactored, so that only one packet3 is used to clear ZMASK. - The 8x8 compression mode is disabled. I couldn't make it work without issues. - Also removed driver-specific stuff from u_blitter. Driver status: - RV530 and R580 appear to just work (finally). - RV570 should work, but there may be an issue that we don't correctly calculate the number of dwords to clear, resulting in a partially uninitialized zbuffer. - RS690 misrenders as if no ZMASK clear happened. No idea what's going on. - RV350 may even hardlock. This issue was already present and this patch doesn't fix it. I think we are still missing some hardware info we need to make the zbuffer compression work fully. Note that there is also an issue with HiZ, resulting in a sort of blocky zigzagged corruption around some objects.
2011-01-26glsl: use 'this' pointer to be consistentBrian Paul
2011-01-26glsl: remove needless conditionalBrian Paul
2011-01-26glsl: move ir_var_out codeBrian Paul
2011-01-26glsl: move ir_var_system_value codeBrian Paul
2011-01-26glsl: use local var to simplify code a bitBrian Paul
2011-01-26mesa: fix compilationZack Rusin
this isn't c++ please don't mix declerations with code
2011-01-26glsl: Refresh autogenerated lexer fileChad Versace
For previous commit.
2011-01-26glsl: Remove extraneously extraneous parensChad Versace
I found this parenthetical usage of parentheses to be extraneously extraneous: (yyextra->ARB_fragment_coord_conventions_enable)
2011-01-26mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+'Chad Versace
If an extension is prefixed with '+', attempt to enable it. This introduces symmetry with the prefix '-', which is already allowed.
2011-01-26mesa: Simplify logic in get_extension_override()Chad Versace
* Reduce max indentation level from 7 to 3. * Eliminate counter variables. * Remove function append().
2011-01-26glsl: Enable AMD_conservative_depth in parserChad Versace
All the necessary compiler infrastructure for AMD_conservative_depth is in place, so it's safe to enable it in the parser.
2011-01-26mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IRChad Versace
2011-01-26glsl: Raise linking error if gl_FragDepth layout is inconsistentChad Versace
From the AMD_conservative_depth spec: If gl_FragDepth is redeclared in any fragment shader in a program, it must be redeclared in all fragment shaders in that program that have static assignments to gl_FragDepth. All redeclarations of gl_FragDepth in all fragment shaders in a single program must have the same set of qualifiers.
2011-01-26glsl: Propagate depth layout qualifier from AST to IRChad Versace
2011-01-26glsl: Define enum ir_depth_layoutChad Versace
2011-01-26glsl: Refresh autogenerated parser filesChad Versace
For commits titled: glcpp: Conditionally define macro GL_AMD_conservative_depth glsl: Add support for AMD_conservative_depth to parser
2011-01-26glsl: Add support for AMD_conservative_depth to parserChad Versace
When AMD_conservative_depth is enabled: * Let 'layout' be a token. * Extend the production rule of layout_qualifier_id to process the tokens: depth_any depth_greater depth_less depth_unchanged
2011-01-26glsl: Add depth layout qualifiers to ast_type_qualifierChad Versace
2011-01-26glcpp: Conditionally define macro GL_AMD_conservative_depthChad Versace
Define macro GL_AMD_conservative_depth to 1 when its extension is enabled.
2011-01-26mesa: Add AMD_conservative_depth to extension listChad Versace
The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
2011-01-26tgsi: add cases for array texturesBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
2011-01-26mesa: Support internalFormat=GL_BGRA for DRI driversKristian Høgsberg
2011-01-26st/egl: Downgrade warning to debug when we can't create a drm screenKristian Høgsberg
We try to load a DRI driver if this fails so don't confuse users.
2011-01-26mesa: fix MESA/EXT typoBrian Paul
Spotted by Bernd Buschinski.
2011-01-26util: require debug options to be separated by commasMarek Olšák
Let's assume there are two options with names such that one is a substring of another. Previously, if we only specified the longer one as a debug option, the shorter one would be considered specified as well (because of strstr). This commit fixes it by checking that each option is surrounded by commas. (a regexp would be nicer, but this is not a performance critical code)
2011-01-26gallium: add an interface for query predicatesZack Rusin
as specified in the arb_occlusion_query2. just the interface.
2011-01-25softpipe: support for 1D/2D texture arraysBrian Paul
2011-01-25st/mesa: support for 1D/2D texture arraysBrian Paul
2011-01-25tgsi: add support for 1D/2D texture arraysBrian Paul
2011-01-25configure.ac: define LIBDRM_INTEL_REQUIREDTormod Volden
To have the LIBDRM* requirements in one place Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-25mesa: remove isProxy local varBrian Paul
2011-01-25mesa: use texFormat local var in more placesBrian Paul
2011-01-25mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv()Brian Paul
2011-01-25mesa: consolidate error handling in set_tex_parameteri()Brian Paul
2011-01-25mesa: add checks for GL_EXT_texture_arrayBrian Paul
In case the driver enables GL_MESA_texture_array but not the EXT version.
2011-01-25linker: Propagate max_array_access while linking functionsIan Romanick
Update the max_array_access of a global as functions that use that global are pulled into the linked shader. Fixes piglit test glsl-fs-implicit-array-size-01 and bugzilla #33219. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-25linker: Set sizes for non-global arrays as wellIan Romanick
Previously only global arrays with implicit sizes would be patched. This causes all arrays that are actually accessed to be sized. Fixes piglit test glsl-fs-implicit-array-size-02. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-25ir_to_mesa: Add several assertions about sizes of arraysIan Romanick
Both of these assertions are triggered by the test case in bugzilla size of 0.
2011-01-25glsl: silence uninitialized var warning in read_texture()Brian Paul
And generate an error if the texture pattern is not matched.
2011-01-25r600g: Implement timer queries.Mathias Fröhlich
2011-01-25r600g: Implement asyncronous query results.Mathias Fröhlich
2011-01-25r600g: Fix meaning of num_results for queries.Mathias Fröhlich
2011-01-25fix potential leak in r600_context_initTim Wiederhake
2011-01-25silences some valgrind warningsTim Wiederhake
==5547== Conditional jump or move depends on uninitialised value(s) ==5547== at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86)
2011-01-25Revert "glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S"Brian Paul
This reverts commit 731ec60da3ccb92f5bfb4d6f1bc3c8e712751376. This change causes crashes in the x86-64 dispatch code.
2011-01-25softpipe: fix off-by-one error in setup_fragcoord_coeff()Brian Paul
If we invert Y, need to subtract one from the surface height. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=26795 for softpipe. NOTE: This is a candidate for the 7.9 and 7.10 branches.