Previously, we allocated space in brw_vs_prog_data's params and
pull_params arrays for MAX_CLIP_PLANES vec4s---even when it wasn't
necessary.
On a 64-bit architecture, this used 0.5 kB of space (8 clip planes *
4 floats per plane * 8 bytes per float pointer * 2 arrays of pointers =
512 bytes). Si
On Sun, Aug 25, 2013 at 10:07 PM, Liu Xin wrote:
> HI, list,
>
> i don't understand why glsl source have so many 'cast to void' operations,
> like this.
>
> ir_rvalue *
> ast_node::hir(exec_list *instructions,
> struct _mesa_glsl_parse_state *state)
> {
>(void) instructions;
>(
It's just a simple, portable way to make the `unused parameter`
warning shut up, when you're deliberately ignoring your parameters.
There are other ways [__attribute__(( unused )), etc] but they cease
to be simple or portable fairly quickly.
-- Chris
On Mon, Aug 26, 2013 at 5:07 PM, Liu Xin wro
HI, list,
i don't understand why glsl source have so many 'cast to void'
operations, like this.
ir_rvalue *
ast_node::hir(exec_list *instructions,
struct _mesa_glsl_parse_state *state)
{
(void) instructions;
(void) state;
return NULL;
}
i think it's totally void operatio
The offending patch didn't went into 9.2, so no harm done there.
Going to commit the fix as soon as I'm home again.
Christian.
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-Original Message-
From: Ilia Mirkin [imir...@alum.mit.edu]
Received: Samstag, 24 Aug. 2013, 16:0
On 24/08/2013 11:38, Christian König wrote:
Am 24.08.2013 06:50, schrieb Ilia Mirkin:
Commit 53e20b8b introduced the use of a template to initialize some
common fields. Move this copying of fields to before the common vp3
fields are initialized.
Reported-by: Martin Peres
Signed-off-by: Ilia Mi
Ian Romanick freedesktop.org> writes:
> http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/
>
> It seems that designated initializers may not be supported (ugh), but
> most of the "slips" we've had over the years have been
> mixed-code-and-declarations.
This piece of information
Am 24.08.2013 06:50, schrieb Ilia Mirkin:
Commit 53e20b8b introduced the use of a template to initialize some
common fields. Move this copying of fields to before the common vp3
fields are initialized.
Reported-by: Martin Peres
Signed-off-by: Ilia Mirkin
Sorry, that some fields are initializ
Signed-off-by: Sedat Dilek
---
Android.common.mk | 2 +-
SConstruct| 2 +-
configure.ac | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Android.common.mk b/Android.common.mk
index b5ed472..905d1a9 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -35,7
https://bugs.freedesktop.org/show_bug.cgi?id=68504
--- Comment #5 from Chí-Thanh Christopher Nguyễn ---
Upstream closed my bug report (linked under See Also:) as invalid with the
following response:
"You need to use -std=g++11 or undefine bool after the include of altivec.h as
context sensitive k
https://bugs.freedesktop.org/show_bug.cgi?id=68504
Francisco Jerez changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=68504
Chí-Thanh Christopher Nguyễn changed:
What|Removed |Added
See Also||http://gcc.gnu.org/bugzill
https://bugs.freedesktop.org/show_bug.cgi?id=68504
--- Comment #3 from Chí-Thanh Christopher Nguyễn ---
It appears that inclusion of altivec.h in cl_platform.h causes "bool" to be
redefined to "__attribute__((altivec(bool__))) unsigned", but only with
-std=c++XY
Not including altivec.h or using
https://bugs.freedesktop.org/show_bug.cgi?id=68504
--- Comment #2 from Chí-Thanh Christopher Nguyễn ---
Tried to build 9.2-rc2 with different compiler flags:
CXXFLAGS="-O2 -mcpu=7450 -fno-free-vectorize" fails
CXXFLAGS="-O2 -mcpu=powerpc" succeeds
CXXFLAGS="-O2 -mcpu=7450 -mno-altivec" succeeds
https://bugs.freedesktop.org/show_bug.cgi?id=50156
Johannes Obermayr changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=67740
--- Comment #4 from Henry ---
ok, to compile src/glx I did the following..
bash-4.2$ make -C src/glx clean.
bash-4.2$ make -CFLAGS=-D__GNU__ -C src/glx
...
and there are more fails, but compiling independently each folder that fail
with "CFLA
https://bugs.freedesktop.org/show_bug.cgi?id=67740
--- Comment #3 from Henry ---
ok, to compile src/glc I did the following..
bash-4.2$ make -C src/glx clean.
bash-4.2$ make -CFLAGS=-D__GNU__ -C src/glx
...
and there are more fails, but compiling independently each folder that fail
with "CFLA
Reviewed-by: Marek Olšák
Marek
On Sat, Aug 24, 2013 at 9:50 PM, Henri Verbeet wrote:
> I assume this should have been part of commit
> 7727fbb7c5d64348994bce6682e681d6181a91e9. This (obviously) fixes a lot tests.
>
> Signed-off-by: Henri Verbeet
> ---
> src/gallium/drivers/r600/r600_shader.c
18 matches
Mail list logo