Mesa (gles3): 420 new commits
Ian Romanick
idr at kemper.freedesktop.org
Thu Aug 23 17:46:46 UTC 2012
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0703748800f4a561e728986d680107a43d5d7727
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 18:09:23 2012 -0700
glsl: Remove deprecated GLSL 1.30 language features in core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=092317fbc7e3a3fa963a5db97b5f5420da921978
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 18:09:09 2012 -0700
i965: Don't maintain programs for ff state when there is no ff
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=506aaddb8a42dbefa54f0e93764a0e69432c7830
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 18:08:39 2012 -0700
mesa: Don't muck about with ff state when there is no ff
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a02aa2083c705ed45d5620a2486da34c949f3857
Author: Paul Berry <stereotype441 at gmail.com>
Date: Tue Aug 7 12:39:30 2012 -0700
i965/Gen6+: Enable ARB_ES3_compatibility extension
IMPORTANT: this patch should not be pushed to master until ES3 support
is fully implemented on i965/Gen6+.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed49c3ec685beafbc0d1fc16dc0ca5eb30861aae
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 15:25:00 2012 -0700
mesa/es3: Enable ES 3.0 API and shading language version
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3223419536409fb512d1b5709f71f4538c4d158
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 10 22:28:27 2012 -0700
mesa/es3: Add support for GL_PRIMITIVE_RESTART_FIXED_INDEX
This requires some derived state. The cut vertex used is either the
value specified by glPrimitiveRestartIndex or it's hard-coded to ~0.
The derived state gl_array_attrib::_RestartIndex captures this value.
In addition, the derived state gl_array_attrib::_PrimitiveRestart is set
whenever either gl_array_attrib::PrimitiveRestart or
gl_array_attrib::PrimitiveRestartFixedIndex is set.
v2: Use _mesa_is_gles3.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c4f8702c6beb4c024d3f7d24b19a073dc2d0337
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 8 11:30:42 2012 -0700
Set es_version to false when using FF fragment shading in meta ops
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecb3b8d8f76b6321b1048d43b73c83542abeaac5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 10 21:38:21 2012 -0700
mesa/es3: Add support for GL_ANY_SAMPLES_PASSED_CONSERVATIVE query target
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e296c402636e47d1a6f1e02e725d741074c06e1
Author: Paul Berry <stereotype441 at gmail.com>
Date: Sat Aug 4 15:42:33 2012 -0700
glsl: Create builtin function profiles for GLSL 3.00 ES.
Nearly all of the builtin functions in GLSL 3.00 ES are already
implemented in Mesa; this patch enables them.
A few functions are not implemented yet; those have been commented
out, with a FIXME comment to act as a reminder of what still needs to
be implemented. Here is the complete list: packSnorm2x16,
unpackSnorm2x16, packUnorm2x16, unpackUnorm2x16, packHalf2x16,
unpackHalf2x16.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdf1008ba825c91ed89cbd42020f85c15f3787ab
Author: Paul Berry <stereotype441 at gmail.com>
Date: Mon Aug 6 14:36:31 2012 -0700
glsl: add determinant() functions.
These functions are defined in GLSL 1.50 and GLES 3.00 ES.
The formulas have been extracted from the existing implementation of
inverse().
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a6716df0fcf251c8077e80b658fe53c220d7af7
Author: Paul Berry <stereotype441 at gmail.com>
Date: Sat Aug 4 10:43:53 2012 -0700
glsl: Make builtin function profiles for GLSL ES use "es" in the filename.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c4f5a2823f3e6a657e036899b62bd80a02dc5c0
Author: Paul Berry <stereotype441 at gmail.com>
Date: Sat Aug 4 10:29:49 2012 -0700
glsl: Add builtin variables for GLSL 3.00 ES.
This patch also adds assertions so that when we add new GLSL versions,
we'll notice that we need to update the builtin variables.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5e7383cc74bb92969277eb26426097a0188f610
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 13:38:57 2012 -0700
glsl: Populate built-in types correctly for GLSL 3.00 ES.
This patch implements all of the built-in types for GLSL 3.00 ES.
This is almost exactly the same as the set of built-in types for GLSL
1.30, except ate 1D samplers are skipped, and samplerCubeShadow is
added.
This patch also addes an assertion so that when we add new GLSL
versions, we'll notice that we need to update the types.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bde3dd42aac229b219ed8eb3a90cdafe49da3ec4
Author: Paul Berry <stereotype441 at gmail.com>
Date: Sat Aug 4 10:00:20 2012 -0700
glsl: Make {Min,Max}ProgramTexelOffset available to compiler.
These constants need to be made available to shaders in GLSL 3.00 ES.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e51b05fad2b7d176195daea2f8bc9b5e3c7427d
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 17:51:02 2012 -0700
glsl: Fix linker checks for GLSL ES 3.00.
This patch updates the following linker checks to do the right thing
in GLSL 3.00 ES:
- Failing to write to gl_Position is allowed in GLSL 1.40+ as well as
GLSL 3.00 ES.
- It is an error to write to both gl_ClipVertex and gl_ClipDistance in
GLSL 1.30+. This does not apply to GLSL 3.00 ES.
- GLSL 3.00 ES uses the same varying counting rules as GLSL 1.00 ES.
- In GLSL 1.30 and GLSL 3.00 ES, "discard" terminates the shader.
- In GLSL 1.00 ES and GLSL 3.00 ES, both a fragment and a vertex
shader must be present.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcbd819007b326816512241bf68b5b6d341ca96b
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 17:50:43 2012 -0700
glsl: Record in gl_shader_program whether the program uses GLSL ES.
Previously we recorded just the GLSL version (or the max version, if
GLSL 1.10 and GLSL 1.20 programs were linked together).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fedbbd57125f345ed80ceda993c6240edf501971
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 17:49:44 2012 -0700
glsl: Clean up shading language mixing check for GLSL 3.00 ES.
Previously, we prohibited mixing of shading language versions if
min_version == 100 or max_version >= 130. This was technically
correct (since desktop GLSL 1.30 and beyond prohibit mixing of shading
language versions, as does GLSL 1.00 ES), but it was confusing. Also,
we asserted that all shading language versions were between 1.00 and
1.40, which was unnecessary (since the parser already checks shading
language versions) and doesn't work for GLSL 3.00 ES.
This patch changes the code to explicitly check that (a) ES shaders
aren't mixed with desktop shaders, (b) shaders aren't mixed between ES
versions, and (c) shaders aren't mixed between desktop GLSL versions
when at least one shader is GLSL 1.30 or greater. Also, it removes
the unnecessary assertion.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=057e3742ca085ae7e592f08b5047e7095e558bf5
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 17:47:49 2012 -0700
glsl: Record in gl_shader whether the shader uses GLSL ES.
Previously we recorded just the GLSL version, with the knowledge that
100 means GLSL 1.00 ES. With the advent of GLSL 3.00 ES, this is
going to get more complex, and eventually will probably become
ambiguous (GLSL 4.00 already exists, and GLSL 4.00 ES is likely to be
created some day).
To reduce confusion, this patch simply records whether the shader is
GLSL ES as an explicit boolean.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d820b4d0853ace4383b387d6b605257727f50b8
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 11:17:30 2012 -0700
glsl/parser: Handle "#version 300 es" directive.
Note that GLSL 1.00 is selected using "#version 100", so "#version 100
es" is prohibited.
v2: Check for GLES3 before allowing '#version 300 es'
Signed-off-by: Paul Berry <stereotype441 at gmail.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbc957713eeb4bb3638a5b967f1fe3abeb6869cf
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 11:02:55 2012 -0700
glsl/parser: Extract version directive processing into a function.
Version directive handling is going to have to be used within two
parser rules, one for desktop-style version directives (e.g. "#version
130") and one for the new ES-style version directive (e.g. "#version
300 es"), so this patch moves it to a function that can be called from
both rules.
No functional change.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88c49c3338ea8613792a3009c97ef8a468564ab9
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 13:21:54 2012 -0700
glsl/preprocessor: Handle "#version 300 es" directive.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=623a085557854c77239012deddebced57125e9e1
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 13:06:45 2012 -0700
glsl/preprocessor: Extract version directive processing into a function.
Version directive handling is going to have to be used within two
parser rules, one for desktop-style version directives (e.g. "#version
130") and one for the new ES-style version directive (e.g. "#version
300 es"), so this patch moves it to a function that can be called from
both rules.
No functional change.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f51c193388385c836557ef14d5646296c4c5582a
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 08:18:12 2012 -0700
glsl: Enable GLSL ES 3.00 features inherited from desktop GLSL.
This patch turns on the following features for GLSL ES 3.00:
- Array constructors, whole array assignment, and array comparisons.
- Second and third operands of ?: may be arrays.
- Use of "in" and "out" qualifiers on globals.
- Bitwise and modulus operators.
- Integral vertex shader inputs.
- Range-checking of literal integers.
- array.length method.
- Function calls may be constant expressions.
- Integral varyings must be qualified with "flat".
- Interpolation and centroid qualifiers may not be applied to vertex
shader inputs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4259c58d39ea64250056770f1e59694098d7e34
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 08:17:55 2012 -0700
glsl: parse GLSL ES 3.00 keywords correctly.
GLSL ES 3.00 adds the following keywords over GLSL 1.00: uint,
uvec[2-4], matNxM, centroid, flat, smooth, various samplers, layout,
switch, default, and case.
Additionally, it reserves a large number of keywords, some of which
were already reserved in versions of desktop GL that Mesa supports,
some of which are new to Mesa.
A few of the reserved keywords in GLSL ES 3.00 are keywords that are
supported in all other versions of GLSL: attribute, varying,
sampler1D, sampler1DShador, sampler2DRect, and sampler2DRectShadow.
This patch updates the lexer to handle all of the new keywords
correctly when the language being parsed is GLSL 3.00 ES.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ff49a2a86fefd0a621a6a6514e9e63cb319ad6c
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 1 19:04:59 2012 -0700
glsl: Rework lexer keyword handling in preparation for GLSL 3.00 ES.
This patch expands the lexer KEYWORD macro to take two additional
arguments: the GLSL ES versions in which the given keyword was first
reserved, and supported, respectively. This will allow us to
trivially add support for GLSL 3.00 ES keywords, even though the set
of GLSL 3.00 ES keywords is neither a subset or a superset of the
keywords corresponding to any desktop GLSL version.
The new KEYWORD macro makes use of the
_mesa_glsl_parse_state::is_version() function, so it accepts 0 as
meaning "unsupported" (rather than 999, which we used previously).
Note that a few keywords ("packed" and "row_major") are supported
*either* when GLSL 1.40 is in use or when ARB_uniform_buffer_obj
support is enabled. Previously, we handled these by cleverly taking
advantage of the fact that the KEYWORD macro didn't parenthesize its
arguments in the usual way. Now they are handled more
straightforwardly, with a new macro, KEYWORD_WITH_ALT.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b48b933f0e9ced12e919d3f91401196b3da9afb
Author: Paul Berry <stereotype441 at gmail.com>
Date: Sun Aug 5 09:57:01 2012 -0700
glsl: Make use of new _mesa_glsl_parse_state::check_version() function.
Previous to this patch, we were not very consistent about the errors
we generate when a shader tried to use a feature that is prohibited in
the current GLSL version. Some error messages failed to mention the
GLSL version currently in use (or did so inaccurately), and some error
messages failed to mention the first GLSL version in which the given
feature is allowed.
This patch reworks all of the error checks to use the check_version()
function, which produces error messages in a standard form
(approximately "$FEATURE forbidden in $CURRENT_GLSL_VERSION
($REQUIRED_GLSL_VERSION required).").
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b73dc31241b6e7ee83ef4ba653f637a4653995e
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 1 14:50:05 2012 -0700
glsl: Make use of new _mesa_glsl_parse_state::is_version() function.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7ab1dbcd8050771c082b06d773477d897ab1645
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 1 19:09:24 2012 -0700
glsl: Add GLSL version query functions.
With the advent of GLSL 3.00 ES, the version checks we perform in the
GLSL compiler (to determine which language features are present) will
become more complicated. To reduce the complexity, this patch adds
functions check_version() and is_version() to _mesa_glsl_parse_state.
These functions take two version numbers: a desktop GLSL version and a
GLSL ES version, and return a boolean indicating whether the GLSL
version being compiled is at least the required version. So, for
example, is_version(130, 300) returns true if the GLSL version being
compiled is at least desktop GLSL 1.30 or GLSL 3.00.
The check_version() function additionally produces an error message if
the version check fails, informing the user of which GLSL version(s)
support the given feature.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9391e3278548a6a28d2abe638e237f5bc6381768
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Aug 2 06:45:30 2012 -0700
glsl: Compute version_string on the fly.
Fixes a bug where version_string would be left uninitialized if no
GLSL "#version" directive was used.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=117638aa0a47a03b8fafa58f101f471fe6e55a62
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 1 18:36:57 2012 -0700
glsl: Make a function to express a GLSL version ir human-readable form.
This will be useful in generating more helpful error messages,
especially with the addition of GLSL 3.00 ES support.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f78ddbc84856373ab5c596cf7190c9b528b7a73
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 1 17:44:02 2012 -0700
glsl: Simplify symbol table version checking.
Previously, we stored the GLSL language version in the
glsl_symbol_table struct. But this was unnecessary--all
glsl_symbol_table needs to know is whether functions and variables
have separate namespaces (they do in GLSL 1.10 only).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d581581006da65720fae19c5fb79819f52411e3
Author: Paul Berry <stereotype441 at gmail.com>
Date: Mon Aug 6 10:22:44 2012 -0700
mesa: Add ARB_ES3_compatibility flag.
This extension was approved by the ARB on 2012/06/12. Supporting it
immediately will make it easier to develop and test GLES3 features,
since we can do initial development and testing using desktop GL.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=07b702330351e4adb7985921159ec072b66b0445
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 13:11:32 2012 -0700
mesa/es3: Allow transpose matrix uniforms in GLES3
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=37d5ebe0d5e3fa19a84fcabb8c3e3ba2b179b4a7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 11:23:17 2012 -0700
mesa: Enable OpenGL ES 3.0 dispatch functions
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c70a37ae21219cc69b8e6d200307cce153c1d1d0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 19:27:56 2012 -0700
linker: Avoid buffer over-run in parcel_out_uniform_storage::visit_field
When too may uniforms are used, the error will be caught in check_resources
(src/glsl/linker.cpp).
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5d226d0ed2c12ad2b9a6a2459ec15d2ba9648c3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 21 15:20:23 2012 -0700
mesa: Do something sensible when on-line compression is requested but not possible
It is possible to force S3TC extensions to be enabled. This is
generally done to support applications that will only supply
pre-compressed textures. This accounts for the vast majority of
applications.
However, there is still the possibility of an application asking for
on-line compression. In that case, generate a warning and substitute a
generic compressed format. The driver will either pick an uncompressed
format or a compressed format that Mesa can handle on-line (e.g., FXT1).
This should only cause problems for applications that request on-line
compression and read the compressed texture back. This is likely an
infinitesimal subset of an already infinitesimal subset.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=066d799d380e9bdd58e87e4d066c407ed031247e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 12:50:44 2012 -0700
i965: Allow creation of OpenGL 3.1 contexts
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ab1229e398e54bc7758c683a160c1cd62d24edf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 09:11:05 2012 -0700
i965: Advertise GLSL 1.40 and TexBOs in core contexts
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5625697d98eacc1c9a4784df7e8aceb4a78e61a4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 12:46:22 2012 -0700
intel: Clean up bits of cruft in intelCreateContext
This and the previous three commits should probably be squashed together...
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f0d3d07ae9f4bee215405aeed7ebc6225039251
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 09:32:59 2012 -0700
i965: Set context flags
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee720d54ab4876eea7cdf6f02897143f8406118d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 09:23:50 2012 -0700
mesa/dri: Allow creation of forward-compatible contexts
This is done by changing the API to API_OPENGL_CORE.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0eb22ef21ea135c9eb93a57f3b27055edbbde5b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 21 18:03:49 2012 -0700
mesa/es: Enable GL_OES_vertex_array_object
Functionally the same as GL_ARB_vertex_array_object.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3426e619117089d677eb13d35749427786449a20
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 21 17:57:22 2012 -0700
mesa: Enable GL_{ARB,APPLE}_vertex_array_object in all drivers
This is a purely software extension. The drivers don't need to do any
work to support it.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddad73d89d0a1ccea00d5f714986614beae8ee9e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 17:57:17 2012 -0700
meta: Don't use deprecated keyword in 1.30 shader
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c7efeac9506de20316fafc0d85534669f5a64d0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 17:15:06 2012 -0700
mesa: Disallow alpha, luminance, and LA textures in core context
Also disallow the 1, 2, 3, and 4 formats.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaf210f4868b086a04a19fa00152a808edf8bd47
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 17:14:47 2012 -0700
mesa: Disallow more deprecated functions in core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bef8e035b702e07b0d66e18e4538c88f6c32e186
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 17:14:02 2012 -0700
mesa: Require names from Gen in core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03b8d9db85a97ff40e7de87a1da99e60f6bdd0f8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 17:12:39 2012 -0700
mesa: Allow NULL vertex pointer without a VBO
There is text in the OpenGL 3.x specs to explicitly allow this case.
Weird.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=706af1c880e8a8c4f30036c628bce95ac44aaefb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 17:12:12 2012 -0700
mesa: Disallow VertexAttribPointer without a VAO in a core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c801d684774b4e2ce4a990956eb2c1fc462df112
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 16:08:40 2012 -0700
mesa: Disallow wide lines in forward compatible context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=17a53279203951b6f61412eef752ffca9a429aa2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 16:03:06 2012 -0700
mesa: Only FRONT_AND_BACK is allowed for PolygonMode in core context
Page 407 (page 423 of the PDF) of the OpenGL 3.0 spec says (in the list
of deprecated functionality):
"Separate polygon draw mode - PolygonMode face values of FRONT and
BACK; polygons are always drawn in the same mode, no matter which
face is being rasterized."
Also modify meta to not use FRONT or BACK in a core context.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec98fb13ffbff11a7baad1b6de37a3f6b1b48830
Author: Paul Berry <stereotype441 at gmail.com>
Date: Wed Aug 8 11:56:33 2012 -0700
meta: Don't stray outside the confines of the API specified in the context
Signed-off-by: Paul Berry <stereotype441 at gmail.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14b321f4c037b95a46e3213299ab5fee98f88bbb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 14:32:43 2012 -0700
mesa: Don't allow display lists or evaluators in core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77ca7c84b1ad6ccbdfcb246a2d3489863bc51278
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 17 14:32:21 2012 -0700
mesa: Don't allow GL_EXTENSIONS query in core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=218e512c352d772e6f2f4b4144bf454887446c64
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 15 08:45:03 2012 -0700
mesa: Non-sprite points are deprecated
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44c0f929d207df4aae3fc380238e760f7e46120c
Author: Eric Anholt <eric at anholt.net>
Date: Wed Aug 8 18:44:40 2012 -0700
mesa: Fix VAO deletion on GL 3.1 core.
We were calling through a dispatch table entry that was NULL, since the apple
variant is only on legacy desktop. Just call the function we mean instead of
indirecting through the dispatch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=581ef35360a7423d39ede955bbb52c3fc381ea93
Author: Eric Anholt <eric at anholt.net>
Date: Wed Aug 8 18:29:14 2012 -0700
mesa: Enable a bunch of missing getters on 3.1 core.
NOTE: maybe I enabled too many?
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6d3a3e76ccffb45dad473629e2b6a64e62a95cd
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 26 15:10:04 2012 -0700
mesa: Expose texture buffer objects when the context is GL 3.1 core.
v2: Use API_OPENGL_CORE.
v3: Only require desktop GL. If a driver can't support TexBOs in a non-core
context, it should not enable them.
Signed-off-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=347e2c8f99a462cdd973afb5c3ab4005995e0856
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 11:47:15 2012 -0700
mesa: Allow PACK / UNPACK queries for ES2
These are part of the GL_EXT_unpack_subimage extension and ES 3.0.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d38d1034a584aea39e658e178b499211ca2244f8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Sat Jul 28 15:20:48 2012 -0700
mesa: Kill ES2 wrapper functions
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c407f04fda8d7e69e70d04a2233f52616b27770
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 13:37:45 2012 -0700
mesa: glGetVertexAttribPointerv is part of core profile and ES2
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=803d626053c7ead0ec0ff982df4c448503c146b9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 17:43:22 2012 -0700
mesa/es: Validate glPointParameter pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18de6d900c478d6a47dd109dad25fdd743990b80
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 17:40:34 2012 -0700
mesa: Require OpenGL 2.0 for GL_POINT_SPRITE_COORD_ORIGIN
The comment in the code even says this is the right thing to do.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fe8dfa638d8f81a20ca6e6f7964330b26797750
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 17:38:32 2012 -0700
mesa: Require that drivers supporting point sprites support point parameters
All drivers in Mesa do. This allows a lot of extension checking code to be
gutted from the function.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8278cfd57819e982e2b7a0b9f2253f3678f9e020
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 17:48:30 2012 -0700
mesa/es: Validate glGetTexEnv parameters in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c2634e2fa7f05c9a2448d17324c1a5aaa5f5855
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 17:22:42 2012 -0700
mesa/es: Validate glTexEnv parameters in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=633b5795d973e9d0d2a028008a7e879944a252d5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 16:47:27 2012 -0700
mesa/es: Validate glGetTexGen parameters in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=016ddbb98491246ebd1522dfd715e91e8a4f5a3c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 16:27:23 2012 -0700
mesa/es: Validate glTexGen parameters in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe5c2740bf0c4a84ae5d495a24a7df83fc360f72
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 16:13:02 2012 -0700
mesa/es: Validate glLightModel pname in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bc3320e0ed786a85fa4da546f323a757910fa7c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 16:07:19 2012 -0700
mesa/es: Validate glMaterial face and pname in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76f7e0ede2d0c07615c8d2627b6f9fa084e976c6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 15:57:09 2012 -0700
mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapper
Fixes a bug that glGetMaterial[fx]v in ES1 contexts would (try to) allow
queries of GL_AMBIENT_AND_DIFFUSE. This enum can only be used in glMaterial,
not in the get.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a7a57c14a7f9ded207df19cc56573c2a35a880e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 15:49:50 2012 -0700
mesa/es: Validate glGetPointerv pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile, GLES1, and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78796ef5414a922031cba614ab2d4050dcd1a77b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 15:47:16 2012 -0700
mesa/es: Validate glMatrixMode mode in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28f6c991b0e3fe8b85de31ae79b9305849fa2486
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 12:37:05 2012 -0700
mesa/es: Validate glFog pname in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5800318317082de885e0f4cda308dc4db7791063
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 12:24:24 2012 -0700
mesa/es: Validate glReadPixels format and type in Mesa code rather than the ES wrapper
v2: Add proper GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7ee6d3966dfc09e8be9165ceb408be36b850612
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 12:11:32 2012 -0700
mesa/es: Validate glPixelStore pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=668a9a1995bfd7cc0b77040ae0968e9da19ad105
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 11:56:42 2012 -0700
mesa/es: Validate glEnable cap in Mesa code rather than the ES wrapper
Also handle glDisable, glIsEnabled, glEnableClientState, and
glDisableClientState.
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e4cff235661a44d026f9220fc5a0140a0b4a7fb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 11:03:06 2012 -0700
mesa/es: Validate glHint target in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a90edbc9a466f0cdf78c0709cc564014737cd4d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 16:21:49 2012 -0700
mesa/es: Validate glGetVertexAttribf pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7e79df3e37ab8c8adfef711f4595b755fcff492
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:39:50 2012 -0700
mesa/es: Validate glGetString pname in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c3fdd25d16e75d1946a2230568f2df1c3867395
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 07:15:29 2012 -0700
mesa/es: Validate primitive modes in Mesa code rather than the ES wrapper
v2: Add proper core-profile filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=565d729f49ea349e5e320e5b3158044e3cbb1461
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 07:12:33 2012 -0700
mesa: Refactor _mesa_valid_prim_mode to use a switch-statement
This makes the next change a bit easier.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4ef8b3710d5c6cf3377ab2bf9b66c93029f4004
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 24 19:52:53 2012 -0700
mesa/es: Validate blend function enums in Mesa code rather than the ES wrapper
v2: Add proper core-profile filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a3465af49a8ad1b4fb4c168caa8bf9dd1580fca
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:39:30 2011 -0700
mesa/es: Validate glClear mask in Mesa code rather than the ES wrapper
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d394bba1572058d309371919e6e5c4636fb066a7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 08:31:12 2012 -0700
mesa/es: Validate glRenderbufferStorage internalFormat in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5447942f1e3f7640f1c5badbd81d14bf79e32f1f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:49:49 2012 -0700
mesa/es: Validate glGetRenderbufferParameter pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13090d423cee1ccd43b17ce09c2626623f60a9f0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:47:28 2012 -0700
mesa/es: Validate glGetFramebufferAttachmentParameter pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile, GLES1, and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a7a2ef99c3bf7e325c11c89d71047294c242867
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:24:37 2012 -0700
mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=67ad46c002319799b7bf37e0da1d809da8019a78
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:22:41 2012 -0700
mesa/es: Validate glFramebufferTexture2D textarget in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e695bc2795bda15e9310e524c5a87d108a2161c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:16:41 2012 -0700
mesa/es: Validate glGetBufferParameteriv pname in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c017546c8d4aa21752b015af5f23272dcc47da7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 16:17:25 2012 -0700
mesa/es: Validate glMapBuffer access in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb7552f7bd87a07f6e36ae2316a1cf61d2b9ec6f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 16:08:12 2012 -0700
mesa/es: Validate glBufferData usage in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b28ca222cf8af2c9ab4f35fb3612ed733f715bb2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:29:48 2012 -0700
mesa/es: Validate buffer object targets in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01b00f133962ae02645c1a84aad59650436c7e3d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:19:31 2012 -0700
mesa/es: Validate VertexPointer types in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=461064baa507276cde9e7a9301588883feb49457
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:15:11 2012 -0700
mesa/es: Remove redundant vertex pointer size validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49dbfbedc24ee79ff70cf2bb8e1c0fb5570491ff
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:13:51 2012 -0700
mesa/es: Validate TexCoordPointer size in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dee6049b18f6b673c4026354dcb9be5c42152303
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:13:00 2012 -0700
mesa/es: Validate TexCoordPointer types in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bbca8640769801d3c95ce8b8b44864adf9a3784
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:10:21 2012 -0700
mesa/es: Validate NormalPointer types in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fee5e7d0546ca6d8bfccb24a3d6c31175652cf8c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 14:58:36 2012 -0700
mesa/es: Validate ColorPointer size in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb6544560d6bf4bb076db443d7f01bf8e83b2f77
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 14:53:01 2012 -0700
mesa/es: Validate ColorPointer types in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00d9baccc852ef1a6fabbcb621c91476b36d10e5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 14:48:17 2012 -0700
mesa/es: Remove redundant vertex attrib pointer type validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f26e928dd0ff132c96594b1688a80f53f1b1d868
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 14:34:53 2012 -0700
mesa/es: Remove redundant vertex attrib pointer size validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b65a33d583ef00ccdec83cf9244155a3e4078f20
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 14:46:54 2012 -0700
mesa/es: Disallow BGRA vertex arrays in ES or ES2 contexts
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a484ae0d64cb2e1dc8cdc9ee143f69fcd701e7b4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 14:40:18 2012 -0700
mesa: Rearrange array type checking, filter more types in ES
v2: Fix handling of GL_INT and GL_UNSIGNED_INT types pre-ES3.0, and fix
handling of GL_INT_2_10_10_10_REV and GL_UNSIGNED_INT_2_10_10_10_REV in
ES3.0. Based on review comments by Ken Graunke.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8698b77f196fbcf3088d1ad1993e03a87c85e42d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 07:24:58 2012 -0700
mesa: Refactor element type checking into its own function
This consolidates the tests and makes the emitted error message
consistent.
v2: Rename _mesa_valid_element_type to valid_elements_type. Log the
enum string instead of the hex value in error messages. Based on review
comments from Brian Paul and Ken Graunke.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a66c8bacbae563540dca369dfe3e24e40d7e7a7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 24 20:17:18 2012 -0700
mesa/es: Validate glCreateShader targets in Mesa code rather than the ES wrapper
v2: Add proper core-profile filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=150db4bcc4e98eebb5f75d8d0df4f5ce87723cb9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 24 20:13:39 2012 -0700
mesa/es: Validate glGetProgramiv pnames in Mesa code rather than the ES wrapper
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85d5e56369d71f8ecb04556ac575afedaaa717db
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 24 20:06:25 2012 -0700
mesa: Filter glGetProgramiv pnames based on available extensions
Previously you could always glGetProgramiv one of the transform feedback
or geometry shader enums even if the extension wasn't supported.
In addtion, this reverts part of bda6ad27. I think the hunks involving
GL_PROGRAM_BINARY_LENGTH_OES were spurious. Mesa has no support for any
other part of GL_OES_get_program_binary.
v2: Remove redundant return in get_programiv based on review feedback
from Matt Turner.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b028faeaa2c4b0ca2e86892aac70a2f2b872fbb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:13:03 2012 -0700
mesa/es: Validate glCompressedTexSubImage internalFormat in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd0eb004874645135b9aaac3ebbd0aaf274079ea
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:09:30 2012 -0700
mesa/es: Validate glCompressedTexImage internalFormat in Mesa code rather than the ES wrapper
v2: Add proper core-profile filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c11096e94a68ce0a1d7c9cda0f178ceca44ce25d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 06:45:54 2012 -0700
mesa/es: Validate glCopyTexImage internalFormat in Mesa code rather than the ES wrapper
v2: Add GLES3 filtering. I'm not 100% sure this is correct.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9848e86af0c937a6f7609289ab2705c3535f378f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 06:40:26 2012 -0700
mesa/es: Validate glTexSubImage format and type in Mesa code rather than the ES wrapper
v2: Add proper GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=409620e47748479aaef593dc9bec0d6dd520e14a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 19:18:58 2012 -0700
mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather than the ES wrapper
v2: Add proper GLES3 filtering.
v3: Collapse ALPHA, LUMINANCE, and LUMINANCE_ALPHA cases per review
comment from Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0686ccac950bac1a650400b29c47ddaafea22fa9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 18:46:23 2012 -0700
mesa/es: Validate glTexImage border in Mesa code rather than the ES wrapper
Also validate glCopyTexImage border. This fixes a bug in the APIspec.
Previously glTexImage3DOES could be passed a non-zero border without error.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59d965333c05534475b60042571366656b97ab9d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 18:43:26 2012 -0700
mesa: Generate an error when glCopyTexImage border is invalid
NOTE: This is a candidate for stable release branches.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dcb40bb44a813295e3133bcec66c0de1e5f5a34
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 15 09:57:50 2012 -0700
mesa/es: Add support for GL_APPLE_texture_max_level
This is desktop OpenGL functionality that has always existed.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9689e3e55928d4a95f1c10c7a33fffba8cbdece
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 18:15:40 2012 -0700
mesa/es: Validate glGetTexParameter pnames in Mesa code rather than the ES wrapper
This also adds a missing extension (and API) check around
GL_TEXTURE_CROP_RECT_OES.
v2: Add proper core-profile and GLES3 filtering. GL_TEXTURE_MAX_LEVEL
is (incorrectly) accepted in ES contexts. A future patch will add
GL_APPLE_texture_max_level, and meta really needs this.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3dd524a1082efd12d4a796122c300a61ba016d9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 18:04:50 2012 -0700
mesa/es: Validate glTexParameter pnames in Mesa code rather than the ES wrapper
This also adds a missing extension (and API) check around
GL_TEXTURE_CROP_RECT_OES.
v2: Add proper core-profile, GLES1, and GLES3 filtering. GL_TEXTURE_MAX_LEVEL
is (incorrectly) accepted in ES contexts. A future patch will add
GL_APPLE_texture_max_level, and meta really needs this.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4269cace7944b465860213acbaf82ffddb91efcb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 17:49:55 2012 -0700
mesa/es: Remove redundant glBindTexture target validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f7c8364cf1d763f04413aecfac66df5534aeb34
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 17:41:43 2012 -0700
mesa: Filter glBindTexture targets based on supported features.
Fixed the piglit test arb_texture_buffer_object-negative-unsupported.
NOTE: This is a candidate for stable release branches.
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=530c9d764b84035728a28ee2db996fffe49125ce
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 10:39:45 2012 -0700
mesa/es: Validate tex image targets in Mesa code rather than the ES wrapper
This should take care of all the TexImage, TexSubImage, CopyTexImage,
CompressedTexImage3DOES, and CopyTexSubImage type paths.
v2: Add proper core-profile and GLES3 filtering.
v3: Squash the CompressedTexImage3DOES patch per review comment from
Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea9b212fca78eada7cc7c4449de3f31d2ceea1c3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 16:13:33 2012 -0700
mesa/es: Validate EGLImageTargetTexture2DOES target in Mesa code rather than the ES wrapper
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0595cb4506251509e032a2592d6bb684480de4b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 16:03:44 2012 -0700
mesa/es: Validate glTexParameter targets in Mesa code rather than the ES wrapper
Ditto for glGetTexParameter targets.
v2: Add proper core-profile and GLES3 filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=842efb9447bd4c8c29599f1baeee8a380d5276c2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Oct 3 13:03:47 2011 -0700
mesa/es: Validate GL_TEXTURE_WRAP param in Mesa code rather than the ES wrapper
v2: Add proper core-profile filtering.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d53101a9f31e1cba553c80dbafd23c748dd58a1d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Oct 3 12:46:23 2011 -0700
mesa: Refactor validate_texture_wrap_mode to use a switch-statement
This makes the next couple changes a little easier.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2abf555496b8f5a7319542756508dd2f2e8ed07c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 22 18:53:42 2012 -0700
meta: Don't modify GL_GENERATE_MIPMAP state when it doesn't exist
This is a bit of a hack. _mesa_meta_GenerateMipmap shouldn't even be
used in contexts where GL_GENERATE_MIPMAP doesn't exist (i.e., core
profile and ES2) because it uses fixed-function, and fixed-function
doesn't exist there either!
A GLSL-based _mesa_meta_GenerateMipmap should be available soon. When
that is available, this patch will be irrelevant and should be reverted.
v2: Change (ctx->API != API_OPENGLES2 && ctx->API != API_OPENGL_CORE) to
(ctx->API == API_OPENGL || ctx->API == API_OPENGLES) based on review
comment from Brian Paul.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ddfca98378a1eb4044e8e9d7168d73443709068
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Fri Aug 17 10:32:53 2012 +0300
build/glsl: fix android build v2
Commit 77a3efc6b907943903190b385fdf107c4acfcdca broke android build that
sets its own value for GLSL_SRCDIR before including Makefile.sources.
Patch moves overriding the value after include, this works as GLSL_SRCDIR
variable gets expanded only later.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6b8b709cdc280d3dc77cd9f78654726132d22bb
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Aug 21 14:36:44 2012 -0700
automake: convert es1api
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f8110cb0c782b179933da0b47649c3f8fe42328
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Aug 21 14:52:59 2012 -0700
automake: convert es2api
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68d6441930fa19e2414a4c273ddce15e0c71de99
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Thu Apr 12 04:30:57 2012 +0400
st/dri: pass config options to the state tracker
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6457c0692f1bc292ae4120ff5cd0bed340271b9
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Thu Apr 12 04:30:03 2012 +0400
st/mesa: accept and handle configuration options from st/dri
Currently there is a single option - force_glsl_extensions_warn.
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44f69fc82518d343733c77905cf9b9963fe102e4
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Thu Apr 12 04:28:52 2012 +0400
st/dri: add force_glsl_extensions_warn option to dri options
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7c177ec9e37d0c406c3b0ef8f228159d7ee5d69
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Thu Apr 12 04:28:24 2012 +0400
st/dri: use driver name for driconf section lookup
The name is taken from the driver_descriptor, so it will be the same as
expected by driconf utility.
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6547733593f137e5e6e024a6084d4c04ca2abc34
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Wed Aug 22 20:20:04 2012 +0400
swrast: add DRM_DRIVER_DESCRIPTOR to store driver name
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b41f36bde778e6b11129f51de423b7c3aece26b4
Author: Paulo Alcantara <pcacjr at profusion.mobi>
Date: Fri Aug 17 14:08:10 2012 -0300
egl_dri2: Fix segmentation fault
The segmentation fault occurs when DRI2 is not loaded up and
dri2_setup_screen() function deferences dri2_dpy->dri2 (since it's NULL
at this point).
This patch fixes the segmentation fault by checking if dri2 pointer is
not NULL before deferencing it.
Signed-off-by: Paulo Alcantara <pcacjr at profusion.mobi>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90bd1d52bbf95947955a66ec67f5f6c7dc87119a
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Tue Aug 21 17:48:14 2012 +0000
radeon/llvm: Use the MCCodeEmitter for R600
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=235318a578b3d7772a60590c7e76791ed6d1a78e
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Aug 17 19:42:11 2012 +0000
radeon/llvm: Use the MCCodeEmitter for SI
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2de24024c1ca5366e76f449b115392a97808ef2d
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Aug 17 20:51:31 2012 +0000
radeon/llvm: Set 64BitPtr feature bit for SI
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f9b6aa0f467b8d918ce277697db2f42abe1cf4c
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Aug 17 19:07:37 2012 +0000
radeon/llvm: Lower RETFLAG DAG Node to S_ENDPGM on SI
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e30b4644b613a130318cdf240ad237b0afbc525a
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Aug 17 15:52:15 2012 +0000
radeon/llvm: Add AsmPrinter
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e61c54cb6b220dea243568919a001e5dc7c01303
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Aug 16 17:39:23 2012 +0000
radeon/llvm: Mark JUMP as a pseudo instruction
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ead72204f1864008430189421663a5d07a02293b
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Aug 23 13:55:22 2012 +0000
radeon/llvm: Remove the last uses of MachineOperand flags
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=67a47a445b544ac638d10303dc697d70f25d12fb
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Wed Aug 22 15:04:58 2012 +0000
radeon/llvm: Add flag operand to some instructions
This new operand replaces the MachineOperand flags in LLVM, which
will be deprecated soon. Eventually all instructions should have a flag
operand, but for now this operand has only been added to instructions
that need it.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a7a56e7aa56bc6cb847c241ef6bd749713ae6e1
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Tue Aug 21 19:30:26 2012 +0000
radeon/llvm: Encapsulate setting of MachineOperand flags
MachineOperand flags will be removed soon, so it is convienent to
have only one function that modifies them.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bee2edbf3d2da2c2351c70e56da0dca205caa8ea
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 16:24:32 2012 -0700
build: Link DRI drivers with dricore in case of no direct rendering
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfd7d6f58b47984853cf0831057e84a617de25ed
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 15:51:59 2012 -0700
build: Only build libmesagallium.la if building Gallium
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9786394e5969593f9a0ea6e5653168197506523
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 15:43:27 2012 -0700
build: Clean glx Makefile.am
mapi/glapi is already built when make is run in src/glx.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9b109892d862709fe9696ecee5764d35501c982
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 14:54:25 2012 -0700
build: Put mapi/shared-glapi in CORE_DIRS
SRC_DIRS was overwritten (visible in the second hunk).
Also don't require mapi/shared-glapi to be built for GLES.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c9b78aad155df31ade2f385b897609c43597249
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 14:22:47 2012 -0700
build: Only allow shared-glapi with DRI
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32e8ce6d24d43b03edb1be0156813a8ec2657732
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 14:05:56 2012 -0700
build: Set sensible DRI/X11/OSMesa defaults
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53248e5f95ee696992f3cfd11d8ddc5d748d0d8c
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 11:25:14 2012 -0700
build: Print whether shared-glapi is enabled
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=625651cf813f2b18626f0d26e68e3a2935325b8d
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 11:16:45 2012 -0700
build/x11: Force usage of C++ linker
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9049b7f0fa8689582437ad5413c100fdb607e37b
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 11:12:48 2012 -0700
build/x11: Don't link against shared-glapi
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be5fe7b32090ddf425467cee88929423b2ab034d
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Aug 17 09:31:16 2012 -0700
build: Remove deprecated --with-driver= flag
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=302c66ff813221998bbdcd56887a440aa3c60650
Author: Christian König <deathsimple at vodafone.de>
Date: Wed Aug 22 12:35:02 2012 +0200
radeonsi: rework vertex format handling
Preventing piglit's draw-vertices test from hanging the GPU.
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=07838603b9a69c05911edbcd351bfce5ad9b5a2c
Author: Christian König <deathsimple at vodafone.de>
Date: Tue Aug 21 14:41:29 2012 +0200
radeonsi: fix SPI_PS_INPUT_ENA handling
We need to enable at least one interpolation mode,
otherwise the GPU will hang.
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d1a9a984f33d8e45f932a9f47cdd57da617a919
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Tue Aug 21 15:39:25 2012 +0400
r600g: fix lockups with dual_src_blend v2
Disable blending when dual_src_blend is enabled and number of color exports
in the current fragment shader is less than 2.
Fixes lockups with ext_framebuffer_multisample-
alpha-to-coverage-dual-src-blend piglit test.
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4610e9f927caa679f34f0d3135d7b1b8cb8bd29
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Tue Aug 14 15:19:22 2012 +0200
st/dri: Add shared usage on buffers created
Tested-by: Scott Moreau <oreaus at gmail.com>
Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61e95b8a5f8524c7ff726f92ef6edc6b6bb35196
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Tue Aug 14 15:15:56 2012 +0200
gbm: Add shared usage on images created
Tested-by: Scott Moreau <oreaus at gmail.com>
Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df2c4cbcedb2dcf2aa44adaa6462d9becccbea49
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Tue Aug 21 11:03:48 2012 -0700
mesa: Fix generic compressed texture formats' handling in glTexImage/glCopyTexImage
The generic texture formats should be accepted by the <internalformat>
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and
CopyTexImage2D functions. When the application specifies a generic
format, the driver is free to pick an uncompressed format.
This patch reverts the changes due to following commit:
commit a36581ccc06693231011c3fe136207e73191b1ce
mesa: do more teximage error checking for generic compressed formats
This patch fixes compressed texture format failures in intel oglconform
pxconv-gettex test case:
https://bugs.freedesktop.org/show_bug.cgi?id=47220
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cb07bd3b8abd5e52e9dbd80bb1666058545387e
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Tue Aug 21 14:53:50 2012 +0000
radeon/llvm: ExpandSpecialInstrs - Add support for cube instructions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c99f2101fbd3edb7d5899c44ca9d984a3c0f8b6
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Tue Aug 21 14:33:04 2012 +0000
radeon/llvm: ExpandSpecialInstrs - Add support for vector instructions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82a5d0c64142990236b40567561b6e99b7158216
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Mon Aug 20 21:09:00 2012 +0000
radeon/llvm: Add R600ExpandSpecialInstrs pass
This pass expends reduction instructions into a MachineInstrBundle that
contains 4 instruction, one for each instruction slot.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05882985757e655f5298af483c881008d45e6249
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Mon Aug 20 21:08:03 2012 +0000
radeon/llvm: Add helper function for getting sub reg indices
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a25ebe3ce95a6a4aef7c844dbe95909976b68da
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Tue Aug 21 13:48:18 2012 +0200
radeonsi: Handle NULL sampler views getting passed in by the state tracker.
Don't dereference NULL pointers, and if all views are NULL, don't generate an
invalid PM4 packet which locks up the GPU.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1114c619acf347917565cd1d0467240a89a76c0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 26 10:38:15 2012 -0700
APIspec: Remove cruft about AMD_compressed_???_texture
Mesa doesn't support these extensions, and it seems unlikely that it
ever will
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c32ee5bcaa0815f4f975066de98c6598bdaf51d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:23:14 2012 -0700
mesa/es: Remove redundant glFramebufferTexture3D textarget validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c9afe50fd674c3503d880b1f0f5216577bf7d9d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:18:48 2012 -0700
mesa/es: Remove redundant glGetShaderiv pname validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaef4416385883a1bb23785164c0ca3973b3267e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 07:06:58 2012 -0700
mesa/es: Remove redundant glCompressedTexImage border validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d39cb8e9ef23b7fadde945f27e956f762301a0ec
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:24:38 2012 -0700
mesa/es: Remove redundant glPointSizePointer type validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d54004c3526e2040be6521546b263f29c77f06ce
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 16:15:25 2012 -0700
mesa/es: Remove redundant glGetBufferPointer pname validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68d7ce3e9e54bfa544a1438b73d0920bf89a2de7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 15:20:32 2012 -0700
mesa/es: Remove redundant glGetVertexAttribPointer pname validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5be5cf69341c4acf0ae666373790db9ad1df06fd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 25 07:26:33 2012 -0700
mesa/es: Remove redundant element type validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b99a8caff14d66a963a68d5599da2b50a9938765
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 24 20:18:17 2012 -0700
mesa/es: Remove redundant glGetShaderPrecisionFormat shader type validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c914ac239e74282458f69956a4358545b41f9c3f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:50:50 2011 -0700
mesa/es: Remove redundant depth func validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af276d9d4bbdafe0845956480edeacfe820bcd84
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:50:22 2011 -0700
mesa/es: Remove redundant stencil op fail/zfail/zpass validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3f993153c5310c35e79bb6184d32e2271793b0f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:47:43 2011 -0700
mesa/es: Remove redundant shade model mode validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a193557d115e62bf70c599e4037d8e1e3f5a9fc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:45:43 2011 -0700
mesa/es: Remove redundant light pname and light validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02344107913f6322360fe4bb09133eda5d57e5b8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:43:43 2011 -0700
mesa/es: Remove redundant hint mode validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4251da3b220079a8326fcc39bde00ec16240ae1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:21:41 2011 -0700
mesa/es: Remove redundant separate stencil face validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9113d0e686caf5f5e28728fa9b2157234aa33662
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:20:08 2011 -0700
mesa/es: Remove redundant stencil function validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1087745afe0035d2240014697155577f1a0bd573
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:19:04 2011 -0700
mesa/es: Remove redundant logic op operand validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf03589882ee4b36a9c3fb618a1d5f6b567163db
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:17:16 2011 -0700
mesa/es: Remove redundant alpha function validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f55d83569aa364ac7c6928c30b13d846d187389
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:15:22 2011 -0700
mesa/es: Remove redundant separate stencil mask face validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52d57985c69a0d8dab23db7070e2d83d914438f4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:13:14 2011 -0700
mesa/es: Remove redundant front-face mode validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1dbf56a10b08aa51a9186979548fcc929615b27
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:09:55 2011 -0700
mesa/es: Remove redundant face culling mode validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66404557db9d20aa6c761680a2188960e946dd6a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:08:35 2011 -0700
mesa/es: Remove redundant blend equation mode validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e39ea674d0a51bdd10205a1c554f5e25df09156f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 20 16:07:04 2011 -0700
mesa/es: Remove redundant texture target validation
Mesa doesn't check the parameter passed to glMultiTexCoord*. It does,
however, mask the texture value to prevent out-of-bounds writes. This
patch will promote this non-conformant behavior to OpenGL ES 1. I don't
think anyone will care, and the gets some silly code out of a hot path.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=386e2f32895b5e66982fc4c18a636ceabfb762fd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Oct 3 13:09:51 2011 -0700
mesa/es: Rearrange placement of GL_TEXTURE_MAX_ANISOTROPY_EXT in APIspec
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27e55805fbc4b11331c402b1185d097a2564f6b1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Oct 3 13:05:47 2011 -0700
mesa/es: Remove redundant min/mag filter validation
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=926a4a922f9a5ec397cb3d316dd915b00b39c54d
Author: Mathias Fröhlich <Mathias.Froehlich at gmx.net>
Date: Sat Aug 18 11:43:51 2012 +0200
radeon-llvm: Start multithreaded before using llvm.
This is required to make some of llvm's api calls
thread save. In particular the PassRegistry, which is
implicitly accessed while compiling shader programs.
The PassRegistry uses a mutex that is only active if
the llvm_is_multithreaded() returns true.
Calling llvm_start_multithreading() makes this happen
and by calling this function we try to make sure that
we can savely compile shaders in paralell.
Since there is also a call llvm_stop_multithreading()
in the llvm api, we cannot guarantee that this does
not get switched off while we are relying on this being
set, but for the easier use cases this fixes a race with
the radeon llvm compiler we have as of today.
Signed-off-by: Mathias Froehlich <Mathias.Froehlich at web.de>
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59361d76a5b0b6b77d6e6bc976e02df2e8df9ec3
Author: archibald <archibald at ethernull.org>
Date: Mon Aug 20 14:44:39 2012 +0000
r600g: Move common compute/3D register init to its own function
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c51f8e2790e9f1aed51133ca0e33dac236fba4a0
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat Aug 18 17:34:44 2012 +0200
nv50/ir/tgsi: handle DP2 in tgsi Instruction srcMask
Solved by Tiziano Bacocco on IRC.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3a7be740dd9658097c2518a3bc6ec4ec197ad70
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat Aug 18 17:30:50 2012 +0200
nv50/ir/emit: don't forget saturation bit on f32 add immediate
Solved by Maxim Levitsky on IRC.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0ace4e949d0e2f11e6f0fb0fd97ccde58457937
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date: Sat Aug 18 11:51:22 2012 +0200
mesa: use #if over #ifdef in the FEATURE_ES1 check to fix a build failure.
mfeatures.h will define FEATURE_ES1 to 0 if it's not defined yet.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53664
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b542681dc05b8b9eba677ee74323ac0ff85a5f0
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 17 08:16:23 2012 -0600
st/mesa: fix sampler view counting
In the past, when we called pipe::set_sampler_views(n) the drivers set
samplers [n..MAX] to NULL. We no longer do that. The state tracker
code was already trying to set unused sampler views to NULL to cover
that case, but the logic was broken and unnoticed until now. This patch
fixes it.
Strictly speaking, this patch shouldn't be necessary. Drivers should simply
ignore unused samplers and sampler views. But some drivers like llvmpipe (and
others?) count those things and they figure into state validation. That could
be fixed in the future.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53617
Reviewed-by: Marek Olšák <maraeo at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d65eb02537813ad1f469fa3d597726fcb5a76bb0
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 17 15:20:07 2012 -0600
util: update and fix u_upload_mgr.h comments
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84e5cb37d3cf0dd0b224d2431c7417d5e2fa6453
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 17 14:33:31 2012 -0600
st/mesa: use Elements() instead of hard-coded number
And add a comment about the velems_util_draw[] array.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a9e4d5113cf1fd608668506312167a676fcdb4f
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 17 10:52:16 2012 -0600
mesa: remove unused params, add const qualifiers
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6af24ee14a3e3cef99e96db539aa2abc911e6e0
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 17 10:50:39 2012 -0600
mesa: querying GL_TEXTURE_COMPRESSED_IMAGE_SIZE for a buffer obj is illegal
GL_INVALID_OPERATION is to be raised when querying a non-compressed
image/buffer. Since a buffer object can't have a compressed format this
query always generates an error.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34472a0d8713c4eb300c9d1de0844c8b78bcf1ab
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 27 14:38:37 2012 -0700
mesa/es: Don't generate ES1 type conversion wrappers
These are gradually going to get whittled away and eventually folded into the
source files with the native type functions.
v2: Add (speculative) SConscript changes. These may be broken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d707e337f5f9a7b6ed465ade1b0b7c06606dde22
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 13 18:08:56 2012 -0700
i965: Fix bug in the old FS backend's projtex() calculation.
In the old backend, we looked at any FS attribute's proj_attrib_mask bits, not
just texcoords. Now that we have _mesa_vert_result_to_frag_attrib(), we can
fill in the other FS inputs with correct proj_attrib_mask info.
NOTE: This is a candidate for stable branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46644
Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3df13b32e56dbc76bdc72b75ea1462f79b44dce9
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Jun 10 19:33:01 2012 -0700
mesa: Support GL_TEXTURE_BUFFER in GetTexLevelParameter[if]v in GL 3.1+.
The OpenGL 3.1 specification explicitly allows this. Oddly, the
ARB_texture_buffer_object spec's issues section claims this isn't
allowed, but proceeds to explain that the extension simply doesn't edit
the underlying spec to allow it, and thus it didn't appear in the list
of legal texture targets.
Thus, this patch legalizes it only in 3.1+ contexts, but still returns
INVALID_ENUM in earlier contexts that expose ARB_texture_buffer_object.
Unfortunately, the behavior of the call is horrendously undefined.
Fixes oglconform's tbo/negative.textureParams test.
v2: Require desktop OpenGL.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c37fc1e9240a323b07c21da83dbd5432fc6895a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Jun 11 01:27:38 2012 -0700
mesa: Split out part of glGetTexLevelParameter into a helper function.
Move the _mesa_GetTexLevelParameter[iv] functions below the helper
function so the prototype is available.
This will be useful in the next commit.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58d11524dace34f6e9e513b23eaeb098d1eafd0b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Jun 10 19:11:55 2012 -0700
mesa: Add GL_TEXTURE_CUBE_MAP to _mesa_max_texture_levels(). [v2]
For cube maps, _mesa_generate_mipmap() calls this with
GL_TEXTURE_CUBE_MAP (the gl_texture_object's Target) rather than one
of the faces. This caused _mesa_max_texture_levels() to return 0, which
resulted in maxLevels == -1 and the next line's assertion to fail.
This function is called from seven places:
- fbobject.c: framebuffer_texture()
- mipmap.c: _mesa_generate_mipmap()
- texgetimage.c:
- getteximage_error_check()
- getcompressedteximage_error_check()
- texparam.c: _mesa_GetTexLevelParameteriv()
- texstorage.c: tex_storage_error_check()
All of these (or their callers) now explicitly check for invalid targets
already, so this shouldn't cause invalid targets to slip through.
(Technically _mesa_generate_mipmap() doesn't check for invalid targets,
but the API-facing _mesa_GenerateMipmapEXT() function does.)
+2 oglconforms (float-texture/mipmap.automatic and mipmap.manual)
In addition to fixing the mipmap bug, it should also cause glTexStorage
to accept GL_TEXTURE_CUBE_MAP, which is explicitly allowed by the spec.
v2: Drop alterations to callers; this is now in a patch series that adds
explicit checking to API functions.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e4fde85e46f406b37ad372487fbff4ed51c65e4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Jun 10 18:41:58 2012 -0700
mesa: Add explicit target checking to GetTexLevelParameter[if]v().
Previously, it relied on _mesa_max_texture_levels() for texture target
error checking. This was somewhat dodgy, as _mesa_max_texture_levels()
is called in seven diferent places, not all of which necessarily accept
the same list of targets.
I copied the list of legal targets from _mesa_max_texture_levels(), so
this patch should not introduce any change in behavior. Future patches
will cause the two to diverge.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=63396ce4c0fe067f69d1b53d0408627a421c4678
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Jun 10 19:06:23 2012 -0700
mesa: Add explicit target checking to Get[Compressed]TexImage().
Previously, they relied on _mesa_max_texture_levels() for texture target
error checking. This was somewhat dodgy, as _mesa_max_texture_levels()
is called in seven diferent places, not all of which necessarily accept
the same list of targets.
I copied the list of legal targets from _mesa_max_texture_levels() but
removed the proxy targets, as both functions explicitly rejected those
targets. This changes the order in which we check errors, which could
change whether we return INVALID_VALUE or INVALID_ENUM. However, it
shouldn't change the list of accepted targets.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f69273f9522a0c1486cf1870e35b3a16516f7233
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 17 08:58:15 2012 -0600
llvmpipe: remove polygon stipple assertion
It's possible for us to have an unused sampler bound when the fragment
shader itself doesn't use any samplers. So the assertion isn't valid.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53616
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=553a08d3144b8b668f28c6094948afe64be309d9
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 16 15:27:39 2012 -0600
svga: minor code reformatting
To be consistent with other functions.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81ba2c53b698b3926e71dd37e7898719fd2deb3e
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Aug 14 12:36:01 2012 -0700
build: Remove -shared from OSMesa's LDFLAGS
Would break the static build.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d12b07eb1a881df641f81ce7e31d3da8043a5b80
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Aug 14 12:33:32 2012 -0700
build: Remove EXTRA_LIB_PATH
You can add extra library paths to LDFLAGS directly.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e273ed37eaf9de57883631f223afbe50f1c78291
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Aug 14 12:24:31 2012 -0700
build: Require X11 pkg-config files
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f36c404f900dee95ecfe9d5c6a7c6efdf5e25963
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 16 20:36:40 2012 +0200
r600g: disable tiling for 422 formats again
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=795834432b11418d82db9a5580c916b3bee1a8f2
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Aug 7 03:30:43 2012 +0200
r600g: fix blits of subsampled formats
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fd9218bb44b8719da60ce325d4f41c4a611e871
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 16 19:05:22 2012 +0200
r600g: fix copying between NPOT mipmapped compressed textures
We aligned the dimensions to the blocksize, then divided by it
(in r600_blit.c), then minified, which was wrong.
The minification must be done first, not last.
This fixes piglit/fbo-generatemipmap-formats with S3TC and maybe
a bunch of other tests too. Tested on RV730.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8e9cf5d965ce09227cd9875c4381c73f237f196
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Aug 15 19:06:04 2012 +0200
r600g: make F2U trans-only on r600-r700
This fixes a failing assertion in r600_asm.c.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d7e00281505b4537a8aee9002792d56619269a4
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Aug 14 22:10:35 2012 +0200
r600g: set CB_COLOR_INFO to INVALID for disabled colorbuffers on r600-r700
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=951ac46a6a0a901b53a518c8dcde734578cbf228
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Aug 14 02:29:17 2012 +0200
r600g: rename r600_resource_texture to r600_texture
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=952c90576753550f4deed4dac42d8fd6129a9cce
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Aug 14 02:22:13 2012 +0200
r600g: always put tiled textures in VRAM
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=773ff5705f3b2d88fb7094b8d2e051bb684c2323
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Aug 12 18:40:33 2012 +0200
r600g: cleanup r600_resource_texture in favor of radeon_surface
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=362a25aac5f8cd71c08ad92b4b19be6712d8fd72
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Aug 12 18:36:52 2012 +0200
r600g: remove unused parameter in r600_texture_create_object
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4993d15eb07d95ac465b5f25ea96072e4b008bf
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Aug 12 18:22:42 2012 +0200
r600g: fixup the usage flag for the flushed depth texture
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0efd564a09988a4a7f49cab70b778026459dff1b
Author: Philipp Brüschweiler <blei42 at gmail.com>
Date: Wed Aug 15 18:14:44 2012 +0200
wayland-drm: close fd after the display is uninitialized
This fixes a "kernel rejected pushbuf: Bad file descriptor" error on
wl_drm display destruction.
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50dec637909cfe8fa53582f2f64ab261b123f092
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Aug 15 19:24:58 2012 +0100
scons: Fix MinGW cross compilation.
Compensate for the recent changes and assumptions added to
Makefiles.sources
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f82d1924831da7467bfe8025ca18e98b9548ca4
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Aug 16 15:49:31 2012 +0000
radeon/llvm: Lower implicit parameters before ISel
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d308ef8feb081bedd12e01b270278e5f0de8e5a
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 16 09:16:42 2012 -0600
gallium/draw: move misplaced brace
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6b7157550205a0633b4c2cb49a807d581176e21
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 10 10:36:17 2012 -0600
mesa: raise GL_INVALID_OPERATION in glGenerateMipmap for missing base image
This seems to be expected by the WebGL texture-mips test. The error makes
sense, but I haven't found (yet) any OpenGL documentation specifying this
error condition.
See http://bugs.freedesktop.org/show_bug.cgi?id=44912
Note: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d663a557fd27d7c238248e19f22f2e6b05f03030
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
r600: update sampler, sampler_view code for the future
For when we have pipe->set_sampler_states(pipe, shader, start, num, samplers),
etc.
Reviewed-by: Marek Olšák <maraeo at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10e552d056dd080c4e763a31df517c2d7684a9cf
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
rbug: update data structures, functions for future changes
To support geom/compute/etc shaders, samplers, sampler views, etc.
To support pipe->bind_sampler_states() w/ start_slot.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=109e87dc6aed1ad42d36b3757accbb7e79401bce
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
gallium/trace: add 'start' parameter to bind_sampler_states/views()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4ab8bd0955f1b114acee80f17a2e82c7129cc1a
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
gallium/identity: add 'start' parameter to bind_sampler_states/views()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3cc4990a090ee076d8217c83aaf16e036e66686
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
galahad: add 'start' parameter to bind_sampler_states/views()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd3733c0be174f947dd729e5fd987ea3a9566c27
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
svga: add 'start' parameter to bind_sampler_states/views()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c969cb1447a0dc0da3cd8016f3e86dcfb381643f
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
llvmpipe: add 'start' parameter to bind_sampler_states/views()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25a42f39e362322dbac836c29b76b3104bbfe6f4
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
softpipe: add 'start' parameter to bind_sampler_states/views()
To support updating a sub-range of sampler states/views in the future.
Note that we always pass start=0 at this time.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=348ac08bfdc0741e8b2e14a747e2299c49771ece
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
gallium/trace: consolidate sampler, sampler_view code
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad95b923a2bfd91677872765946b6a2f8d11260
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
gallium/identity: consolidate sampler, sampler_view code
This will simplify things when the pipe_context functions are consolidated.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3c3aff6efed49b7740a144f767c713cb22561e2
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
st/mesa: add support for GS textures and samplers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c8a13215813841703e7c2efa233e8d4cf517dfd
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
st/mesa: combine vertex/fragment sampler state in arrays
As with other recent changes, put the vertex and fragment sampler state
into arrays indexed by the shader type. This will let us easily add
support for other types of shaders in the future.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cab2fed135bc1edf7b65ddca3236020638427061
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
gallium: remove PIPE_MAX_VERTEX/GEOMETRY_SAMPLERS #define
PIPE_MAX_SAMPLERS, PIPE_MAX_VERTEX_SAMPLERS and PIPE_MAX_GEOMETRY_SAMPLERS
were all defined to the same value (16).
In various places we're creating arrays such as
sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS] so we were assuming
the same number of max samplers for all shader stages anyway.
Of course, drivers are still free to advertise different numbers of max
samplers for different shaders.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2c1df4c9a7375bc5306e8cfd07a9f7087759a96
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
draw: index samplers and sampler_view state by shader type
So that we can handle GS state and other types of shaders in the future.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bef196c7929606bb8c7e9c06fe83a90fc0d95f09
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:44 2012 -0600
draw: move tgsi-related state into a tgsi sub-struct
To better organize things a bit.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df87fb59136eb302d72eac4b58fd8ffb25989ed5
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 20:59:43 2012 -0600
gallium: add a shader stage/type param to some draw functions
To prepare for geometry shader texture support in the draw module.
Note: we still only handle the vertex shader case.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8ed00d5f13d7b016bc2ea56f130adc3fa857cc8
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 16 09:00:08 2012 -0600
st/mesa: silence signed/unsigned comparison warning
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d733e5da9c50f0bb93549642304da2f211879bb9
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 10:14:51 2012 -0600
svga: move result->key expression after result != NULL check
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50188adf7d4ca12488a3cb4b70ffdedea2e9c9b1
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 10:14:51 2012 -0600
svga: fix result==NULL logic in emit_fs_consts()
The previous test for result != NULL was kind of bogus since we dereferenced
the pointer earlier in the code. Now, check for result != NULL first, then
get the result->key info.
Also, remove the useless "offset +=" code at the end.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d55e0f1ba05252af658ca084769a279c956575b9
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 10:14:51 2012 -0600
svga: update comment (s/SVGA_NEW_VS_RESULT/SVGA_NEW_VS_PRESCALE/)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a5eeeaebe4f631e0f4e3dbe73f22d5f60a53db5
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 9 10:14:51 2012 -0600
svga: rename svga_hw_vs_parameters -> svga_hw_vs_constants
and similarly for svga_hw_fs_parameters
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cc1860d4a55c93ce12a649c281012b37212ffbd
Author: Niels Ole Salscheider <niels_ole at salscheider-online.de>
Date: Sun Aug 12 18:35:10 2012 +0200
st/mesa: index can be negative in the PROGRAM_CONSTANT case
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd41cbc557509a36ae513eb7170edffbaa5e5715
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 16 08:55:48 2012 -0600
mesa: add cast to silence warning in _mesa_pack_rgba_span_from_ints()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=658044cde1dbdd6d58ad61ef44850da7afa5c413
Author: Brian Paul <brianp at vmware.com>
Date: Thu Aug 16 08:53:55 2012 -0600
meta: remove unused variable
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b11395a36a44a902cfb3e1783758544662df73f
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Aug 16 10:37:44 2012 +0200
radeonsi: Fix symbol conflicts with r600g.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50389
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51d9f37a72b3c7893204efbbeca034d1581d30f1
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Wed Aug 15 17:18:30 2012 +0200
radeonsi: Fix memory leaks if returning early from some state functions.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b64fa2ff18ecf5b991f3f5e11daf1e3d8314664
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Wed Aug 15 18:22:46 2012 +0200
radeonsi: Fix LLVM context leak.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18abc270c56d5debc02a196634583a25074b3fef
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Wed Aug 15 15:59:07 2012 +0200
gallium/radeon: Don't assign virtual address space for BO that already has one.
We'd end up re-using the old one and throwing away the new one anyway, but only
after a roundtrip to the kernel.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a60be05284399202c7a5a7aaf4d1f8f0626aee80
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Wed Aug 15 15:48:34 2012 +0200
gallium/radeon: Create hole for waste when allocating from va_offset.
Otherwise, the wasted area could never be used for an allocation again.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f455ef5bc3c9711d9452dcc09fd849656ad8b33
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Apr 26 12:10:02 2012 +0200
gallium/radeon: Fix potential address space loss in radeon_bomgr_force_va().
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d59b7f6dc3131e773e9c9729388c08a2f987364
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Apr 26 20:41:17 2012 +0200
gallium/radeon: Delete uppermost virtual address space hole if it's at the top.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5fe81daea622f8f043edc19fb61ba367b6958aa
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Apr 26 11:44:11 2012 +0200
gallium/radeon: Fix losing holes when allocating virtual address space.
If a hole exactly matches the allocated size plus alignment, we would fail to
preserve the alignment as a hole. This would result in never being able to use
the alignment area for an allocation again.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=206d07625c9fd69c7d00a8722bd7390c5215bfe2
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Thu Apr 26 15:26:01 2012 +0200
gallium/radeon: Merge holes when freeing virtual address space.
Otherwise we'll likely end up with an ever increasing amount of ever smaller
holes.
Requires keeping the list ordered wrt offsets.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c25968f3e2a1b5144a2e88d15b95e5b477a55f5d
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Fri Aug 3 11:31:55 2012 +0200
gallium/radeon: Make va_offset 64 bits wide.
Otherwise we'd wrap around after 32 bits. The kernel currently limits GPU
virtual address space to 4GB anyway, but that will probably change sooner or
later, and this would result in confusing error messages when running out of
virtual address space even now.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1597176f7090eea73f41b3114ae2a02a50ac7a12
Author: Vinson Lee <vlee at freedesktop.org>
Date: Sun Aug 12 00:20:21 2012 -0700
llvmpipe: Silence Coverity incorrect sizeof expression defect.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: José Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d6892c4793ae1fd1ef82d40e4af8004393b0480
Author: Vinson Lee <vlee at freedesktop.org>
Date: Sun Aug 12 00:02:32 2012 -0700
scons: Add option to enable floating-point textures.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: José Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a3ac03f2b80c80655d66b31c0218754f70156de
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Mar 12 16:09:23 2010 +1000
glx/dri2: add dri2 prime support.
This adds support for having libGL pick a different driver for prime support.
DRI_PRIME env var is set to the value retrieved from the server randr
provider calls, by the calling process. (generally DRI_PRIME=1 will be
the right answer).
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=565a4e2a8625c79bde0eacf674a4f633151eeb0e
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:49:44 2012 +0200
radeon/llvm: Enable if-cvt
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a614979286f8d329af318c1e9fb067e17cab4315
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:49:43 2012 +0200
radeon/llvm: Add callbacks needed by if-cvt
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eca5fd919b0a31ea926b5f5072e5e56f7a55269
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:49:42 2012 +0200
radeon/llvm: Lower branch/branch_cond into predicated jump
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6db2e9fdb0a35e27e6fc86a1485918b78717a425
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:49:41 2012 +0200
radeon/llvm: Add a predicated JUMP instruction
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8263408a91b6b3beb5af5de6bdc7e5d13197a268
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:49:40 2012 +0200
radeon/llvm: Support for predicate bit
Tom Stellard:
- A few changes to predicate register defs
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f597d57e959830040473b548e0e04cfc63866c2
Author: Vincent Lejeune <vljn at ovi.com>
Date: Sat Aug 4 00:15:51 2012 +0200
r600g: Glue to handle predicate aware output from llvm
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72f7632c6bbbfc062ac7d90290e99f71272f6059
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:52:54 2012 +0200
r600g: Fix instruction group merge when there are predicated insts.
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56227f875bdff6ef4fd53b09ba267c786ae9dac2
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:52:53 2012 +0200
radeon/llvm: Do not use PV/PS if PRED_SEL does not match
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da676eab93e7dad30b574b4eb4cffd4df952e819
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:52:52 2012 +0200
r600g: Add support for predicates
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf76edd300b3e58a906d07404e7d7533a6d54a41
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Aug 12 19:42:38 2012 +0200
radeonsi: move ps sampler state into PM4 stream
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec5b698525ccd9d5cd734e723e284dea7cc2041d
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Aug 12 19:32:51 2012 +0200
radeonsi: move ps sampler views into PM4 stream
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54de6f452c3132a331f22c50cadff9b3ad99c6c2
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Aug 12 19:26:24 2012 +0200
radeonsi: move vertex state descriptors into PM4 stream
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2c95d93db197fe175d510436d7f4fa45aed1180
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Aug 12 19:16:48 2012 +0200
radeonsi: add shader data infrastructure
With this we can embed data for the shaders (like resource
descriptors) into the PM4 stream.
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4444b9d1ecddb09468d2878ffb1463a66ea0ffd3
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Aug 12 20:06:21 2012 +0200
radeon/llvm: add support to fetch temps as vectors
Necessary for texture fetches with temp regs as source on SI.
Signed-off-by: Christian König <deathsimple at vodafone.de>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6051bc7859829588b2361da96f8e828a7fe1326
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Jul 26 19:20:14 2012 +0000
radeon/llvm: Remove AMDGPUUtil.cpp
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=040c2e04568e2fe9ec07167f5300a3dcdfebb04e
Author: Apostolos Bartziokas <barz621 at gmail.com>
Date: Thu Jul 26 15:00:20 2012 -0400
radeon/llvm: Cleanup AMDGPUUtil.cpp
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3aaa209293a281e103ef71e3578fad042972e092
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Jul 26 14:30:23 2012 +0000
radeon/llvm: Lower loads from USE_SGPR adddress space during DAG lowering
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=40c41fe890e53d99afb4e2c3fbf10043081edd9e
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Wed Jul 25 19:17:16 2012 +0000
radeon/llvm: Add live-in registers during DAG lowering
Psuedo instructions emulating live-in registers have been removed
and their corresponding intrinsics are now being lowered during DAG
lowering.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3480f92349c90f55e2e80d9a4536ab048fb5652
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Jul 26 17:10:47 2012 +0000
radeon/llvm: Lower store_output intrinsic during DAG lowering
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a76a0f74225802f4d3f11028ab54afe98b26302b
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Wed Aug 15 18:19:27 2012 +0000
radeon/llvm: Force VTX_READ instructions to use same reg for src and dst
I was seeing some GPU hangs that seemed to be cause by ALU instructions
writing to the same register used as the source for VTX_READ. Adding
this constraint to the VTX_READ instructions avoids this situation.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97b4b97b2f9b0e4532c8ba9cedfff9f013a76fc2
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Aug 15 20:03:23 2012 +0200
radeonsi: fix build breakage after u_blitter changes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0cc61bd91f5ef84bacaf5e7c6cda9eeefed478d
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Aug 13 23:37:30 2012 +0200
gallium/u_blitter: document custom meta helpers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3b5bb9ddb05989b2dc5fc17f88491bbd0e6ecac
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Aug 15 19:11:51 2012 +0200
r600g: disable handling of DISCARD_RANGE
https://bugs.freedesktop.org/show_bug.cgi?id=53130
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44f14ebd7b9ba7186342039d2602fdd6ea5077f5
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Jul 5 20:06:41 2012 +0200
r600g: implement timestamp query and get_timestamp hook
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1932bc8aaeb59287a7f769b0cb9a55f49dd6d553
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 9 17:22:35 2012 +0200
r600g: enable MSAA on evergreen by default
v2: add the DRM version check
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=870af19d70bf985a253f1ea8398fb7ec8704cf9c
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 9 17:21:56 2012 +0200
r600g: implement copying between MSAA textures
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f86915c5322b096b7154b6c84e21288074b775d
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 9 17:21:10 2012 +0200
r600g: implement MSAA color resolve
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=94b634eca0e2bd32d4b5bd92d06d510eae8a5625
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 9 17:17:18 2012 +0200
r600g: implement MSAA depth-stencil decompression and resolve
and integer textures, which are resolved the same as depth, I think.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d3ad2dd2ba3ccdd211dbc618404519930631be2
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 9 17:01:46 2012 +0200
r600g: implement TXQ_LZ opcode
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b78df9c81f1ca8af2b750616de8ff440e99c3c1
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 9 16:48:45 2012 +0200
r600g: implement MSAA rendering and texturing for evergreen and cayman
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a01791add08fbcb5386e0e9209ba21ed58fbdc42
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Jul 22 07:48:52 2012 +0200
r600g: implement set_sample_mask
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6517225078a6a56c9fb3c1ea9f310992e6400b77
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Jul 22 06:36:58 2012 +0200
r600g: implement alpha-to-coverage
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=26cb887ea213be2445e0fd64364d9264ed4fbfd2
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 01:50:10 2012 +0200
r600g: implement alpha-to-one
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f215952760b2e5a92b25ddfa89469c1ec110160
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 14:29:25 2012 +0200
r600g: remove support for 3-channel colorbuffers
We have no sampler support for them.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f14202f52c9f61f5bb5bfb6beaf954ef5c18de9
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Aug 12 17:18:23 2012 +0200
configure.ac: bump libdrm_radeon requirement to 2.6.38
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7f4d3b740d4c85b0dc2b006c30c2bc4a3ed8597
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 20:02:30 2012 +0200
winsys/radeon: print error if CS is overflowed
and don't submit the CS to the kernel.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc5e61d8842501e0b67907e360392eb355c8b73d
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 03:15:29 2012 +0200
gallium/u_blitter: implement X and Y texture flipping
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=825b45366d5308fd3e8e71c0c1943cb6ca8f69ea
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Jul 25 12:38:22 2012 +0200
gallium/u_blitter: implement blitting multisample resources
It can blit only one sample at a time (it should be called in a loop).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dacf5dc9ac1a700b86e0dc385513afaff41e7aea
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Jul 28 13:29:02 2012 +0200
gallium: add TGSI support for multisample textures
The only allowed instructions are TXQ_LZ and TXF.
TXQ_LZ is like TXQ, but without the LOD parameter (which is always zero
with MSAA textures)
The 3rd or the 4th texcoord component in TXF should contain the sample index
for a 2D_MSAA or 2D_ARRAY_MSAA texture, respectively.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba53573a8b14a7ab41307a38710610611dfa1cc5
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 19:11:44 2012 +0200
gallium/tgsi: fix TGSI text parser
The problem was that the string matching succeeded e.g. for "2D" when there
was actually "2D_MSAA" and then failed parsing "_MSAA".
To prevent similar failures in the future, let's fix this kind of error
everywhere.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7c4ee21c53a73d84e352d6f3db2547f6434d14e
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Aug 5 02:46:41 2012 +0200
gallium/u_blit: set dst format from pipe_resource, not pipe_surface
We use it to decide whether we can use resource_copy_region.
NOTE: This is a candidate for the 8.0 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a17c4234431a17ec60503d69d7e84f85b3ae50d
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 03:14:14 2012 +0200
gallium: make pipe_box signed in order to represent flipped blits
This will be used by u_blitter.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03b78ceb50b97611bcaa2d2354ff5b505306b0a1
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 13:32:21 2012 +0200
st/mesa: don't clamp fragment color with integer colorbuffer
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e06d6168cb4367728fac68264757a700932c2f73
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Aug 4 13:37:03 2012 +0200
mesa: flush vertices in test_framebuffer_completeness
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=538085c5d423df4fed3c3b2c473c3684f7b08db6
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Wed Aug 15 10:49:22 2012 +0200
st/egl: Fix up for ClientVersion -> ClientMajorVersion rename.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53513
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3900ed5ad9bd5df112490dd2b5d2c17d6124067
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Sat Jun 9 12:19:11 2012 -0700
i965: add ARB_texture_rgb10_a2ui support
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=091eb15b694a396f8453093575ccec2db7f14eb8
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Thu Jun 21 09:40:47 2012 -0700
meta: allow CopyTexSubImage on integer formats
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6671d0dad300e591ac7c0e5110c6778373d0149a
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Mon Jun 25 14:14:25 2012 -0700
mesa ReadPixels: handle signed/unsigned integer clamping
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7333b6345deb1c0322079039544bc322ca1dad9
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Tue Jul 10 10:41:46 2012 -0700
mesa pack: handle packed integer formats with clamping
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a814217c336529b6f3133f9491ff5920ecaf346
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Tue Jul 10 11:07:54 2012 -0700
mesa unpack: call _mesa_problem when unpack function is not available
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3dd048cbb310b2c3ea40f09f9d89944851b2048
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Mon Jun 25 14:16:11 2012 -0700
mesa texstore: handle signed/unsigned integer clamping
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7208505d30fe05e828eb7d2450bfd8c2bee289a0
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Mon Jun 25 14:15:31 2012 -0700
mesa GetTexImage: handle signed/unsigned integer clamping
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ef270867cb1f3e19067c93449e48987a32730d3
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Mon Jun 25 14:08:37 2012 -0700
mesa pack: handle uint and int clamping properly
Rename _mesa_pack_rgba_span_int to _mesa_pack_rgba_span_from_uints.
Add _mesa_pack_rgba_span_from_ints.
These separate routines allow the integer clamping to be handled
properly for signed versus unsigned integers.
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1938501fbfb5052b1de7d78dc7ca8a8738f814e2
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Thu Aug 9 09:24:29 2012 -0700
intel: Fix rendering to a multisample front buffer
We need to downsample before flushing BUFFER_FAKE_FRONT_LEFT to
BUFFER_FRONT_LEFT in intel_flush_front.
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a43599d1d1a583b25c0a63c28c0a5001387fa518
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Thu Aug 9 09:21:21 2012 -0700
intel: Clean up intel_flush_front
Stop repeating ourselves. Replace the 4 instances of
`driContext->driDrawablePriv` with `driDrawable`.
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38b748ce29a6415558bbe4886589134e3db047c8
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Thu Aug 9 09:15:36 2012 -0700
intel: Refactor intel_downsample_for_dri2_flush
Move it from intel_screen.c to intel_context.c. Redeclare as non-static.
A future commit will use it in multiple files.
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cde2b7e55d88915d0c139ab5cdd3f204936958dd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 14 15:45:17 2012 -0700
docs: Add EGL extensions to release notes
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbecb413008c19e1864de93d9a8a9123bfee46e7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 19 16:12:13 2012 -0700
egl: Allow OpenGL ES 3.0 as a version
In the DRI2 back-end this will get the same API as GLES 2.0.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2ce2eba26639327d6080fbf3dd64d4ff5ac3bcb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 18 14:29:29 2012 -0700
dri2: Note that __DRI_API_GLES2 is also used for OpenGL ES 3.0
Unlike 1.x to 2.0, OpenGL ES 3.0 is backwards compatible with 2.0. Use the
same API flag for both. Applications that specifically want 3.0 will specify
this using the major / minor version attributes.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b4b4f8e68ba7a6109cc508de10314e966e56f5f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 19 16:04:01 2012 -0700
egl_dri2: Add support for EGL_KHR_create_context and EGL_EXT_create_context_robustness
Just like in GLX, EGL_KHR_create_context requires DRI2 version >= 3, and
EGL_EXT_create_context_robustness requires both DRI2 version >= 3 and the
__DRI2_ROBUSTNESS extension.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f171571bfc897921cee63cbba3b71fd9b64174c9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 19 15:08:06 2012 -0700
egl: Implement front-end support for EGL_EXT_create_context_robustness
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=63beb3df98147f34fd0965cb0afbb97444206d0c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 19 11:10:15 2012 -0700
egl: Implement front-end support for EGL_KHR_create_context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d76ad2fac5b6558d63656e9a29cda394bb4ec80
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 19 11:08:02 2012 -0700
egl_dri2: Silence warnings about missing initializers
egl_dri2.c: At top level:
egl_dri2.c:325:4: warning: missing initializer [-Wmissing-field-initializers]
egl_dri2.c:325:4: warning: (near initialization for 'swrast_driver_extensions[2].version') [-Wmissing-field-initializers]
egl_dri2.c:330:4: warning: missing initializer [-Wmissing-field-initializers]
egl_dri2.c:330:4: warning: (near initialization for 'swrast_core_extensions[1].version') [-Wmissing-field-initializers]
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fd79dd9886f05f45f3dc94c028a38dd75b8ee1b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 18 15:59:15 2012 -0700
egl: Rename ClientVersion to ClientMajorVersion, add ClientMinorVersion
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce55741cbc0837338b73f9112ab4d84363ebaee1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 18 14:41:28 2012 -0700
egl_dri2: Use createContextAttribs if DRI2 version >= 3
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38f91f2b08e2457fa637c631490fe713e8ee5429
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 18 13:17:50 2012 -0700
egl_dri2: Require DRI2 version 2
The extra block in dri2_create_context is to prevent extra white space noise
in the next patch.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c445bb618479adceb9243098fc20bebac4eecc7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 09:58:55 2012 -0700
dri_util: Compare against the correct API enums
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=258771882d8996c0f8f66c01071c26b0d85f9a0e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 13 13:17:33 2012 -0700
mesa: Enable GL_ARB_invalidate_subdata
v2: Add GL_ARB_invalidate_subdata to release notes at Brian's
suggestion.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=07e12c49175e0bf23dbd8bdc3afd7aa79ccc7140
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 13 13:14:25 2012 -0700
mesa: Add skeleton implementations of glInvalidateTex{Sub,}Image
These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0).
v2: Add comment explaining why minimum dimensions are set to 1 for some
texture targets. Add default case to switch statement to silence
compiler warnings and detect new texture targets. Both changes
suggested by Brian. Also use _mesa_is_desktop_gl as suggested by Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f241ffd48c2063557461f5b7bb2dea0b744b8bef
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 13 10:27:33 2012 -0700
mesa: Add skeleton implementations of glInvalidateBuffer{Sub,}Data
These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0).
v2: Use _mesa_bufferobj_mapped instead of testing
gl_buffer_object::Pointer as suggested by Brian. Also use
_mesa_is_desktop_gl as suggested by Ken.
v3: Add a comment by the map subrange / discard range overlap test and
fix an off-by-one error noticed by Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2370bcc1ddde84d5d1ff676c29638645cb21731
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 13 10:23:22 2012 -0700
mesa/es: Pass context to _mesa_init_bufferobj_dispatch
With this change _mesa_init_bufferobj_dispatch won't set function
pointers that don't exist in OpenGL ES.
v2: Use _mesa_is_desktop_gl and _mesa_is_gles3 as suggested by Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=342be8aa88819446220bba680d8e0b628078156f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 13 09:27:00 2012 -0700
mesa: Add skeleton implementations of glInvalidate{Sub,}Framebuffer
These are part of GL_ARB_invalidate_subdata and OpenGL ES 3.0.
v2: Reject aux buffers in core context, and use _mesa_is_desktop_gl and
_mesa_is_gles3. Both suggested by Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12249b9c96da730ea958976908e1bbb88bda9789
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 13 13:15:24 2012 -0700
glapi: Add GL_ARB_invalidate_subdata
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a1ca4ff73129825a7578b0a5ed1f0ac9476a4c3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 14 13:24:00 2012 -0700
mesa/es3: Add _mesa_is_gles3 predicate
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bcb9fad65f0926d665317d6830e9812baafcf86
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 10 21:31:57 2012 -0700
intel: Implement ARB_texture_storage
This is basically cut-and-paste from the swrast implementation, and it
could probably be (slightly) more optimal.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=92b614172f750f93f218cd78a9f3c066c3629cab
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 10 21:47:04 2012 -0700
mesa: update glext.h to version 83
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79e9e1b32f54f4fb6d752643fc9843c45eddd2f6
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:26:41 2012 -0700
build: Use MKDIR_P in src/mesa/Makefile.am
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02f52e8df58aad16e6b59fe35ac0c10b46dad36e
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:24:31 2012 -0700
build: Use AM_V_GEN in src/mesa/Makefile.am
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b200d900155722ec696bbd711a38ee0e04c4895
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:11:31 2012 -0700
build: Fix autogen.sh to allow out-of-tree builds
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85d355f1220443c9efdf2d759f23512a7c691a3e
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:09:22 2012 -0700
build: Fix out-of-tree generation of builtin_function.cpp
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2191a79b4e66be0fd31371989505eec63b07899d
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:07:00 2012 -0700
build: Fix gtest out-of-tree build
Introduced by 3d000e7dd.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e939250b63f70c671b5d7654b6b326237b1e353e
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:05:36 2012 -0700
build: Fix out-of-tree generation of api_exec_es{1,2}.c
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c2a6b74ed67021545b0f89fec558dacde37792e
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:02:23 2012 -0700
build/sources.mak: Add src/glsl/glcpp to INCLUDE_DIRS
Fixes problem where libdricore's of-out-tree build couldn't find
glcpp.h.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa7417521045d9bf6eea32607066543bd3ce07bb
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:01:12 2012 -0700
build/sources.mak: Remove unused GLSL_LIBS
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=707f0679157f83ac45127e41647b96ed924d45c9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 10 19:16:37 2012 -0700
mesa: Kill GL_ARB_shadow_ambient with fire
No driver supports this extension, and it seems unlikely than any driver
ever will. I think r300c may have supported it at one time, but that
driver has already been removed.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Marek Olšák <maraeo at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b49771970bb8d06a179da69a7eb6b0af1b379d2d
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Wed Aug 1 16:20:20 2012 +0000
radeon/llvm: Inline immediate offset when lowering implicit parameters
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fae8227ad906a6d6290134368b62f5dd3a1858e
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Mon Aug 13 21:29:46 2012 +0000
radeon/llvm: Use correct opcocde for BREAK_LOGICALNZ_i32
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea8dcfc90d5abbf699cd64be4dccd1e69fe82d75
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Aug 14 12:18:45 2012 +0100
scons: Populate top_srcdir and top_builddir variables when reading Makefiles.sources.
This is not entirely correct, as scons doesn't put binaries in a
"src" subdirectory, but doesn't seem to be a problem for now.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=605f964d5cc7016fc74e0563829fa794da845c20
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Aug 13 00:35:41 2012 -0700
mesa: Use GLdouble for depthMax in final unpack conversions.
The final step of _mesa_unpack_depth_span is to take the temporary
GLfloat depth values and convert them to the desired format. When
converting to GL_UNSIGNED_INTEGER with depthMax > 0xffffff, we use
double-precision math to avoid overflow and precision problems.
Or at least that's the idea. Unfortunately
GLdouble z = depthValues[i] * (GLfloat) depthMax;
actually causes single-precision multiplication, since both operands are
GLfloats. Casting depthMax to GLdouble causes the scaling to be done
with double-precision math.
Fixes a regression in oglconform's depth-stencil basic.read.ds test
since c60ac7b17993d28af65b04f9bbbf3ee74c35358c, where the expected and
actual values differed slightly. For example, 0xcfa7a6 vs. 0xcfa7a4.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49772
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43e3a7533d5537e48cef23588131dd25d938ee4b
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 13 17:49:06 2012 -0700
i965: Fix the scaling of seconds to ms in perf debug.
*headdesk*
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d60692601388b5448fb0ed4eb894103293b2f074
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 12:43:17 2012 -0700
i965: Validate API and version in brwCreateContext
v2: Use base-10 for versions like gl_context::Version. Suggested by Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db273724c9484d513f5caa34729475d2873d9f7b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 12:30:14 2012 -0700
i915: Validate API and version in i915CreateContext
v2: Use base-10 for versions like gl_context::Version. Suggested by Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a81e4b3e9272f70ab9074f1c133dda94c58daeff
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 12:16:35 2012 -0700
i830: Validate API and version before calling i830CreateContext
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b636243265f0f09b7fd8d42046119222a63cad4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 12:05:35 2012 -0700
intel: In the i915 driver, the chipset cannot be i965
In the i965 dirver, the chipset must be i965.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=70f47505a2e5d4cf949b7c2650f3d9f6559bacb3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Aug 7 11:26:19 2012 -0700
dri: Pass API_OPENGL_CORE through to the drivers
This forces the drivers to do at least some validation of context API
and version before creating the context. In r100 and r200 drivers, this
means that they don't do any post-hoc validation.
v2: Actually reject compatibility profile 3.2+ contexts. Thanks Ken.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e81f553bccda66fafa769f8456b4918d088181a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 10:29:11 2012 -0700
mesa: Filter a bunch more functions based on API
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fef911ce4c8b35311213cab36f1d8510cf6f814
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 10:00:32 2012 -0700
mesa: Don't advertise extensions that are part of GL 1.5 in a core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa0b1e902b33f95a2aa7c822239bd960fce13b1b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 09:59:09 2012 -0700
mesa: Don't advertise extensions that are part of GL 1.4 in a core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=213945385a1fb24e57d5d9609a9f4ec0ead41cae
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 09:54:55 2012 -0700
mesa: Don't advertise extensions that are part of GL 1.3 in a core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ef1869d69005c523ad81b23060ed02e306073f3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 09:51:38 2012 -0700
mesa: Don't advertise extensions that are part of GL 1.2 in a core context
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d39b8631587e59416d7b956fa147f00c6b6b174
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Aug 8 09:11:58 2012 -0700
mesa: Don't advertise deprecated extensions in a core context
It may be possible to trim the list of extensions futher. These are
just the obvious extensions that add functionality that the core context
explicitly forbids. Apple's core-context extension list is *just* the
extensions on top of the core GL version. I'm not sure we want to go
that far, but removing some things that have been in core since 2.1 may
be okay.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd4a61100da889afec96dc79b33a88b7b8049cec
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:12 2012 +1000
build: Fix libdricore out-of-tree builds (v2)
v2: Add both top_srcdir and top_builddir to mesa asm include dirs.
These require both in-tree and build-time-generated files.
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73fef0178ad9fb0fc47679fcc485144b4ef08fb6
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:11 2012 +1000
build/mapi: More killing of TOP in favour of top_srcdir
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77a3efc6b907943903190b385fdf107c4acfcdca
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:10 2012 +1000
build/glsl: fix location of generated files.
Like in src/mesa, use GLSL_BUILDDIR/GLSL_SRCDIR to unambiguously
distinguish between in-tree and generated files.
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=37a1b8083e7f7a6c3abe3843cfaed84163f2d19f
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:09 2012 +1000
build/glapi: fix includes for generated files
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fe69bac498aa87052768507a04c640050ee9d98
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:08 2012 +1000
build: fix out of tree generation of glapi_mapi_tmp.h
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=726f534bbb3f0356fbd5ceef7a1bba23024b4147
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:07 2012 +1000
build/glx: fix include paths for out-of-tree builds
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2ecaab7ad671f97840867c26869e0accf25592c
Author: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Date: Thu Jul 19 12:30:06 2012 +1000
build: fix location of generated files in src/mesa (v4)
Also fix include paths for the generated headers.
v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from
top_builddir/top_srcdir rather than the ambiguous TOP.
v3: Add both top_builddir and top_srcdir to include flags for mesa asm.
These rely on both in-tree and build-time-generated includes.
v4: Rebased on top of 948c8f502a.
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
Signed-off-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e087de51ad0e7ba4a7199d3664e1d096f8dc510
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Aug 10 10:26:04 2012 -0700
intel: Reserve enough space to finish occlusion queries on Gen6.
After realizing that brw_finish_batch emitted some final PIPE_CONTROLs
to record occlusion queries, Chris noted that we probably hadn't
reserved enough space to actually emit them.
Reserving a full 60 bytes seems a bit harsh, since we only need that
much if occlusion queries are actually active. Plus, 28 bytes would be
sufficient for Gen7, and 24 for Gen4-5.
We could optimize this in the future, but it doesn't seem too critical.
NOTE: This is a candidate for stable release branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53311
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9da50667f490ba2c6240f4c91c9707e3f181adae
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Aug 10 10:26:03 2012 -0700
intel: Move finish_batch() call before MI_BATCH_BUFFER_END and padding.
On Gen4+, brw_finish_batch() calls brw_emit_query_end(), which emits
some extra PIPE_CONTROLs to capture the current occlusion query data.
Unfortunately, it was being called *after* _intel_batchbuffer_flush
added the MI_BATCH_BUFFER_END, meaning those PIPE_CONTROLs didn't get
inside the batch.
Not only does this likely cause bogus occlusion query values, it can
also cause crashes: with the recent change to use 64-bit depth count
writes on Gen6+, we started emitting an odd-length PIPE_CONTROL, which
happened after the MI_NOOP padding. This resulted in an odd-length
batch buffer, which resulted in execbuf2 returning -EINVAL and the
application dying with an intel_do_flush_locked failure.
On older generations, finish_batch() doesn't emit any state, so this
change shouldn't have any effect.
Huge thanks to Chris Wilson for helping me figure this out.
NOTE: This is a candidate for stable release branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53311
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=006c1a3c652803e2ff8d5f7ea55c9cb5d8353279
Author: Eric Anholt <eric at anholt.net>
Date: Tue Aug 7 10:05:38 2012 -0700
i965: Add perf debug for stalls during shader compiles.
v2: fix bad comment from before I gave up and decided to just use doubles.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97a5f0ff2eb3a6e8b303ce402a4e1d9be7e7b323
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 14:05:29 2012 -0700
i965: Add performance debug for when the state cache gets nuked.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc3b7c9b56701f23b002543de33a8d8c43f9bdc2
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 13:19:53 2012 -0700
i965: Add performance debug for shader recompiles.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4da272a6ea58a7c81c71477d65d82651555709a
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 13:14:42 2012 -0700
i965: Add performance debug for fast clear fallbacks.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e723b135bfd59868c92c3ae243f1adaedaec3a5
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 13:01:49 2012 -0700
intel: Add performance debug for some common GPU stalls.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cfb9e30000eea9cb1f316ace9347083b619cdb0
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 13:08:20 2012 -0700
i965: Add performance debug for register spilling.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d72ff03e699e78381049e29d89163519e6730dd4
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 12:48:58 2012 -0700
i965: Add INTEL_DEBUG=perf for failure to compile 16-wide shaders.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79198063b8adb23536b291081f8df8571926950e
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 12 12:35:19 2012 -0700
intel: Rename INTEL_DEBUG=fall to INTEL_DEBUG=perf.
I want to introduce some more debug output for performance surprises that
includes fallbacks, but aren't necessarily software rasterization. Leave
INTEL_DEBUG=fall in place for those that have used that flag before.
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf6c1b74705243efdd43f07d381768fceede1f91
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date: Tue Jun 12 21:38:59 2012 +0300
meta: texture rectangle textures may not have mipmaps
Avoid INVALID_OPERATION error if decompressing rectangle texture.
Setting mipmap level limits for those textures is error that must not be
hit by meta code to mislead user.
[v3/Kayden]: Resolve conflicts due to Eric picking a subset of Pauli's
original changes.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9daa834633f0e012a35f67cf232464e5cb3b9b6
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date: Tue Jun 12 21:38:58 2012 +0300
meta: Use sampler object for mipmap generation
Sampler objects are perfect for meta operations.Sampler object
is separate state object that shadows the sampling state in texture
object. With sampler object mipmap can maintain same sampling state for
all subsequent generation requests.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac4dc5e9312f3ef154135a68521e7a20c88b7837
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date: Tue Jun 12 21:38:48 2012 +0300
mesa/samplerobj: Avoid crash in sampler query if texture unit is disabled
Sampler queries are so far made only for enabled texture unit. But if
any code would query sampler before checking texture unit state that
would result to NULL deference.
Making the inline helper easier to use with NULL check makes a lot sense
because compiler is likely to combine the checks for the current texture.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5606bd574e264c4beda8eb1d10b48d17e9b8b497
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date: Tue Jun 12 21:38:45 2012 +0300
mesa: Remove unnecessary parameters CompressedTexImage
In tune with previous patches. Again there is duplication of information
in function parameters that is good to remove.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9a7dfcf92e6adb4b85338c2c8dbbfbaf39fbfe7
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date: Tue Jun 12 21:38:44 2012 +0300
mesa: Remove unnecessary parameters from AllocTextureImageBuffer
Size and format information is always stored in gl_texture_image
structure. That makes it preferable to remove duplicate information from
parameters to make interface easier to understand.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5af8891805fc4f590c1371c098cdbc704c44e00
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date: Tue Jun 12 21:38:43 2012 +0300
mesa: Remove unnecessary parameters from TexImage
gl_texture_image structure always holds size and internal format before
TexImage driver hook is called. Those passing same information in
function parameters only duplicates information making the interface
harder to understand.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e98ace934e1ea875f352fcef823ca46a416ca751
Author: Tom Stellard <tstellar at gmail.com>
Date: Fri Jul 13 13:46:23 2012 +0000
configure: Check xcb version when X11 pkgconfig exists
Commit 6882381a2efbdf06b7002d11468c94b9964c2bc8 added a dependency on a
newer version of xcb, but the version check wasn't added in all the
necessary places.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c73282d2bfa8fa52acdb3ac32c5eca260bad792
Author: Chí-Thanh Christopher Nguyễn <chithanh at gentoo.org>
Date: Thu Aug 9 17:42:24 2012 +0200
gbm: Fix build without gallium_drm_loader
pipe_loader_drm_probe_fd only exists if HAVE_PIPE_LOADER_DRM is defined.
Patch improved as suggested by Vadim A. Misbakh-Soloviov.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=52962
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f5ff5981cfc1b1eb613890e4f8cec6a448611cc
Author: Christian König <deathsimple at vodafone.de>
Date: Fri Aug 3 10:26:01 2012 +0200
radeonsi: move drawing into new state handling
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=583c212115795bef65da92761180ce830fafc927
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 16:15:40 2012 +0200
radeonsi: move sync handling into new state handler
So we can remove all the old atom handling.
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=303f4b7dcddee384d6f1dc1027cbdee840a38d7d
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 15:21:02 2012 +0200
radeonsi: separate and disable streamout for now
I have my doubts that this code still works on SI.
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=696b6cf46609281711add5331b9c3e1d0240ecbc
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 15:06:59 2012 +0200
radeonsi: remove ps_partial_flush
Not needed any more.
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7acb194a7bb4534674bccc351771915ea60d0869
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 14:52:55 2012 +0200
radeonsi: remove r6xx_flush_and_inv atom
It is not used any more.
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=708337e62e86cfb2df893f0733bb7c5a4938fab6
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 14:43:23 2012 +0200
radeonsi: move init state to new state handling
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=862df0885aa04ef68319382fc2df27a7b68fc0dd
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 14:30:06 2012 +0200
radeonsi: add support for PKT3 cmds to new state handling
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce40e4726cf30196b87df387255c64ddc2a97638
Author: Christian König <deathsimple at vodafone.de>
Date: Thu Aug 2 12:14:59 2012 +0200
radeonsi: cleanup shader headers
Signed-off-by: Christian König <deathsimple at vodafone.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=996ff1c9bf5c3cd9102367bb3f16341053f87541
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Fri Aug 10 14:02:03 2012 -0700
Revert "mesa: Remove C++11 narrowing warnings"
This reverts commit 9f5a5d541d5c1ff2e440791ba8ff44d0233daeb4.
Fixes the following build error on GCC 4.2.3:
cc1plus: error: unrecognized command line option "-Wno-narrowing"
The GCC Manual incorrectly stated that commit 9f5a5d54 woulde be safe for
old versions of GCC.
Reported-by: Andy Furniss <andyqos at ukfsn.org>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16c702ef3b9cff320c2adbfa853e00088adbf689
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 10 12:16:10 2012 -0600
softpipe: fix softpipe_delete_fs_state() failed assertion
The var!=softpipe->fs_variant assertion was failing because we weren't
nulling the softpipe->fs_variant pointer when binding a new shader.
Since softpipe->fs_variant depends on the current fs, it's of no use
when a new FS is bound.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53318
Note: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3487b93cc4b8bea44f966a4f5cfd29b26dbbcff2
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 10 12:14:17 2012 -0600
cso: rearrange some structure fields for consistency
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf77c29e6015d177c046adee3c48589cc9fb5015
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 10 09:57:05 2012 -0600
st/mesa: fix renderbuffer validation bug
After we attach a new renderbuffer in this function we need to make
sure Mesa's update_framebuffer() gets called.
Fixes crash in WebGL conformance/textures/texture-attachment-formats.html,
but the test still fails for other reasons.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53316
Note: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f5a5d541d5c1ff2e440791ba8ff44d0233daeb4
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Thu Aug 9 12:59:22 2012 -0700
mesa: Remove C++11 narrowing warnings
Add -Wno-narrowing to CXXFLAGS for gcc.
It is safe to add this flag even for versions of gcc that don't recognize
it. From the GCC Manual [1]: "[GCC] allows the use of new -Wno- options
with old compilers".
This removes warnings of the form
warning: narrowing conversion of X from 'int' to 'float' inside { } is
ill-formed in C++11 [-Wnarrowing]
in ff_fragment_shader.cpp and gen6_blorp.cpp of the form. When building
i965, I observed no other difference in the build output.
[1] http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7af4beae5e25c060d4f2c53d55b0e87ee9bdaeb
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 10 09:23:36 2012 -0600
gallivm: fix crash in lp_sampler_static_state()
Fixes WebGL conformance/uniforms/uniform-default-values.html crash.
We need to check for the null view pointer before accessing view->texture.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53317
Note: This is a candidate for the 8.0 branch.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b04abe36812a34ba447e5b1f8d8e44a10510820
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 10 09:12:50 2012 -0600
st/mesa: fix glCopyTexSubImage crash
Fixes a WebGL crash. The dest texture image is at level 2 and is of
size 1x1 texel. The st texture image is a stand-alone resource, not
a pointer into a complete mipmap. So the resource has one level and
trying to write to level 2 blows up.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53314
and http://bugs.freedesktop.org/show_bug.cgi?id=53319
Note: This is a candidate for the 8.0 branch.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Thu Aug 9 13:55:07 2012 -0700
intel: Always downsample in intel_miptree_map_multisample
Always downsample before mapping, even if the map mode contains
GL_MAP_INVALIDATE_RANGE_BIT. If we neglect to downsample when only
a subrect is mapped then the upsample in intel_miptree_unmap_multisample
may write garbage to the region outside the subrect.
(Eric gave my patch e88cfbb a conditional reviewed-by with the condition
that it always downsample before mapping. I forgot to make that change
before pushing the patch.)
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04a11b5f5e22155e5816e2da560b485eb0eaaec9
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jul 27 21:07:48 2012 -0700
i965/gen6+: Add support for edge flags.
Fixes the 3 new piglit edgeflag tests.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40707
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3367f56d880550befb31a0100c448e1d607915f
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jul 27 15:57:07 2012 -0700
i965/vs: Convert EdgeFlagPointer values appropriately for the VS on gen4.
Fixes piglit gl-2.0/edgeflag.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb8d7122507600ca7c65f8f3fd0e9e9dee7a432
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jul 27 15:53:54 2012 -0700
i965/vs: Add comment noting copy_edgeflag state dependency.
It's already in the state struct.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e119f98472f6ceb03ffd564eb0398233e7b81437
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jul 27 12:57:56 2012 -0700
i965/vs: Add support for copying user edge flags.
Fixes the glsl skinning demo regression since changing to the new GLSL
compiler, and is part of fixing piglit gl-2.0-edgeflag.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50079
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7426d9d7699452f15f3288e781e1791d8d00a64a
Author: Olivier Galibert <galibert at pobox.com>
Date: Thu Jul 19 22:00:16 2012 +0200
i965/fs: Fix the FS inputs setup when some SF outputs aren't used in the FS.
If there was an edge flag or a two-side-color pair present, we'd end up
mismatched and read values from earlier in the VUE for later FS inputs.
v2: Fix regression in gles2conform shaders generating point size. (change by
anholt)
Signed-off-by: Olivier Galibert <galibert at pobox.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
NOTE: This is a candidate for the 8.0 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34665381713249c29b7da5028396222dfea477c2
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed Aug 8 00:08:43 2012 -0700
st/mesa: Initialize tgsi_texture_offset Padding field.
Fixes uninitialized scalar variable defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: José Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68bccc40f55aee7f4af8eb64b15a95f0b49d6a17
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Aug 6 15:12:07 2012 -0700
glx/dri: Initialize reset to __DRI_CTX_RESET_NO_NOTIFICATION.
If the application has requested reset notification, then
dri2_convert_glx_attribs will initialize this to the correct value.
Otherwise, it's supposed to initialize this to NO_NOTIFICATION, but
doesn't when num_attribs == 0. (The consensus seems to be that we
should make it do so, but that's more invasive, so I'm pushing this for
now.)
Fixes a regression since a8724d85f8cb2f0fb73b9c6c1f268f9084c6d473
where trying to run OilRush_x86 or apitrace heaven_x64 would result in:
dri_util.c:221: dri2CreateContextAttribs: Assertion `!"Should not get
here."' failed.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53076
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=94f22fbe787214580a1a13a774114d2650c166cb
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Wed Aug 8 20:46:45 2012 +0300
intel: use _mesa_meta_Clear with OpenGL ES 1.1 v2
Patch changes i915 and i965 drivers to use fixed function version of
meta clear when running on ES 1.1. This fixes rendering errors seen with
Google Maps, Angry Birds and Gallery3D on Android platform.
Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all extensions
internally to be available independent of GL flavour, therefore check
against ARB_fragment_shader does not work.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50333
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5deb1d1a1f9e3354597569032af9bdf27d629cca
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Aug 8 09:41:19 2012 -0700
i965: Rework the extra flushes surrounding occlusion queries.
This removes the CS stall on Ivybridge.
On Sandybridge, the depth stall needs to be preceded by a non-zero
post-sync op, which requires a CS stall, which needs a stall at
scoreboard. Emit the full workaround.
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0adbda75a092a92211bb519a395494532ddb17e
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 6 15:02:34 2012 -0700
i965/vs: Protect pow(x,y) MOV of y on gen4 from other instruction flags.
I don't know if it was possible to trigger this bug -- we don't merge
saturates into the math instruction because we're bad at coalescing currently,
and there's nothing generating these with predicates. Still, let's avoid
future bugs when we do smarter codegen.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b4053cabd8bda180b352d2d2047209f6ca5f6e8
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 6 14:59:39 2012 -0700
i965: Drop the confusing saturate argument to math instruction setup.
This was ridiculous. We were ignoring the inst->header.saturate flag in the
case of math and only math. On gen4, we would leave inst->header.saturate in
place if it happened to be set, which would end up being applied to the
implicit mov and thus trash the first argument. On gen6, we would overwrite
inst->header.saturate with the saturate flag from the argument, which was not
set appropriately in brw_vec4_emit.cpp, and was only not a bug due to our
incompetence at coalescing saturate moves.
By ripping the argument out and making saturate work just like all the other
brw_eu_emit.c code generation, we can avoid both these classes of bugs.
Fixes piglit fog-modes, and the new specific fs-saturate-exp2 case.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48628
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33dfdc735e052d9c9b33883350e926d40220b6ac
Author: Eric Anholt <eric at anholt.net>
Date: Wed Aug 8 16:03:04 2012 -0700
i965: Make brw_set_saturate() use stdbool.
There was a chance for brw_wm_emit.c to screw up and pass (1 << 4) instead of
1, which would get converted to 0 when stored. Instead, use stdbool which
converts nonzero to true/1 like we want.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b148e660e4cefcfbdc65ef8a58a7e52e8820782
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 6 08:26:30 2012 -0700
mesa: In conditional rendering fallback, check the query status.
Otherwise, conditional rendering always takes the fallthrough "render it
anyway" case unless the application had itself done a check or wait on the
query.
Fixes intel oglconform's conditional_render advanced.nofbo.readpixels.
Reviewed-by: Brian Paul <brianp at vmware.com>
NOTE: This is a candidate for the 8.0 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bbd12036819ed6a2d0993c437e0c02bf0c92b0b
Author: Eric Anholt <eric at anholt.net>
Date: Wed Aug 1 12:38:56 2012 -0700
mesa: Fix glPopAttrib() behavior on GL_FRAMEBUFFER_SRGB.
I happened to notice this while looking at a blit pass in l4d2, which had an
optional push/pop around framebuffer srgb setting. It didn't matter in the
end, but the fix is sitting in my tree now.
Reviewed-by: Brian Paul <brianp at vmware.com>
NOTE: This is a candidate for the 8.0 branch.
More information about the mesa-commit
mailing list