Re: [Mesa-dev] [PATCH 04/21] glsl: Add a method to tell whether a built-in is available.

2013-09-08 Thread Kenneth Graunke
On 09/08/2013 08:33 AM, Paul Berry wrote: On 4 September 2013 15:22, Kenneth Graunke mailto:kenn...@whitecape.org>> wrote: We can simply call the stored predicate function. In the case where we don't have a _mesa_glsl_parse_state pointer, it doesn't much matter whether we return tru

Re: [Mesa-dev] GLSL built-in functions rewrite

2013-09-08 Thread Paul Berry
On 8 September 2013 10:05, Paul Berry wrote: > On 4 September 2013 15:22, Kenneth Graunke wrote: > >> Hello! >> >> This series (at long last!) rewrites the GLSL built-in function handling, >> for the third time. It's available on the builtins-v3 branch of >> ~kwg/mesa. >> >> The existing built-

Re: [Mesa-dev] [PATCH 18/21] glsl: Write a new built-in function module.

2013-09-08 Thread Kenneth Graunke
On 09/08/2013 09:57 AM, Paul Berry wrote: > On 4 September 2013 15:22, Kenneth Graunke > wrote: > > This creates a new replacement for the existing built-in function code. > The new module lives in builtin_functions.cpp (not builtin_function.cpp) > and ex

Re: [Mesa-dev] [PATCH 05/21] glsl: Pass _mesa_glsl_parse_state into matching_signature and such.

2013-09-08 Thread Kenneth Graunke
On 09/08/2013 08:48 AM, Paul Berry wrote: On 4 September 2013 15:22, Kenneth Graunke mailto:kenn...@whitecape.org>> wrote: During compilation, we'll use this to determine built-in availability. All the prototypes will be available, but we can filter out the ones that aren't actually

[Mesa-dev] [Bug 69101] prime: black window

2013-09-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 --- Comment #3 from Alexander Mezin --- Tried Ubuntu 13.04 and KUbuntu 13.04 live usbs: - Both KWin and Compiz can't handle fullscreen games with compositing enabled - KWin can handle games with unredirection, Compiz can't - glxgears work correct

Re: [Mesa-dev] [PATCH] R600: Don't use trans slot for instructions that read LDS source registers

2013-09-08 Thread Vincent Lejeune
A few comments below, otherwise : reviewed-by: Vincent Lejeune - Mail original - > De : Tom Stellard > À : llvm-comm...@cs.uiuc.edu > Cc : mesa-dev@lists.freedesktop.org; Tom Stellard > Envoyé le : Vendredi 6 septembre 2013 0h23 > Objet : [PATCH] R600: Don't use trans slot for instruc

Re: [Mesa-dev] GLSL built-in functions rewrite

2013-09-08 Thread Paul Berry
On 4 September 2013 15:22, Kenneth Graunke wrote: > Hello! > > This series (at long last!) rewrites the GLSL built-in function handling, > for the third time. It's available on the builtins-v3 branch of ~kwg/mesa. > > The existing built-in function code had a lot of drawbacks: > > 1. Writing new

Re: [Mesa-dev] [PATCH 18/21] glsl: Write a new built-in function module.

2013-09-08 Thread Paul Berry
On 4 September 2013 15:22, Kenneth Graunke wrote: > This creates a new replacement for the existing built-in function code. > The new module lives in builtin_functions.cpp (not builtin_function.cpp) > and exists in parallel with the existing system. It isn't used yet. > > The new built-in functi

Re: [Mesa-dev] [PATCH 1/2] radeon/winsys: pad IBs to a multiple of 8 DWs

2013-09-08 Thread Alex Deucher
On Sat, Sep 7, 2013 at 7:38 AM, Christian König wrote: > Am 06.09.2013 23:00, schrieb Alex Deucher: > >> This aligns the gfx, compute, and dma IBs to 8 DW boundries. >> This aligns the the IB to the fetch size of the CP for optimal >> performance. Additionally, r6xx hardware requires at least 4 >>

Re: [Mesa-dev] [PATCH 0/5] MESA_shader_integer_mix

2013-09-08 Thread Ian Romanick
On 09/06/2013 05:57 PM, Matt Turner wrote: > This series implements a small extension that adds int, uint, and bool > as allowable types to the mix() built-in function. We hope to make it > an EXT extension soon. > > I found myself wanting a per-component conditional-select operation > when implem

Re: [Mesa-dev] [PATCH 1/5] glsl: Add conditional-select IR.

2013-09-08 Thread Ian Romanick
On 09/06/2013 05:57 PM, Matt Turner wrote: > It's a ?: that operates per-component on vectors. Will be used in > upcoming lowering pass for ldexp and the implementation of frexp. > > cond_sel(selector, a, b): >per-component result = selector ? a : b > --- > src/glsl/ir.cpp

Re: [Mesa-dev] [PATCH 5/5] i965: Enable MESA_shader_integer_mix.

2013-09-08 Thread Ian Romanick
On 09/06/2013 05:57 PM, Matt Turner wrote: > Could be supported on Gen5 once it supports GLSL 1.30. > --- > src/mesa/drivers/dri/i965/intel_extensions.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c > b/src/mesa/drivers/dri/i965/intel_ext

[Mesa-dev] [Bug 69101] prime: black window

2013-09-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 --- Comment #2 from Alexander Mezin --- (In reply to comment #1) > You need to enable compositing for PRIME to render correctly (and you > figured that out for yourself already). Not true for fullscreen windows. > I don't recall having any probl

Re: [Mesa-dev] [PATCH 05/21] glsl: Pass _mesa_glsl_parse_state into matching_signature and such.

2013-09-08 Thread Paul Berry
On 4 September 2013 15:22, Kenneth Graunke wrote: > During compilation, we'll use this to determine built-in availability. > All the prototypes will be available, but we can filter out the ones > that aren't actually available. > I'm having trouble understanding this sentence because it sounds l

[Mesa-dev] [Bug 69101] prime: black window

2013-09-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 --- Comment #1 from Armin K --- You need to enable compositing for PRIME to render correctly (and you figured that out for yourself already). I don't recall having any problems under KWin or Xfwm4. -- You are receiving this mail because: You a

Re: [Mesa-dev] [PATCH 04/21] glsl: Add a method to tell whether a built-in is available.

2013-09-08 Thread Paul Berry
On 4 September 2013 15:22, Kenneth Graunke wrote: > We can simply call the stored predicate function. > > In the case where we don't have a _mesa_glsl_parse_state pointer, it > doesn't much matter whether we return true or false. > Can you elaborate on this? I dug through the code and it looks

[Mesa-dev] [Bug 69101] New: prime: black window

2013-09-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 Priority: medium Bug ID: 69101 Assignee: mesa-dev@lists.freedesktop.org Summary: prime: black window Severity: normal Classification: Unclassified OS: All Reporter:

Re: [Mesa-dev] [PATCH 01/21] glsl: Store a predicate for whether a built-in signature is available.

2013-09-08 Thread Paul Berry
On 4 September 2013 15:22, Kenneth Graunke wrote: > For the upcoming built-in function rewrite, we'll need to be able to > answer "Is this built-in function signature available?". > > This is actually a somewhat complex question, since it depends on the > language version, GLSL vs. GLSL ES, enabl