Mesa (gles3): 49 new commits
Ian Romanick
idr at kemper.freedesktop.org
Thu Jan 24 18:58:49 UTC 2013
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6268987ff624c46608388ee7a6aaef2db93a747
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 22 01:14:36 2013 -0500
glsl: Remove ir_variable::uniform_block
v2: A previous patch contained a spurious hunk that removed an
assignment to ir_variable::uniform_block. That hunk was moved to this
patch. Suggested by Carl Worth.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=644b466d218bc3421a8d8e7449bb10a6c3ab84d8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:19:25 2013 -0500
glsl: Allow dereferencing fields of an interface instance
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bd63cb1a7b830aebc6a5b1a324c18cb8f882154
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Sat Dec 15 14:49:53 2012 -0800
glsl: Allow elimination of uniform block members
glGetActiveUniform is not supposed to report block members that are not
active even if they are included in the layout of the block. The block
layout is determined from the GLSL_TYPE_INTERFACE that defines the
block, so eliminating the ir_variables that correspond to the individual
fields is safe.
Fixes gles3conform test
uniform_buffer_object_getuniformindices_for_for_nonexistent_or_not_active_uniform_names.
This also fixes the assertion failures (added in the previous commit) in
gles3conform uniform_buffer_object_index_of_not_active_block,
uniform_buffer_object_inherit_and_override_layouts, and
uniform_buffer_object_repeat_global_scope_layouts.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5717b8dabb8917488f1b0c0fd95355c3e9fadb2e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 22 01:09:16 2013 -0500
glsl: Calculate UBO data at link-time
Use the function added in the previous commit.
This temporarily causes gles3conform
uniform_buffer_object_index_of_not_active_block,
uniform_buffer_object_inherit_and_override_layouts, and
uniform_buffer_object_repeat_global_scope_layouts to assertion fail.
This is fixed in the next commit.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=383c6463b9a4056b95770b2147941b3f0f911e1a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 22 00:59:56 2013 -0500
glsl: Add link_uniform_blocks to calculate all UBO data at link-time
Calculate all of the block member offsets, the IndexNames, and
everything else to do with every UBO.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45b441f76cc0fe63f5b1e197a18f40d05b2dbb0d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 17:33:47 2013 -0500
glsl: Add a visitor to determine whether a uniform block is ever used
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f21dd5974ecad5084d274d155fd4f8be11f43ab6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 22 00:44:58 2013 -0500
glsl: Lower UBO references using link-time data instead of compile-time data
Pretty much all of the compile-time, per-compilation unit block data is
about to get the axe.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce756d355bff6670a01b17536ba46d0999b472cd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 22 00:23:24 2013 -0500
glsl: Add gl_uniform_buffer_variable::IndexName field
glGetUniformIndices requires that the block instance index not be
present in the name of queried uniforms. However,
gl_uniform_buffer_variable::Name will include the instance index. The
IndexName field is added to handle this difference.
Note that currently IndexName will always point to the same string as
Name. This will change soon.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6caa7ab3c82416c773259cae632006dc004a3c09
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 22 00:06:10 2013 -0500
glsl: Make the align function available elsewhere in the linker
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c829791fd793a11af16277f94f2df4ede0270e34
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:57:45 2013 -0500
glsl: Calculate link-time uniform block data without using compile-time block data
Pretty much all of the compile-time, per-compilation unit block data is
about to get the axe.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3f9b8edcc2091cc9b5ca4187728dc90ce634009
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:43:25 2013 -0500
glsl: Assert that interfaces, like structures, are not seen as leaf types
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=031cbd4e05d9059657a9b41e0dc2124470791171
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:42:19 2013 -0500
glsl: Add new uniform_field_visitor::process variant
This flavor takes a type and a base name. It will be used to handle
cases where the block name (instead of the instance name) is used for an
interface block.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=102a2ae2c8c13b959fb21aa9b422a1cd9629d290
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:27:30 2013 -0500
glsl: Recurse into uniform blocks just like uniform structures
v2: Inspite of the spell checker, spell recurse correctly. Suggested by
Carl Worth.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91ff93a41b723fe1aca966f83ebe6b234d3f6bc0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:06:45 2013 -0500
glsl: Handle instance array declarations
v2: Add a comment and an assertion about the array size in the
non-instance name case. Suggested by Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b222ca2a06488c20855244a328e096e7d1d7909
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 23:01:33 2013 -0500
glsl: Track blocks in the symbol table using the glsl_type instead of the gl_uniform_block
Eventually the gl_uniform_block information won't be calculated until
linking. Block names need to be checked for name clashes during
compiling, so we have to track it differently.
v2: Update the commit message. Suggested by Carl Worth.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c51029146689cf95eedbd53e7cc57990cb00b15
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 22:49:39 2013 -0500
glsl: Add new uniform_field_visitor::visit_field variant
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc411ea4e349afdaa7711a33371c358cc8df88e5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 22:41:13 2013 -0500
glsl: Modify uniform_field_visitor::visit_field to take a row_major parameter
Not used yet, but the UBO layout visitor will use this.
v2: Remove a spruious hunk. This is moved to the patch "glsl: Remove
ir_variable::uniform_block". Suggested by Carl Worth.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfc566a98d7e8ecff0c7abfb37195ef437b65757
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 22:32:07 2013 -0500
glsl: Modify uniform_field_visitor::recursion to take a row_major parameter
Not used yet, but the UBO layout visitor will use this.
v2: Add some commentary as to why row_major is always set to false in
process. Suggesed by Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7de47aed79c732c6abf2408e0cc682de65b645a5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 22:18:16 2013 -0500
glsl: Add a predicate to determine whether a variable is an interface block
For the first declaration below, there will be an ir_variable named
"instance" whose type and whose instance_type will be the same
glsl_type. For the second declaration, there will be an ir_variable
named "f" whose type is float and whose instance_type is B2.
"instance" is an interface instance variable, but "f" is not.
uniform B1 {
float f;
} instance;
uniform B2 {
float f;
};
v2: Copy the comment message documentation into the code. Suggested by
Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eec7ce336b5b210d85f4e2c477b8f8e062378d79
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 22:07:34 2013 -0500
glsl: Require that indices into uniform block arrays be constants
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb4b2f395d5dfe89c31f987ff51054e140d0d724
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 21 21:51:15 2013 -0500
glsl: Add ir_variable::interface_type field
For variables that are in an interface block or are an instance of an
interface block, this is the GLSL_TYPE_INTERFACE type for that block.
Convert the ir_variable::is_in_uniform_block method added in the
previous commit to use this field instead of ir_variable::uniform_block.
v2: Fix the place-holder comment on ir_variable::interface_type.
Suggested by Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=36ae16152780fde785e3f1383927530eb736680a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Dec 14 12:00:14 2012 -0800
glsl: Add ir_variable::is_in_uniform_block predicate
The way a variable is tested for this property is about to change, and
this makes the code easier to modify.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=330e40b60e77cc4345558890dc116e8b04e6a709
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Dec 11 12:14:03 2012 -0800
glsl: Generate an interface type for uniform blocks
If the block has an instance name, add the instance name to the symbol
table instead of the individual fields.
Fixes the piglit test interface-name-access-without-interface-name.vert
for real.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aa28a59d8add8f4ba069e56331b54b000d99e3d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Dec 11 12:11:16 2012 -0800
glsl: Add GLSL_TYPE_INTERFACE
Interfaces are structurally identical to structures from the compiler's
point of view. They have some additional restrictions, and generally
GPUs use different instructions to access them. Using a different base
type should make this a bit easier.
This commit also adds the glsl_type::interface_packing fields. For
GLSL_TYPE_INTERFACE types, this will track the specified packing mode.
It is analogous to gl_uniform_buffer::_Packing.
v2: Add serveral missing GLSL_TYPE_INTERFACE cases in switch-statements.
v3: Add information about glsl_type::interface_packing. Move row_major
checking in glsl_type::record_key_compare from this patch to the
previous patch. Both suggested by Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=653d4e767c4376f7aab5cd194bbaacbb1af5b6f7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Dec 11 12:09:32 2012 -0800
glsl: Add row_major field to glsl_struct_field
For now, this will always be false. In the near future, an "interface"
type will be added that shares a lot of infrastructure with structures.
v2: Move row_major checking in glsl_type::record_key_compare from the
next patch to this patch. Suggested by Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c41bfba386ae92a5adc9791428331d84bf7884f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Sat Dec 8 17:38:30 2012 -0800
glsl: Refactor out processing of structure fields
This will soon also be used for processing interface block fields.
v2: Add a comment explaining the interface of
ast_process_structure_or_interface_block. Suggested by Paul Berry.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2084914c35cecbee33571fa59301eeba29f65f4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Dec 11 12:13:30 2012 -0800
glsl: Parse interface array size
The size is parsed and stored in the AST, but it is not used yet.
Processing of the array size is added in the patch "glsl: Handle
instance array declarations"
v2: Update the commit message (suggested by Carl Worth). Add a comment
to ast_uniform_block::array_size (suggested by Paul Berry).
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6e1acae4b28c88c227d69fd5784887b454f8f48
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Nov 27 23:45:17 2012 -0800
glsl: Parse non-array uniform block instance names in GLSL ES 3.00.
In GLSL ES 3.00 (and GLSL 1.50), uniform blocks can have an associated
"instance name", which essentially namespaces the variables inside.
This patch adds basic parsing for this new feature, but doesn't yet hook
it up to actually do anything yet.
It does not support for arrays of interface blocks; a later commit will
take care of that.
This change temporarily regresses the piglit test
interface-name-access-without-interface-name.vert. This shader failed
to compile before (the expected result), but it failed to compile for
the wrong reason. This is not a real regression.
v2: Add some comments to ast_uniform_block::instance_name. Suggested by
Paul Berry.
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0d79aff12a96df7b70471c653f0001e3c78f2fb
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Nov 27 23:21:56 2012 -0800
glsl: Refactor uniform block parser rules.
The existing code has a lot of duplication; the only difference between
the two cases is whether we merge in an additional layout qualifier.
Apparently creating a layout_qualifieropt rule that can be empty causes
a lot of conflicts and confusion. However, refactoring out the guts of
the ast_uniform_block creation works fine.
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=308575285585c219453c1f14dcbd68187af4404b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Dec 13 02:25:34 2012 -0800
linker: Refactor intra-stage block compatabililty testing
Also slightly change the compatibility test. Instead of comparing the
offsets of the block variables, compare the packing mode of the blocks.
Ideally we don't want to assign the offsets until a later stage of
linking.
This is put in a new file called link_uniform_blocks.cpp. Some new
functions related to uniform blocks are going to live in that file as
well.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3da5aa9b53585c2b340444ab295e82efa4e61888
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Dec 13 02:13:30 2012 -0800
mesa: Track the packing mode of a UBO in gl_uniform_buffer
This allows the next patch to verify that two uniform blocks match
without first calculating the locations of the fields.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb365c1d1c4f14934259b52ff48336113d29e081
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Dec 11 12:56:03 2012 -0800
glsl: Replace most default cases in switches on GLSL type
This makes it easier to find switch-statements that need to be updated
after a new GLSL_TYPE_* is added because the compiler will generate a
warning.
Switch-statements that only had a small number of cases (e.g.,
everything in ir_constant_expression.cpp) were not modified. I may
regret that decision when we eventually add support for doubles.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=94217cb874d33b094387cc0a777608e63adc1e89
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jan 23 14:30:05 2013 -0800
i965: Correct gen6+ guardband calculation.
Too much attention was paid to the first paragraphs, and not enough to
the last little note that "oh, by the way, the rendered things
themselves still have to be clipped to just 8192 wide/high".
Fixes GTF's clip.c test with 4096 or higher width on ivb, where one of
the triangles got the upper half of its pixels dropped.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=704d75141f591444c3e0b4642ffbc2c4953ff11f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Jan 23 15:27:39 2013 -0800
i965: Use GL_RED for DEPTH_TEXTURE_MODE in ES 3.0 for unsized formats.
Khronos has apparently decided that depth textures with sized formats
(allowed with ARB_internalformat_query or ES 3.0) should be treated as
GL_RED, while unsized formats (an existing feature) should be treated
as GL_INTENSITY for compatibility with ES 2.0.
Ian is proposing changes to ARB_internalformat_query which will make
this actually legal and consistent.
A similar problem exists with GL 4.2, but we're going to ignore that
for the time being.
Tested on Ivybridge: no Piglit regressions; fixes 4 es3conform tests:
- depth_texture_fbo
- depth_texture_fbo_clear
- depth_texture_teximage
- depth_texture_texsubimage
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4b7f9d077f57879d18d162b60d29ae292984a47
Author: Chad Versace <chad.versace at linux.intel.com>
Date: Wed Nov 21 09:28:36 2012 -0800
i965: Bump maximum supported ES2 context version to 3.0
Since patch "i965: Validate requested GLES context version in
brwCreateContext", we have been able to create ES 3.0 contexts due to the
max version check. So...bump the max version.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=241f0c12c3e01e4a0dba56696b1f63f84105616d
Author: Paul Berry <stereotype441 at gmail.com>
Date: Tue Aug 7 12:39:30 2012 -0700
i965/Gen6+: Enable ARB_ES3_compatibility extension
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=299febd195a553f4ef3bb268674e9c627d76ea6e
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
v2: Add ARB_internalformat_query to the list of required extensions.
v3: Add OES_depth_texture_cube_map to the list of required extensions.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac158f8ee78fd5902cfeb8712a72cfa4da7ef6f6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jan 23 23:35:19 2013 -0500
intel: callocing a 32 byte temp is silly, so don't
I believe that the size used to vary, so the dynamic allocation is
necessary.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a23029b2feaa915a075a5832e13f6173b5f3c08
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Jan 19 02:54:16 2013 +0100
st/mesa: implement ARB_internalformat_query v2
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=041234ee1eb19f9dcf288f51ebd56a784b32a216
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Jan 21 18:07:39 2013 +0100
st/mesa: advertise OES_depth_texture_cube_map if GLSL 1.30 is supported
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f0563a6584dd83462d5cf35a7a1ebc4a4d6378f
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Jan 21 16:19:41 2013 +0100
st/dri: disallow recursion in dri_flush
ST_FLUSH_FRONT may call driThrottle, which is implemented with dri_flush.
This prevents double flush as well as fence leaks caused by a recursion
in the middle of throttling.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58839
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Tested-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fffe3e090878175269af8672d20c14a0ccab78a9
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Jan 21 15:48:55 2013 +0100
st/dri: add null-pointer check, remove duplicated local variable
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Tested-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0261b4ecdb80973b3a00cbe6a9a77c6085ef3dff
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Jan 18 16:35:28 2013 +0000
Revert "Revert "targets/opencl: Link against libgallium.la instead of libgallium.a""
This reverts commit 7824ab807050c03c6df01c44774914dcbef88248.
Now that we force linking with LLVM shared libs when building clover,
we can link against libgallium.la with no problems.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf69a591e1ad16b590c9ae2eba0da6fa6c4fc741
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Jan 18 16:26:12 2013 +0000
configure.ac: Force use of LLVM shared libs with --enable-opencl v2
If we build clover with LLVM static libraries, then clover and also each
pipe_*.so driver that is built will contain their own static copy of
LLVM. The recent automake changes have uncovered a problem where
the pipe_*.so drivers try to use clover's LLVM symbols. This causes
LLVM's static registry objects to be initialized each time
a pipe_*.so driver is loaded by clover. Initializing these objects
multiple times is not allowed and leads to assertion failures in the
LLVM code.
We can avoid all these problems by having clover and all the pipe_*.so
drivers link against the same LLVM shared library.
https://bugs.freedesktop.org/show_bug.cgi?id=59334
https://bugs.freedesktop.org/show_bug.cgi?id=59534
v2:
- Fix shared library detection when LLVM is built with CMake
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69d639ba8b3cfd95cfbb12b861dbe2eda53f2e25
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Jan 18 15:08:28 2013 +0000
configure.ac: Compute the required llvm static libraries only once
In order to determine which static LLVM libraries are needed we pass
a list of components to llvm-config and it generates the list of
library dependencies for us. The advantage of only calling llvm-config
one time is that it can determine if two components depend on the same
library and then add it to the output list only once. The old practice
of having each driver call llvm-config to add its own dependencies to
$(LLVM_LIBS) caused many libraries to be added to this variable multiple
times.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=35f0dc2cc71f49ff8de8ba7a0f93a6b6f725161b
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Tue Jan 22 17:08:24 2013 +0100
radeonsi: Fall back to dummy pixel shader instead of trying indirect addressing.
Indirect addressing isn't fully handled yet.
Fixes crashes with piglit tests using indirect addressing.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68cebb9a8fff5f490b0edb584ee9474becc711db
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Jan 11 12:14:28 2013 +0100
radeonsi: make sure copying of all texture formats is accelerated
[ Cherry-picked from r600g commit 7c371f46958910dd2ca9487c89af1b72bbfdada9 ]
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4e448095662611e27dce98059a77f14d647401
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Tue Jan 22 17:46:32 2013 +0100
radeonsi: Handle PIPE_FORMAT_L32A32_S/UINT for rendering.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0096dfa85a176c387701a035cfc21d55f615ed6
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Tue Jan 22 17:05:08 2013 +0100
radeonsi: Make sure to use float number format for packed float colour formats.
These aren't covered by UTIL_FORMAT_TYPE_FLOAT.
Fixes 15 piglit (sub)tests.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
More information about the mesa-commit
mailing list