summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: use 'this' pointer to be consistentBrian Paul2011-01-261-1/+1
|
* glsl: remove needless conditionalBrian Paul2011-01-261-14/+10
|
* glsl: move ir_var_out codeBrian Paul2011-01-261-7/+7
|
* glsl: move ir_var_system_value codeBrian Paul2011-01-261-5/+5
|
* glsl: use local var to simplify code a bitBrian Paul2011-01-261-22/+23
|
* mesa: fix compilationZack Rusin2011-01-261-5/+10
| | | | this isn't c++ please don't mix declerations with code
* glsl: Refresh autogenerated lexer fileChad Versace2011-01-261-117/+118
| | | | For previous commit.
* glsl: Remove extraneously extraneous parensChad Versace2011-01-261-1/+1
| | | | | | I found this parenthetical usage of parentheses to be extraneously extraneous: (yyextra->ARB_fragment_coord_conventions_enable)
* mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+'Chad Versace2011-01-261-0/+5
| | | | | If an extension is prefixed with '+', attempt to enable it. This introduces symmetry with the prefix '-', which is already allowed.
* mesa: Simplify logic in get_extension_override()Chad Versace2011-01-261-62/+41
| | | | | | * Reduce max indentation level from 7 to 3. * Eliminate counter variables. * Remove function append().
* glsl: Enable AMD_conservative_depth in parserChad Versace2011-01-261-0/+7
| | | | | All the necessary compiler infrastructure for AMD_conservative_depth is in place, so it's safe to enable it in the parser.
* mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IRChad Versace2011-01-262-0/+41
|
* glsl: Raise linking error if gl_FragDepth layout is inconsistentChad Versace2011-01-261-0/+26
| | | | | | | | | 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.
* glsl: Propagate depth layout qualifier from AST to IRChad Versace2011-01-263-0/+73
|
* glsl: Define enum ir_depth_layoutChad Versace2011-01-262-0/+35
|
* glsl: Refresh autogenerated parser filesChad Versace2011-01-263-165/+180
| | | | | | For commits titled: glcpp: Conditionally define macro GL_AMD_conservative_depth glsl: Add support for AMD_conservative_depth to parser
* glsl: Add support for AMD_conservative_depth to parserChad Versace2011-01-263-8/+34
| | | | | | | | | | 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
* glsl: Add depth layout qualifiers to ast_type_qualifierChad Versace2011-01-261-0/+8
|
* glcpp: Conditionally define macro GL_AMD_conservative_depthChad Versace2011-01-261-0/+2
| | | | | Define macro GL_AMD_conservative_depth to 1 when its extension is enabled.
* mesa: Add AMD_conservative_depth to extension listChad Versace2011-01-262-0/+2
| | | | | | | The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
* tgsi: add cases for array texturesBrian Paul2011-01-261-0/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
* mesa: Support internalFormat=GL_BGRA for DRI driversKristian Høgsberg2011-01-261-0/+11
|
* st/egl: Downgrade warning to debug when we can't create a drm screenKristian Høgsberg2011-01-262-2/+2
| | | | We try to load a DRI driver if this fails so don't confuse users.
* mesa: fix MESA/EXT typoBrian Paul2011-01-261-1/+1
| | | | Spotted by Bernd Buschinski.
* util: require debug options to be separated by commasMarek Olšák2011-01-261-1/+38
| | | | | | | | | 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)
* gallium: add an interface for query predicatesZack Rusin2011-01-262-1/+7
| | | | as specified in the arb_occlusion_query2. just the interface.
* softpipe: support for 1D/2D texture arraysBrian Paul2011-01-253-1/+210
|
* st/mesa: support for 1D/2D texture arraysBrian Paul2011-01-253-5/+12
|
* tgsi: add support for 1D/2D texture arraysBrian Paul2011-01-254-3/+42
|
* configure.ac: define LIBDRM_INTEL_REQUIREDTormod Volden2011-01-251-1/+2
| | | | | | | To have the LIBDRM* requirements in one place Signed-off-by: Tormod Volden <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa: remove isProxy local varBrian Paul2011-01-251-4/+2
|
* mesa: use texFormat local var in more placesBrian Paul2011-01-251-4/+4
|
* mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv()Brian Paul2011-01-251-26/+19
|
* mesa: consolidate error handling in set_tex_parameteri()Brian Paul2011-01-251-38/+36
|
* mesa: add checks for GL_EXT_texture_arrayBrian Paul2011-01-252-16/+23
| | | | In case the driver enables GL_MESA_texture_array but not the EXT version.
* linker: Propagate max_array_access while linking functionsIan Romanick2011-01-252-4/+13
| | | | | | | | | 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.
* linker: Set sizes for non-global arrays as wellIan Romanick2011-01-251-18/+17
| | | | | | | | | 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.
* ir_to_mesa: Add several assertions about sizes of arraysIan Romanick2011-01-251-0/+4
| | | | | Both of these assertions are triggered by the test case in bugzilla size of 0.
* glsl: silence uninitialized var warning in read_texture()Brian Paul2011-01-251-1/+4
| | | | And generate an error if the texture pattern is not matched.
* r600g: Implement timer queries.Mathias Fröhlich2011-01-255-14/+78
|
* r600g: Implement asyncronous query results.Mathias Fröhlich2011-01-251-4/+13
|
* r600g: Fix meaning of num_results for queries.Mathias Fröhlich2011-01-251-4/+4
|
* fix potential leak in r600_context_initTim Wiederhake2011-01-251-1/+2
|
* silences some valgrind warningsTim Wiederhake2011-01-251-1/+1
| | | | | ==5547== Conditional jump or move depends on uninitialised value(s) ==5547== at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86)
* Revert "glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S"Brian Paul2011-01-252-2/+2
| | | | | | This reverts commit 731ec60da3ccb92f5bfb4d6f1bc3c8e712751376. This change causes crashes in the x86-64 dispatch code.
* softpipe: fix off-by-one error in setup_fragcoord_coeff()Brian Paul2011-01-251-1/+1
| | | | | | | | | 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.
* st/mesa: add comments in emit_wpos()Brian Paul2011-01-251-0/+12
|
* st/mesa: fix incorrect fragcoord.x translationBrian Paul2011-01-251-4/+6
| | | | | | | | | emit_adjusted_wpos() needs separate x,y translation values. If we invert Y, we don't want to effect X. Part of the fix for http://bugs.freedesktop.org/show_bug.cgi?id=26795 NOTE: This is a candidate for the 7.9 and 7.10 branches.
* glapi: adding @ char before type specifier in glapi_x86.SDimitry Andric2011-01-252-2/+2
| | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33433 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <[email protected]>
* glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.SDimitry Andric2011-01-252-2/+2
| | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33440 NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Brian Paul <[email protected]>