On 06/03/2013 01:23 PM, Fabian Bieler wrote:
Signed-off-by: Fabian Bieler
---
src/glsl/linker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 982fe46..7395ed5 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@
On 06/03/2013 01:23 PM, Fabian Bieler wrote:
Remove The parameter from the list of parameters and replace the derefs in the
function body with the deref of the argument.
It seems like the existing code would break for some uses. Is there a
piglit test to go along with this change?
This is
On 06/03/2013 01:23 PM, Fabian Bieler wrote:
Otherwise the max_array_access field of scalar variables is set to 0x.
This doesn't lead to any errors since that field isn't used for scalar
variables but leaving it at zero is probably better.
I think this is okay. We don't rely on that fi
On 2013-06-18 11:05, Ian Romanick wrote:
> On 06/03/2013 01:23 PM, Fabian Bieler wrote:
>> Remove The parameter from the list of parameters and replace the derefs in
>> the
>> function body with the deref of the argument.
>
> It seems like the existing code would break for some uses. Is there a
On 06/03/2013 01:23 PM, Fabian Bieler wrote:
Uniform arrays are subject to beeing shrunk if higher members were not accessed.
^^
being
Update the max_array_access flag so array members that were only accessed in
the function are not optimized away.
This fix
On 06/03/2013 01:23 PM, Fabian Bieler wrote:
This matches the behavior of field_type() and other get_*_type() methods.
I looked through the calls to element_type() and didn't find a caller that
depends on the old behavior.
I'm a little be uncomfortable with this change. There are a few places
Hi everyone,
the following patches reactivates the initial VA-API state tracker and add
matching targets for r600 and radeonsi.
It's in a quite early state, only MPEG2 and H264 are support and it is only
tested with R600g, but apart from that seems to work quite well.
Cheers,
Christian.
_
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/config.c | 12 +
src/gallium/state_trackers/va/context.c|2 +-
src/gallium/state_trackers/va/va_private.h | 37
3 files changed, 50 insertions(+), 1 deleti
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/config.c | 13 +
src/gallium/state_trackers/va/va_private.h | 29
2 files changed, 42 insertions(+)
diff --git a/src/gallium/state_trackers/va/config.c
b/src
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/config.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/config.c
b/src/gallium/state_trackers/va/config.c
index 38639d0..14951a1 1006
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/config.c | 29 ++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/va/config.c
b/src/gallium/state_trackers/va/config.c
index 14951a1..67
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/context.c|9
src/gallium/state_trackers/va/surface.c| 61 +++-
src/gallium/state_trackers/va/va_private.h | 22 ++
3 files changed, 90 insertions(+), 2 del
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/context.c| 71 +++-
src/gallium/state_trackers/va/va_private.h | 12 +
2 files changed, 70 insertions(+), 13 deletions(-)
diff --git a/src/gallium/state_trackers/va/contex
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/context.c|6
src/gallium/state_trackers/va/surface.c| 50 ++--
src/gallium/state_trackers/va/va_private.h |6
3 files changed, 60 insertions(+), 2 deletions
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/buffer.c | 83 +---
src/gallium/state_trackers/va/va_private.h |7 +++
2 files changed, 83 insertions(+), 7 deletions(-)
diff --git a/src/gallium/state_trackers/va/buffer.c
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/picture.c| 88 ++--
src/gallium/state_trackers/va/surface.c|3 +-
src/gallium/state_trackers/va/va_private.h |5 +-
3 files changed, 87 insertions(+), 9 deletions(-)
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/surface.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/surface.c
b/src/gallium/state_trackers/va/surface.c
index 58303c6..34786c1 100644
--- a/src/gall
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/picture.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/picture.c
b/src/gallium/state_trackers/va/picture.c
index 8d16dfa..
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/picture.c | 51 ++-
1 file changed, 50 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/picture.c
b/src/gallium/state_trackers/va/picture.c
index 66cd6ca
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/picture.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/va/picture.c
b/src/gallium/state_trackers/va/picture.c
index f7d32c6..7339366 100644
--- a/src/ga
From: Christian König
Signed-off-by: Christian König
---
src/gallium/state_trackers/va/picture.c | 100 ++-
1 file changed, 98 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/va/picture.c
b/src/gallium/state_trackers/va/picture.c
index 733936
On 2013-06-18 11:14, Ian Romanick wrote:
> On 06/03/2013 01:23 PM, Fabian Bieler wrote:
>> Uniform arrays are subject to beeing shrunk if higher members were not
>> accessed.
> ^^
> being
>
>> Update the max_array_access flag so array members that were only acc
On 2013-06-18 11:24, Ian Romanick wrote:
> On 06/03/2013 01:23 PM, Fabian Bieler wrote:
>> This matches the behavior of field_type() and other get_*_type() methods.
>>
>> I looked through the calls to element_type() and didn't find a caller that
>> depends on the old behavior.
>
> I'm a little be
On 06/17/2013 04:10 PM, Eric Anholt wrote:
... and move the mesa-core-specific code into Mesa core. This code had no
relation to ir_to_mesa.cpp, since it was also used by intel and
state_tracker, and most of it was duplicated with the standalone compiler
(which has periodically drifted from the
On 06/17/2013 04:10 PM, Eric Anholt wrote:
We have ir->print() to do the old declaration of a visitor and having the
IR accept the visitor (yuck!). And now you can call _mesa_print_ir()
safely anywhere that you know what an ir_instruction is.
A couple of missing printf("\n")s are added in error
On 06/17/2013 04:10 PM, Eric Anholt wrote:
We were duplicating this code all over the place, and they all would need
updating for the next set of shader targets.
---
src/glsl/glsl_parser_extras.cpp| 35 ++
src/glsl/glsl_parser_extras.h | 3
On 06/17/2013 04:10 PM, Eric Anholt wrote:
I noticed this while trying to merge code with the builtin compiler, which
does set it.
Note that this causes two regressions in piglit in
default-precision-sampler.* which try to link without a vertex or fragment
shader, due to being run under the desk
This patch introduces new functions to quickly grab a pointer to a
vector type. For example:
glsl_type::bvec(4) returns glsl_type::bvec4_type
glsl_type::ivec(3) returns glsl_type::ivec3_type
glsl_type::uvec(2) returns glsl_type::uvec2_type
glsl_type::vec(1)returns gl
Currently, vector types are linked together closely: the glsl_type
objects for float, vec2, vec3, and vec4 are all elements of the same
array, in that exact order. This makes it possible to obtain vector
types via pointer arithmetic on the scalar type's convenience pointer.
For example, float_type
Using a random glsl_type convenience pointer as an array is a really bad
idea, for all the reasons mentioned in the previous commit.
The new glsl_type::bvec() function is simpler anyway.
Prevents breakage in the next commit.
Signed-off-by: Kenneth Graunke
---
src/glsl/lower_variable_index_to_c
The AoS version of ld_build_blend_factor was assuming that if the first
channel was alpha, there were no rgb components.
Fixes several piglit tests on System z. No piglit regressions on x86_64.
The shortcut is still used in tests like spec/ARB_framebuffer_object/
fbo-alpha.
Signed-off-by: Richar
https://bugs.freedesktop.org/show_bug.cgi?id=65898
Priority: medium
Bug ID: 65898
Assignee: mesa-dev@lists.freedesktop.org
Summary: Low(er) FPS in Half-Life 2 on Arch Linux
Severity: normal
Classification: Unclassified
OS: Li
https://bugs.freedesktop.org/show_bug.cgi?id=65898
Mike Higgins changed:
What|Removed |Added
CC||gont...@hotmail.com
--
You are receiving
Am 25.03.2013 16:19, schrieb Richard Sandiford:
> The AoS version of ld_build_blend_factor was assuming that if the first
> channel was alpha, there were no rgb components.
>
> Fixes several piglit tests on System z. No piglit regressions on x86_64.
> The shortcut is still used in tests like spec
https://bugs.freedesktop.org/show_bug.cgi?id=65898
Ian Romanick changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
On 06/18/2013 04:22 AM, Kenneth Graunke wrote:
Currently, vector types are linked together closely: the glsl_type
objects for float, vec2, vec3, and vec4 are all elements of the same
array, in that exact order. This makes it possible to obtain vector
types via pointer arithmetic on the scalar ty
On 06/18/2013 04:22 AM, Kenneth Graunke wrote:
This patch introduces new functions to quickly grab a pointer to a
vector type. For example:
glsl_type::bvec(4) returns glsl_type::bvec4_type
glsl_type::ivec(3) returns glsl_type::ivec3_type
glsl_type::uvec(2) returns glsl_t
On 05/25/2013 05:33 AM, Fabian Bieler wrote:
When validating draw parameters move check for 0 draw count last
(drawing with count 0 is not an error), so that other parameters (e.g.: the
primitive type) are validated and the correct errors (if applicable) are
generated.
From the OpenGL 3.3 spec
From: Tom Stellard
---
lib/Target/R600/R600Instructions.td | 9 +
test/CodeGen/R600/load.ll | 1 +
2 files changed, 10 insertions(+)
diff --git a/lib/Target/R600/R600Instructions.td
b/lib/Target/R600/R600Instructions.td
index 83d735f..803f597 100644
--- a/lib/Target/R600/R600
From: Tom Stellard
In reality, some unaligned memory accesses are legal for 32-bit types and
smaller too, but it all depends on the address space. Allowing
unaligned loads/stores for > 32-bit types is mainly to prevent the
legalizer from splitting one load into multiple loads of smaller types.
New in this series:
- Includes gallium format name documentation
- Defines packed formats as aliases into the existing enum
- Changes packed format names to be lsb-to-msb
Note that the existing hardware drivers will be "broken" by this series (on
big-endian machines), but that they probably alrea
Signed-off-by: Adam Jackson
---
src/gallium/auxiliary/gallivm/lp_bld_conv.c| 76 --
src/gallium/auxiliary/gallivm/lp_bld_conv.h| 11
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 9 ---
.../auxiliary/gallivm/lp_bld_format_aos_array.c| 56 --
v2:
- Fix a channel name thinko (Michel Dänzer)
- Elaborate on SCALED versus INT
- Add links to DirectX and FOURCC docs
Signed-off-by: Adam Jackson
---
src/gallium/docs/format.rst | 54 +
1 file changed, 54 insertions(+)
create mode 100644 src/gallium
From: Richard Sandiford
These are for interacting with buffers natively described in terms of
bit shifts, like X11 visuals:
uint32_t xyzw = (x << 0) | (y << 8) | (z << 16) | (w << 24);
Define these in terms of (endian-dependent) aliases to the array-style
format names.
Reviewed-by: Ada
Signed-off-by: Adam Jackson
---
src/gallium/docs/format.rst | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/gallium/docs/format.rst b/src/gallium/docs/format.rst
index 2514656..e270d93 100644
--- a/src/gallium/docs/format.rst
+++ b/src/gallium/docs/format.rst
@@ -6
From: Richard Sandiford
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/tests/graw/clear.c | 4 ++--
src/gallium/tests/graw/fs-test.c | 4 ++--
src/gallium/tests/graw/graw_util.h | 6 +++---
src/gallium/tests/graw/quad-sample.c | 4 ++--
src/galli
From: Richard Sandiford
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/state_trackers/gbm/gbm_drm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c
b/src/gallium/state_trackers/gbm/gbm_drm.c
index
From: Richard Sandiford
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/state_trackers/glx/xlib/xm_api.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c
b/src/gallium/state_trackers/glx/xl
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/state_trackers/dri/common/dri_screen.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c
b/src/gallium/state_trackers/dri/common/dri_screen.c
i
From: Richard Sandiford
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/targets/graw-xlib/graw_xlib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/targets/graw-xlib/graw_xlib.c
b/src/gallium/targets/graw-xlib/graw_xlib.c
index
From: Richard Sandiford
This fixes them on big-endian.
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/auxiliary/util/u_pack_color.h | 36 +++
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_pa
From: Richard Sandiford
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/drivers/llvmpipe/lp_state_fs.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe
From: Richard Sandiford
This adds a bit-shift count to the format table, and adds the concept of
vector or bitwise alignment on gathers.
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 22 +++
src/gallium/auxiliary/gallivm
From: Richard Sandiford
Reviewed-by: Adam Jackson
Signed-off-by: Richard Sandiford
---
src/gallium/auxiliary/gallivm/lp_bld_format_soa.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.
On Die, 2013-06-18 at 13:28 -0400, Adam Jackson wrote:
> Signed-off-by: Adam Jackson
> ---
> src/gallium/docs/format.rst | 9 -
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/docs/format.rst b/src/gallium/docs/format.rst
> index 2514656..e270d93 100644
> --
On 06/18/2013 06:47 AM, Ian Romanick wrote:
On 06/18/2013 04:22 AM, Kenneth Graunke wrote:
This patch introduces new functions to quickly grab a pointer to a
vector type. For example:
glsl_type::bvec(4) returns glsl_type::bvec4_type
glsl_type::ivec(3) returns glsl_type::ivec3_t
Kenneth Graunke writes:
> On 06/17/2013 04:10 PM, Eric Anholt wrote:
>> We were duplicating this code all over the place, and they all would need
>> updating for the next set of shader targets.
>> ---
>> src/glsl/glsl_parser_extras.cpp| 35
>> ++
>> src
https://bugs.freedesktop.org/show_bug.cgi?id=65898
--- Comment #2 from Eric Anholt ---
If you're interested in investigating on your own, there is information at
http://dri.freedesktop.org/wiki/IntelPerformanceTuning/ for how we go about
investigating things. There is also a TODO list of likely
On 06/18/2013 12:12 PM, Eric Anholt wrote:
Kenneth Graunke writes:
On 06/17/2013 04:10 PM, Eric Anholt wrote:
We were duplicating this code all over the place, and they all would need
updating for the next set of shader targets.
---
src/glsl/glsl_parser_extras.cpp| 35
Paul Berry writes:
> On 18 June 2013 01:09, Jordan Justen wrote:
>
>> When rendering to a texture with BaseLevel set, the miptree may be laid
>> out such that BaseLevel is in level 0 of the miptree (to avoid wasting
>> memory on unused levels between 0 and BaseLevel-1). In that case, we
>> have
https://bugs.freedesktop.org/show_bug.cgi?id=65898
--- Comment #3 from Chris Forbes ---
> motion blur enabled
If that's correct, you probably want to get rid of it.
--
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-de
From: Roland Scheidegger
The semantics didn't really make sense, not really matching neither d3d9
(though the docs are all broken there) nor d3d10. So make it match d3d10
semantics, which actually gives meaning to the "disjoint" part.
Drivers are fixed up in a very primitive way, I have no idea w
From: Roland Scheidegger
The driver can do render_condition but wasn't handling the occlusion
and so_overflow predicates (though the latter might not work yet due
to gs support).
---
src/gallium/drivers/softpipe/sp_query.c | 39 ++-
1 file changed, 28 insertions(+),
https://bugs.freedesktop.org/show_bug.cgi?id=65910
Kristian Høgsberg changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=65910
Kristian Høgsberg changed:
What|Removed |Added
Component|Other |EGL
--- Comment #4 from Kristian Høg
https://bugs.freedesktop.org/show_bug.cgi?id=65910
Joe Konno changed:
What|Removed |Added
Status|RESOLVED|VERIFIED
--- Comment #5 from Joe Konno ---
From: Tom Stellard
---
lib/Target/R600/AMDGPUCallingConv.td| 9 +
test/CodeGen/R600/128bit-kernel-args.ll | 16 ++--
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/lib/Target/R600/AMDGPUCallingConv.td
b/lib/Target/R600/AMDGPUCallingConv.td
index 84e4f3
Tested on Pitcairn by: Aaron Watry
Follow-up question: Would it be as easy as it looks to add v2i32 right away?
On Tue, Jun 18, 2013 at 6:21 PM, Tom Stellard wrote:
> From: Tom Stellard
>
> ---
> lib/Target/R600/AMDGPUCallingConv.td| 9 +
> test/CodeGen/R600/128bit-kernel-args.ll
From: Roland Scheidegger
Handle PIPE_QUERY_GPU_FINISHED and PIPE_QUERY_TIMESTAMP_DISJOINT, and
also fill out the ps_invocations and c_primitives from the
PIPE_QUERY_PIPELINE_STATISTICS (the others in there should already
be handled). Note that ps_invocations isn't pixel exact, just 16 pixel
exact
69 matches
Mail list logo