Something about how we're implementing offsets for TXD is wrong, just
flip to the generic quadop-based implementation in that case.
This is the minimal fix appropriate for backporting.
Signed-off-by: Ilia Mirkin
Cc:
---
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 ++-
1 f
Apparently TXD wants its offset differently than TEX, accepting it in
the upper bits of the layer index. Unclear what happens when this is
combined with indirect sampler indexing.
Signed-off-by: Ilia Mirkin
---
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 47 --
1 fil
On Wed, Jul 2, 2014 at 6:59 AM, Pohjolainen, Topi
wrote:
> On Mon, Jun 30, 2014 at 02:40:42PM -0700, Matt Turner wrote:
>> With a hack to place an exec_node in the struct in C to be at the same
>> location as the inherited exec_node in C++.
>
> Are you planning to eventually have one but not the o
handleTEX moves the layer as the first argument. This makes sure that
the quadops deal with the texture coordinates.
Signed-off-by: Ilia Mirkin
Cc:
---
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gall
The new location field can be either center, centroid, or sample, which
indicates the location that the shader should interpolate at.
Signed-off-by: Ilia Mirkin
---
I tried to make sure I hit all the uses, but I guess a bunch of drivers don't
look at the Centroid field at all?
src/gallium/auxi
Signed-off-by: Ilia Mirkin
---
nouveau_compiler standalone binary uses the text representation for shader
input, so this is necessary to be able to test the centroid/sample stuff
src/gallium/auxiliary/tgsi/tgsi_text.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/src/ga
This enables a gallium driver not to care about the semantics of
ARB_sample_shading vs ARB_gpu_shader5 sample attributes. When
ARB_sample_shading-style sample shading is enabled, all of the fp inputs
are marked for interpolation at the sample location.
Signed-off-by: Ilia Mirkin
---
I _think_ I
https://bugs.freedesktop.org/show_bug.cgi?id=80933
Priority: medium
Bug ID: 80933
Assignee: mesa-dev@lists.freedesktop.org
Summary: Fullscreen OpenGL programs (e.g. games) crash if focus
lost then regained, something to do with automat
Unfortunately there's no good way to do this on the nv50 shader isa.
Dropping the bias seems preferable to doing the compare post-filtering.
Signed-off-by: Ilia Mirkin
Cc:
---
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp | 10 ++
1 file changed, 10 insertions(+)
diff -
This can only happen with texture(samplerCubeShadow, bias), where the
compare will be in the first argument.
Signed-off-by: Ilia Mirkin
Cc:
---
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouve
Ah yes, my bad. I did try to look at all the stuff, but it doesn't
help that e.g. the texture man page is wrong for samplerCubeShadow
(http://www.opengl.org/sdk/docs/man/html/texture.xhtml -- it lists the
argument as vec3... I did double-check in the GL 4.4 spec, and it's
correct there with a vec4)
samplerCubeArrayShadow cannot be used with lod and bias in GLSL 4.40,
so it's impossible to get TXL or TXB with it.
Some sampler types are more limited than others. For example,
samplerCubeArrayShadow can only be used with this:
float texture(gsamplerCubeArrayShadow sampler, vec4 P, float compare
On Fri, Jul 4, 2014 at 3:30 PM, Ilia Mirkin wrote:
> On Fri, Jul 4, 2014 at 2:49 PM, Ilia Mirkin wrote:
>> On Fri, Jul 4, 2014 at 8:10 AM, Marek Olšák wrote:
>>> From: Marek Olšák
>>>
>>> It has 5 coordinates: (x,y,z,depth,lodbias)
>>>
>>> Cc: mesa-sta...@lists.freedesktop.org
>>
>> Reviewed-by
On Fri, Jul 4, 2014 at 2:49 PM, Ilia Mirkin wrote:
> On Fri, Jul 4, 2014 at 8:10 AM, Marek Olšák wrote:
>> From: Marek Olšák
>>
>> It has 5 coordinates: (x,y,z,depth,lodbias)
>>
>> Cc: mesa-sta...@lists.freedesktop.org
>
> Reviewed-by: Ilia Mirkin
>
> Although I still haven't worked out what el
On Fri, Jul 4, 2014 at 8:10 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> It has 5 coordinates: (x,y,z,depth,lodbias)
>
> Cc: mesa-sta...@lists.freedesktop.org
Reviewed-by: Ilia Mirkin
Although I still haven't worked out what else is wrong with nouveau...
nv50 hits an assert, while nvc0 just
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 3d7df3e..4bf9242 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src
On Thu, Jul 03, 2014 at 06:26:04PM +0200, Marek Olšák wrote:
> From: Marek Olšák
Reviewed-by: Tom Stellard
>
> It was conflicting with def TEX_SHADOW_ARRAY, which also handles them.
> ---
> lib/Target/R600/R600Instructions.td | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -
Here is version 3 of the glClearTexImage implementation. I figured out
I could avoid the whole issue of preserving the glClearColor state by
using glClearBuffer instead of glClear. I think the patch is a lot
neater this way.
I also fixed using sRGB textures and explicitly disabled dithering.
- Ne
The Meta implementation of glClearTexSubImage is going to want to ensure that
dithering is disabled so that it can get a consistent color across the whole
texture when clearing. This adds a state flag to easily save it and set it to
the default value when performing meta operations.
---
src/mesa/d
Am 03.07.2014 18:29, schrieb Marek Olšák:
> From: Marek Olšák
>
> This doesn't fix any known issue. In fact, radeon drivers ignore all
> the discard flags for textures and implicitly do "discard range"
> for any write transfer.
>
> Cc: mesa-sta...@lists.freedesktop.org
> ---
> src/gallium/auxil
On Fri, Jul 04, 2014 at 05:25:42PM +0200, Francisco Jerez wrote:
> Tom Stellard writes:
>
> > On Fri, Jul 04, 2014 at 12:28:05PM +0200, Francisco Jerez wrote:
> >> Tom Stellard writes:
> >>
> >> > On Fri, Jul 04, 2014 at 12:28:20AM +0200, Francisco Jerez wrote:
> >> >> Tom Stellard writes:
> >
Tom Stellard writes:
> On Fri, Jul 04, 2014 at 12:28:05PM +0200, Francisco Jerez wrote:
>> Tom Stellard writes:
>>
>> > On Fri, Jul 04, 2014 at 12:28:20AM +0200, Francisco Jerez wrote:
>> >> Tom Stellard writes:
>> >>
>> >> > On Thu, Jul 03, 2014 at 01:12:07AM +0200, Francisco Jerez wrote:
>>
On Fri, Jul 04, 2014 at 12:28:05PM +0200, Francisco Jerez wrote:
> Tom Stellard writes:
>
> > On Fri, Jul 04, 2014 at 12:28:20AM +0200, Francisco Jerez wrote:
> >> Tom Stellard writes:
> >>
> >> > On Thu, Jul 03, 2014 at 01:12:07AM +0200, Francisco Jerez wrote:
> >> >> Tom Stellard writes:
> >
On Thu, Jul 03, 2014 at 10:33:41PM -0500, Darius Goad wrote:
> Hello. I'm trying to get my feet wet with Mesa, and I was wondering
> what some good tasks for me would be. Thanks again.
>
What hardware do you have? What are you interested in working on?
-Tom
> - Darius Goad
> __
"Pohjolainen, Topi" writes:
> Oh, I didn't realize that. Should we fix and put this into
> _mesa_meta_begin/_mesa_meta_end instead?
Yes, perhaps that would be a good idea. I will try writing a separate
patch for that.
Thinking about it a bit more I also realised I'm not handling sRGB
textures c
From: Marek Olšák
It has 5 coordinates: (x,y,z,depth,lodbias)
Cc: mesa-sta...@lists.freedesktop.org
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_g
From: Marek Olšák
Pack the depth value before overwriting it with cube coordinates.
Cc: mesa-sta...@lists.freedesktop.org
---
src/gallium/drivers/radeonsi/si_shader.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src
On 3 July 2014 10:48, Boris BREZILLON
wrote:
[snip]
> Perfect!
> Emil, could you add me in Cc of this future submission ?
>
Of course :)
-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-de
Tom Stellard writes:
> On Fri, Jul 04, 2014 at 12:28:20AM +0200, Francisco Jerez wrote:
>> Tom Stellard writes:
>>
>> > On Thu, Jul 03, 2014 at 01:12:07AM +0200, Francisco Jerez wrote:
>> >> Tom Stellard writes:
>> >>
>> >> > On Thu, Jun 26, 2014 at 04:15:39PM +0200, Francisco Jerez wrote:
>>
On 04.07.2014 00:21, Kenneth Graunke wrote:
> On Thursday, July 03, 2014 11:13:18 AM Juha-Pekka Heikkila wrote:
>> Signed-off-by: Juha-Pekka Heikkila
>> ---
>> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/src/mesa/drivers/dri/i965/i
On 04.07.2014 00:29, Kenneth Graunke wrote:
> On Thursday, July 03, 2014 11:13:12 AM Juha-Pekka Heikkila wrote:
>> Signed-off-by: Juha-Pekka Heikkila
>> ---
>> src/mesa/drivers/dri/i965/intel_resolve_map.c | 6 ++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/src/mesa/drivers/dri/i965
Signed-off-by: Andreas Boll
---
src/xdemos/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/xdemos/Makefile.am b/src/xdemos/Makefile.am
index 0bdf13d..cfd23b1 100644
--- a/src/xdemos/Makefile.am
+++ b/src/xdemos/Makefile.am
@@ -79,7 +79,8 @@ xrotfontdemo_SOURC
Matches behavior with action-if-not-given
Signed-off-by: Andreas Boll
---
configure.ac | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index cd523c1..09c2cd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,7 +111,7 @@ DEMO_L
On Thu, Jul 03, 2014 at 05:31:19PM +0300, Juha-Pekka Heikkila wrote:
> On 03.07.2014 16:26, Pohjolainen, Topi wrote:
> > On Thu, Jul 03, 2014 at 11:13:17AM +0300, Juha-Pekka Heikkila wrote:
> >> Avoid null access while printing debug infos. On the same go
> >> change local variable name to avoid co
On Fri, 2014-07-04 at 03:40 -0400, Ilia Mirkin wrote:
> On Fri, Jul 4, 2014 at 3:37 AM, Steven Newbury
> wrote:
> > On Thu, 2014-07-03 at 10:47 +0200, Andreas Boll wrote:
> > > 2014-07-03 7:39 GMT+02:00 Steven Newbury
> > > :
> > > > On Wed, 2014-07-02 at 21:04 +0200, Andreas Boll wrote:
> >
On Fri, Jul 4, 2014 at 3:37 AM, Steven Newbury wrote:
> On Thu, 2014-07-03 at 10:47 +0200, Andreas Boll wrote:
>> 2014-07-03 7:39 GMT+02:00 Steven Newbury :
>> > On Wed, 2014-07-02 at 21:04 +0200, Andreas Boll wrote:
>> > >
>> > > I'd like to make a new demos release on Friday, July 4th.
>> > >
On Thu, 2014-07-03 at 10:47 +0200, Andreas Boll wrote:
> 2014-07-03 7:39 GMT+02:00 Steven Newbury :
> > On Wed, 2014-07-02 at 21:04 +0200, Andreas Boll wrote:
> > >
> > > I'd like to make a new demos release on Friday, July 4th.
> > > The last release was on February 24th, 2013. Additionally thi
On Wednesday, July 02, 2014 12:33:16 PM Jordan Justen wrote:
> On Wed, Jul 2, 2014 at 5:39 AM, Pohjolainen, Topi
> wrote:
> > On Tue, Jul 01, 2014 at 04:53:06PM -0700, Jordan Justen wrote:
> >> We now skip allocating a hiz miptree for gen7. Instead, we calculate
> >> the required hiz buffer parame
Both patches are
Reviewed-by: Andreas Boll
Thanks for fixing this issue!
I'll make the release after this series has been merged.
Andreas.
2014-07-03 16:19 GMT+02:00 Brian Paul :
> This is not part of the GL_ARB_vertex_attrib_binding extension.
> It's part of OpenGL 4.4.
> Fixes compilation fai
39 matches
Mail list logo