On 26.11.2015 11:01, Vivek Kasireddy wrote:
> On Wed, 25 Nov 2015 18:38:50 +0900
> Michel Dänzer wrote:
>
>> On 21.11.2015 12:38, Vivek Kasireddy wrote:
>>> These flags can be used by the DRI driver to set additional
>>> requirements such as tiling while creating buffers.
>>>
>>> v2: Added a brie
On 18/11/15 06:54, Jordan Justen wrote:
> From: Francisco Jerez
>
> Improves performance of the arb_shader_image_load_store-atomicity
> piglit test by over 25x (which isn't a real benchmark it's just heavy
> on atomics -- the improvement in a microbenchmark I wrote a while ago
> seemed to be ev
https://bugs.freedesktop.org/show_bug.cgi?id=92945
Vinson Lee changed:
What|Removed |Added
CC||bri...@vmware.com,
|
Previously util_blitter_clear_render_target() could not clear more
than the first layer. We need to generalise this so that
ARB_clear_texture can pass the 3d piglit test.
Signed-off-by: Edward O'Callaghan
---
src/gallium/auxiliary/util/u_blitter.c | 15 ---
1 file changed, 12 inserti
Previously util_blitter_clear_depth_stencil() could not clear more
than the first layer. We need to generalise this as we did for
util_blitter_clear_render_target().
Signed-off-by: Edward O'Callaghan
---
src/gallium/auxiliary/util/u_blitter.c | 16
1 file changed, 12 insertions(
The following patches generalise the blitter_clear functions such that
they may work with multiple layers:
Changes since v1:
- Directly calc num_layers over using util_framebuffer_get_num_layers()
on the framebuffer state.
___
mesa-dev mailing list
me
On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> Currently it stores strlen(buf) whenever the user originally provided
> a
> negative value for length.
>
> Although I've not seen any explicit text in the spec, CTS requires
> that
> the very same length (be that negative value or not) is re
Cc: Eric Anholt
---
src/gallium/drivers/vc4/vc4_nir_lower_io.c | 20
src/gallium/drivers/vc4/vc4_program.c | 25 ++---
2 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/src/gallium/drivers/vc4/vc4_nir_lower_io.c
b/src/gallium/drivers/
---
src/mesa/drivers/dri/i965/brw_fs.h | 3 +-
src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 145 ++-
src/mesa/drivers/dri/i965/brw_nir.c | 36 ++--
3 files changed, 92 insertions(+), 92 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h
b/src
---
src/mesa/drivers/dri/i965/brw_vec4_gs_nir.cpp | 8 +--
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp| 98 ++-
2 files changed, 40 insertions(+), 66 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs_nir.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_gs_nir.cp
Cc: Rob Clark
---
.../drivers/freedreno/ir3/ir3_compiler_nir.c | 75 --
1 file changed, 42 insertions(+), 33 deletions(-)
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 156bb0b..eb0ed60 10
Cc: Eric Anholt
---
src/gallium/auxiliary/nir/tgsi_to_nir.c | 48 +
1 file changed, 25 insertions(+), 23 deletions(-)
diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c
b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index 86c2ffa..642fbc2 100644
--- a/src/gallium/a
---
src/glsl/nir/nir.h | 2 +-
src/glsl/nir/nir_lower_io.c | 105 ++--
2 files changed, 43 insertions(+), 64 deletions(-)
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 524717a..1bf2c3f 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/n
---
src/glsl/nir/nir.h | 2 +-
src/glsl/nir/nir_lower_io.c | 105 ++--
2 files changed, 43 insertions(+), 64 deletions(-)
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 524717a..1bf2c3f 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/n
There is some special-casing needed in a competent back-end. However, they
can do their special-casing easily enough based on whether or not the
offset is a constant. In the mean time, having the *_indirect variants
adds special cases a number of places where they don't need to be and, in
general
---
src/glsl/nir/glsl_to_nir.cpp | 47 +++-
1 file changed, 7 insertions(+), 40 deletions(-)
diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp
index 45d045c..ba23b91 100644
--- a/src/glsl/nir/glsl_to_nir.cpp
+++ b/src/glsl/nir/glsl_to
---
src/glsl/nir/nir_lower_io.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/glsl/nir/nir_lower_io.c b/src/glsl/nir/nir_lower_io.c
index 5683e69..f64ac69 100644
--- a/src/glsl/nir/nir_lower_io.c
+++ b/src/glsl/nir/nir_lower_io.c
@@ -87,17
It's not really buying us anything at this point. It's just a way of
remapping one offset namespace onto another. We can just use the location
namespace the whole way through.
---
src/mesa/drivers/dri/i965/brw_nir.c| 28
src/mesa/drivers/dri/i965/brw_vec4.h
This has been bothering me for quite some time. We have both regular and
*_indirect forms of all of the load/store intrinsics. Unfortunately, these
lead to large number of unneeded special-cases. Another downside is that
core NIR has no way of turning _indirect load/store operations into their
d
On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> These new (relative to ARB_debug_output) tokens, have been explicitly
> separated from the existing ones in the spec text. With the reference
> to glDebugMessageInsert was dropped.
>
> At the same time, further down the spec says:
>"The
On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> We already have one group (the default) as specif iced in the spec.
With the commit message fix.
Reviewed-by: Timothy Arceri
> So
> lets return its size, rather than the index of the current group.
>
> Signed-off-by: Emil Velikov
> ---
Reviewed-by: Timothy Arceri
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> The KHR_debug extension implements this.
>
> Strictly speaking it could be used with ES 1.0, although as the
> original
> function is available on ES 1.1, I'm inclined to lift the KHR_debug
> requirement to ES 1.1.
>
> Bugzilla: https://bug
Noticed this when looking at a trace that caused flags to spill to/from
registers. The flags source/destination wasn't encoded correctly
according to both envydis and nvdisasm.
Signed-off-by: Ilia Mirkin
---
Untested. Will try a few things before pushing this... hopefully it
fixes some stubborn
On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> The extension requires (cough implements) GetPointervKHR (alias of
> GetPointerv) which in itself is available for ES 1.1 enabled mesa.
>
> Anyone willing to fish around and implement it for ES 1.0 is more
> than
> welcome to revert this com
On Wed, Nov 25, 2015 at 10:10 PM, Eric Anholt wrote:
> index bff425a..4c89849 100644
> --- a/src/mesa/main/tests/enum_strings.cpp
> +++ b/src/mesa/main/tests/enum_strings.cpp
> @@ -71,7 +71,7 @@ const struct enum_info everything[] = {
> * see go farther. Disabled for the moment since Mesa do
emacs whines at me every time I open the file about these unsafe
variables, and the file was reformatted from 8 space to 4 space long ago.
---
src/mapi/glapi/gen/gl_enums.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py
index 041
GL_ALL_ATTRIB_BITS is a thing, and GL_CLIENT_ALL_ATTRIB_BITS, but I don't
see GL_ALL_CLIENT_ATTRIB_BITS in my grepping of khronos XML, GL extension
specs, GL 1.1, GL 2.2, and GL 4.4.
---
src/mapi/glapi/gen/gl_API.xml| 1 -
src/mesa/main/tests/enum_strings.cpp | 4 +---
2 files changed, 1 i
The intention here is to keep a pristine copy of the upstream gl.xml that
can be updated at any time with a new version, and use that to generate
Mesa code from instead of our private XML.
---
Contents trimmed, because it's 2.5MB. You can find the whole branch at:
https://github.com/anholt/mesa/
Sometimes GL likes to rename an old enum when it grows a more general
purpose, and we should prefer the new name. Changes from this:
GL_POINT/LINE_SIZE_* (1.1) -> GL_SMOOTH_POINT/LINE_SIZE_* (1.2)
GL_FOG_COORDINATE_* (1.4) -> GL_FOG_COORD_* (1.5)
GL_SOURCE[012]_RGB/ALPHA (1.3) -> GL_SRC0_RGB (1.5
Now when people need new extensions, they can skip the entire
enum-definition process, and we can stop reviewing new extension XML for
its enum content.
This also brings in a new enum that I wanted to use in enum_strings.cpp
for testing the code generator.
---
src/mapi/glapi/gen/gl_enums.py
The previous contents appeared to be the output of some form of code
generation for all enums, with a few entries hand-edited to deal with
oddness. The downside to this was that when an enum gets promoted from
vendor to _EXT or _EXT to _ARB or _ARB to core, make check starts failing
even when the
Asking the table for bitfield names doesn't make any sense. For 0x10, do
you want GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV or
GL_COLOR_BUFFER_BIT4_QCOM or GL_POLYGON_STIPPLE_BIT or
GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV? Giving a useful answer would
depend on a whole lot of context.
This also
I've used a bunch of python code to cut out new enums so that the two
generated files can be diffed. I'll remove all that hardcoding in the
following commits. All remaining differences between the generated code:
- GL_TEXTURE_BUFFER_FORMAT didn't appear in GL3 when TBOs got merged to
core, so
With GLES 3.1, GL 4.5, and many new vendor extensions about to get their
enums added, we jump up to 85k of table.
---
src/mapi/glapi/gen/gl_enums.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py
index d37eb5c.
Mesa hasn't been using these enums and the finalized specs don't reference
them, so losing them from our generated enum-to-string code should be
fine. Reduces diffs to generating from Khronos XML, which has these enums
noted defined but commented out from any consumers.
---
src/mapi/glapi/gen/ARB
---
src/mapi/glapi/gen/AMD_performance_monitor.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/AMD_performance_monitor.xml
b/src/mapi/glapi/gen/AMD_performance_monitor.xml
index 41b5208..b29dc5d 100644
--- a/src/mapi/glapi/gen/AMD_performance_monitor.xml
In converting to using the Khronos XML, I found that our XML had these two
swapped, and the text spec agreed.
---
src/mapi/glapi/gen/gl_API.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index ec83cd4..faf92
On Wed, Nov 25, 2015 at 4:13 PM, Kenneth Graunke wrote:
> On Tuesday, November 03, 2015 01:26:02 PM Jason Ekstrand wrote:
>> ---
>> src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp | 2 +-
>> src/mesa/drivers/dri/i965/brw_fs.cpp| 47
>> +++--
>> src/mesa/drivers/d
On Wed, Nov 25, 2015 at 3:57 PM, Kenneth Graunke wrote:
> On Tuesday, November 03, 2015 01:26:00 PM Jason Ekstrand wrote:
>> This commit adds the capability to NIR to support separate textures and
>> samplers. As it currently stands, glsl_to_nir only sets the sampler and
>> leaves the texture alo
Removes dead code from glsl-mat-from-int-ctor-03.shader_test.
Reported-by: Juan A. Suarez Romero
---
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp | 4
src/mesa/drivers/dri/i965/brw_vec4_dead_code_eliminate.cpp | 4
2 files changed, 8 insertions(+)
diff --git a/src/mesa/d
On Wed, 25 Nov 2015 18:38:50 +0900
Michel Dänzer wrote:
> On 21.11.2015 12:38, Vivek Kasireddy wrote:
> > These flags can be used by the DRI driver to set additional
> > requirements such as tiling while creating buffers.
> >
> > v2: Added a brief comment to explain the rotation orientation.
> >
https://bugs.freedesktop.org/show_bug.cgi?id=93103
--- Comment #4 from Michel Dänzer ---
Also note that as of version 3.6, LLVM uses versioned symbols, which may help
for this issue.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
__
On 26 November 2015 at 00:57, Ilia Mirkin wrote:
> On Wed, Nov 25, 2015 at 7:36 PM, Emil Velikov
> wrote:
>> We already have one group (the default) as specif iced in the spec. So
>
> what's a "specif iced"? is that like iced tea?
>
The very same :-P More of pressed the wrong button (suggestion)
On Nov 25, 2015 4:18 PM, "Kenneth Graunke" wrote:
>
> On Tuesday, November 03, 2015 01:26:04 PM Jason Ekstrand wrote:
> > ---
> > src/mesa/drivers/dri/i965/brw_vec4.h | 4 +++-
> > src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 27
++
> > src/mesa/drivers/dri/
On Wed, Nov 25, 2015 at 7:36 PM, Emil Velikov wrote:
> We already have one group (the default) as specif iced in the spec. So
what's a "specif iced"? is that like iced tea?
> lets return its size, rather than the index of the current group.
>
> Signed-off-by: Emil Velikov
> ---
> src/mesa/main
Currently it stores strlen(buf) whenever the user originally provided a
negative value for length.
Although I've not seen any explicit text in the spec, CTS requires that
the very same length (be that negative value or not) is returned back on
Pop.
So let's push down the length < 0 checks, tweak
The extension requires (cough implements) GetPointervKHR (alias of
GetPointerv) which in itself is available for ES 1.1 enabled mesa.
Anyone willing to fish around and implement it for ES 1.0 is more than
welcome to revert this commit. Until then lets restrict things.
Bugzilla: https://bugs.freed
These new (relative to ARB_debug_output) tokens, have been explicitly
separated from the existing ones in the spec text. With the reference
to glDebugMessageInsert was dropped.
At the same time, further down the spec says:
"The value of must be one of the values from Table 5.4"
... and these
We're about to rework the meaning of gl_debug_message::length to store
the user provided data. Thus we should add an explicit validation for
null terminated strings.
Signed-off-by: Emil Velikov
---
src/mesa/main/errors.c | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
The KHR_debug extension implements this.
Strictly speaking it could be used with ES 1.0, although as the original
function is available on ES 1.1, I'm inclined to lift the KHR_debug
requirement to ES 1.1.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93048
Signed-off-by: Emil Velikov
--
As per the spec quote:
"All messages are initially enabled unless their assigned severity
is DEBUG_SEVERITY_LOW"
We already had MEDIUM and HIGH set, let's toggle NOTIFICATION as well.
Signed-off-by: Emil Velikov
Reviewed-by: Timothy Arceri
---
src/mesa/main/errors.c | 5 +++--
1 file
The variable is used as the actual index, rather than the size of the
group stack - rename it to reflect that.
Suggested-by: Ilia Mirkin
Signed-off-by: Emil Velikov
---
src/mesa/main/errors.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/
We already have one group (the default) as specif iced in the spec. So
lets return its size, rather than the index of the current group.
Signed-off-by: Emil Velikov
---
src/mesa/main/errors.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/errors.c b/src/mesa/ma
Hi all,
A bit of an update from last time around:
- Renamed GroupStackDepth to CurrentGroup, as Ilia suggested
- No more hacks
- Validate the length on null terminated strings
- Return the correct total length in GetDebugMessageLog
With these in place CTS test now passes. A full spin is ongoi
On Tuesday, November 03, 2015 01:25:59 PM Jason Ekstrand wrote:
> Separate textures and samplers are something that a lot of hardware
> supports. Our hardware in particular has done this ever since the original
> i965 chips. Part of this is because DX has made it a requirement for some
> time now
On Tuesday, November 03, 2015 01:26:04 PM Jason Ekstrand wrote:
> ---
> src/mesa/drivers/dri/i965/brw_vec4.h | 4 +++-
> src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 27
> ++
> src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 12
> 3 files chang
On Wed, Nov 25, 2015 at 5:36 AM, Juan A. Suarez Romero
wrote:
> When analyzing output for glsl-mat-from-int-ctor-03 piglit test, found
> that the following piece of generated asm code:
>
> mov(8) g19<1>.xyzF g6<4,4,1>.xyzzD { align16 1Q
> };
> dp4(8) g115<1>.
On Wed, Nov 25, 2015 at 5:36 AM, Juan A. Suarez Romero
wrote:
>
> When checking output VS in glsl-mat-from-int-ctor-03 piglit, I got the
> following
> (part of) code.
>
> mov(8) g19<1>.xyzF g6<4,4,1>.xyzzD { align16
> 1Q };
> dp4(8) g115<1>.wF g
On Tuesday, November 03, 2015 01:26:02 PM Jason Ekstrand wrote:
> ---
> src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp | 2 +-
> src/mesa/drivers/dri/i965/brw_fs.cpp| 47
> +++--
> src/mesa/drivers/dri/i965/brw_fs.h | 4 ++-
> src/mesa/drivers/dri/i
On Wed, Nov 25, 2015 at 5:36 AM, Juan A. Suarez Romero
wrote:
> If the shader asm code is something like:
>
> mov vgrf2767.0:F, [13F, 14F, 15F, 16F]
> mov vgrf2768.0:F, [9F, 10F, 11F, 12F]
> mov m8:F, [13F, 14F, 15F, 16F]
> mov m7:F, [9F, 10F, 11F, 12F]
>
> And we apply Common Subexpresion Elimina
On Wed, Nov 25, 2015 at 10:44 AM, Matt Turner wrote:
> On Wed, Nov 25, 2015 at 10:22 AM, Ian Romanick wrote:
>> Is this related to a bugzilla or a failing test case? If not, could we
>> get it piglit for it?
>>
>> Either way, looking at _mesa_regions_overlap (which could use a comment
>> saying
On Tuesday, November 03, 2015 01:26:00 PM Jason Ekstrand wrote:
> This commit adds the capability to NIR to support separate textures and
> samplers. As it currently stands, glsl_to_nir only sets the sampler and
> leaves the texture alone as it did before and nir_lower_samplers assumes
> this. Ho
On Wed, Nov 25, 2015 at 2:48 PM, Matt Turner wrote:
> The code seems fine to me. Here's what I see:
>
> We start with remaining_channels = WRITEMASK_XYZW. We initialize an
> element of imm[] for each enabled bit of inst->dst.writemask, and then
> we disable those bits from remaining_channels. When
On Tue, Nov 3, 2015 at 10:58 AM, Emil Velikov wrote:
> On 3 November 2015 at 18:20, Matt Turner wrote:
>> On Tue, Nov 3, 2015 at 8:09 AM, Emil Velikov
>> wrote:
>>> On 3 November 2015 at 00:29, Matt Turner wrote:
>>>
@@ -387,7 +342,9 @@ vec4_visitor::opt_vector_float()
re
On 25 November 2015 at 21:54, Matt Turner wrote:
> On Wed, Nov 25, 2015 at 1:31 PM, Emil Velikov
> wrote:
>> From: Emil Velikov
>>
>> Currently it's an empty library, although it'll be used to store common
>> code between GLSL and NIR that is compiler specific (rather than generic
>> as the one
On 2015-11-25 00:12:15, Iago Toral wrote:
> On Tue, 2015-11-17 at 21:54 -0800, Jordan Justen wrote:
> > Signed-off-by: Jordan Justen
> > ---
> > src/glsl/lower_variable_index_to_cond_assign.cpp | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/src/glsl/lower_variable_index_to_con
On Wed, Nov 25, 2015 at 1:32 PM, Emil Velikov wrote:
> From: Emil Velikov
>
> Signed-off-by: Emil Velikov
> ---
> Android.mk | 1 +
> configure.ac | 1 +
> src/Makefile.am| 1
On Wed, Nov 25, 2015 at 1:31 PM, Emil Velikov wrote:
> From: Emil Velikov
>
> Currently it's an empty library, although it'll be used to store common
> code between GLSL and NIR that is compiler specific (rather than generic
> as the one in src/util).
>
> XXX: strictly speaking we could add a pyt
On Wed, Nov 25, 2015 at 1:31 PM, Emil Velikov wrote:
> From: Emil Velikov
>
> The header is already included by glsl_types.{cpp,h}.
>
> Signed-off-by: Emil Velikov
> ---
> src/glsl/nir/builtin_type_macros.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/glsl/nir/builtin_type_macr
From: Emil Velikov
Allows us to remove the SCons workaround :-)
Signed-off-by: Emil Velikov
---
src/compiler/Makefile.sources | 2 ++
src/{glsl/nir => compiler}/glsl_types.cpp | 2 +-
src/{glsl/nir => compiler}/glsl_types.h |
Hello all,
Some of us have been thinking about moving nir out of glsl, and fleshing
out some common helper (static library) that is use by both. So here it
is - src/compiler.
The modules (libcompiler, libnir and libglsl) are unfortunately not
really independent.
- libcompiler - compile time (
From: Emil Velikov
Signed-off-by: Emil Velikov
---
Android.mk | 1 +
configure.ac | 1 +
src/Makefile.am| 1 +
src/{glsl => compiler}/nir/.gitignore | 0
src/co
From: Emil Velikov
Currently it's an empty library, although it'll be used to store common
code between GLSL and NIR that is compiler specific (rather than generic
as the one in src/util).
XXX: strictly speaking we could add a python/mako parser to generate the
relevant files instead including b
From: Emil Velikov
The header is already included by glsl_types.{cpp,h}.
Signed-off-by: Emil Velikov
---
src/glsl/nir/builtin_type_macros.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/glsl/nir/builtin_type_macros.h
b/src/glsl/nir/builtin_type_macros.h
index 8e16ae4..7bd2e4e 10064
From: Emil Velikov
This way one can reuse it in glsl, nir or other compiler infrastructure
without pulling nir as dependency.
Signed-off-by: Emil Velikov
---
Android.mk | 1 +
src/SConscript | 1 +
src/compiler/Android.mk
From: Emil Velikov
Signed-off-by: Emil Velikov
---
src/glsl/nir/nir_lower_samplers.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/glsl/nir/nir_lower_samplers.c
b/src/glsl/nir/nir_lower_samplers.c
index 5df79a6..2aab305 100644
--- a/src/glsl/nir/nir_lower_samplers.c
+++ b/src/glsl/nir
From: Emil Velikov
... alongside its C++ brethren. On the flip side the files are called
nir_types.{cpp,h} just because...
At some point in the future we can fold the wrappers where they should
be and rename things appropriately. Yet current direction is to try
and split it out of nir.
Signed-o
From: Emil Velikov
As glsl_types.{cpp,h} were moved out of the sconscript (commit
b23a4859f4d "scons: Build nir/glsl_types.cpp once.") remove the dangling
includes.
Cc: Jose Fonseca
Signed-off-by: Emil Velikov
---
src/mesa/drivers/x11/SConscript | 2 --
1 file changed, 2 deletions(-)
diff -
The most important feedback I have on the patch is that we continue to add stuff
like this for compute when there is a libdrm interface which exposes all or most
of it - and that interface should either be expanded or removed. FWIW, I wasn't
a big fan of the interface when it was introduced, but it
From: Emil Velikov
Add one missing extern C guard within include/pipe/p_video_enums.h, and
remove the wrapping throughout gallium.
On Haiku one could even use the gallium debug_printf() although
that's another topic.
v2: Leave dbghelp.h as is (Jose)
Cc: Jose Fonseca
Cc: Brian Paul
Cc: Alexan
On 24 November 2015 at 16:29, Emil Velikov wrote:
> From: Emil Velikov
>
> Signed-off-by: Emil Velikov
> ---
> src/mesa/drivers/dri/i965/brw_vec4.h | 17 +
> 1 file changed, 5 insertions(+), 12 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h
> b/src/mesa/driv
On Wed, Nov 25, 2015 at 11:37 AM, Francisco Jerez wrote:
> The thread scratch space is thread-local so using the full IA-coherent
> stateless surface index (255 since Gen8) is unnecessary and
> potentially expensive. On Gen8 and early steppings of Gen9 this is
> not a functional change because th
On Wed, Nov 25, 2015 at 12:17 PM, Emil Velikov wrote:
> From: Emil Velikov
>
> Unused since
>
> 5e9aa9926b9 (2011) - _mesa_ir_compile_shader
> 69e07bdeb42 (2009) - _mesa_get_program_register
I was confused because this second commit didn't have anything to do
with _mesa_ir_compile_shader, and
From: Emil Velikov
Unused since
5e9aa9926b9 (2011) - _mesa_ir_compile_shader
69e07bdeb42 (2009) - _mesa_get_program_register
Cc: Kenneth Graunke
Cc: Brian Paul
Signed-off-by: Emil Velikov
---
src/mesa/program/ir_to_mesa.h | 1 -
src/mesa/program/prog_execute.h | 4
2 files changed,
On 2015-11-25 01:32:37, Iago Toral wrote:
>
> On Tue, 2015-11-17 at 21:54 -0800, Jordan Justen wrote:
> > For compute shader shared variable we will set a default of column
> > major.
> >
> > Signed-off-by: Jordan Justen
> > ---
> > src/glsl/lower_buffer_access.cpp | 5 +++--
> > src/glsl/lowe
Jose Fonseca writes:
> On 24/11/15 21:38, Rob Clark wrote:
>> On Tue, Nov 24, 2015 at 4:10 PM, Eric Anholt wrote:
>>> Rob Clark writes:
>>>
On Tue, Nov 24, 2015 at 2:10 PM, Ilia Mirkin wrote:
> On Tue, Nov 24, 2015 at 2:04 PM, Eric Anholt wrote:
>> This just builds/installs our d
Jordan Justen writes:
> Signed-off-by: Jordan Justen
> ---
> src/mesa/drivers/dri/i965/brw_defines.h | 2 ++
> src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 33
>
> 2 files changed, 35 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_defines.h
> b/s
Unfortunately Gen7 scratch block reads and writes seem to be hardwired
to BTI 255 even on Gen9+ where that index causes the dataport to do an
IA-coherent read or write. This change is required for the next patch
to be correct, since otherwise we would be writing to the scratch
space using non-cohe
---
src/mesa/drivers/dri/i965/brw_defines.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h
b/src/mesa/drivers/dri/i965/brw_defines.h
index ade3ede..a511d5c 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i
The thread scratch space is thread-local so using the full IA-coherent
stateless surface index (255 since Gen8) is unnecessary and
potentially expensive. On Gen8 and early steppings of Gen9 this is
not a functional change because the kernel already sets bit 4 of
HDC_CHICKEN0 which overrides all HD
On Wed, Nov 25, 2015 at 11:05 AM, Jason Ekstrand wrote:
> On Wed, Nov 25, 2015 at 10:52 AM, Matt Turner wrote:
>> On Wed, Nov 25, 2015 at 10:46 AM, Jason Ekstrand
>> wrote:
>>> On Wed, Nov 25, 2015 at 10:45 AM, Matt Turner wrote:
On Wed, Nov 25, 2015 at 10:37 AM, Jason Ekstrand
wro
On Wed, Nov 25, 2015 at 06:36:34PM +0100, Neil Roberts wrote:
[snip]
>
> Sadly there is a second obstacle stopping window system buffers from
> using fast clears which as that they are always x-tiled and supposedly
> SKL doesn't support that. This is explicitly disabled in
> intel_tiling_support
On Wed, Nov 25, 2015 at 6:26 AM, Francisco Jerez wrote:
> The L3 state atom calculates the target L3 partition weights when the
> program bound to some shader stage is modified, and in case they are
> far enough from the current partitioning it makes sure that the L3
> state is re-emitted.
>
> v3:
On Wed, Nov 25, 2015 at 10:52 AM, Matt Turner wrote:
> On Wed, Nov 25, 2015 at 10:46 AM, Jason Ekstrand wrote:
>> On Wed, Nov 25, 2015 at 10:45 AM, Matt Turner wrote:
>>> On Wed, Nov 25, 2015 at 10:37 AM, Jason Ekstrand
>>> wrote:
On Wed, Nov 25, 2015 at 10:31 AM, Matt Turner wrote:
On Wednesday, November 25, 2015 12:16:02 PM Marta Lofstedt wrote:
> From: Marta Lofstedt
>
> No drivers currently implement ARB_geometry_shader4, nor are there
> any plans to implement it. We only support the version of geometry
> shaders that was incorporated into OpenGL 3.2 / GLSL 1.50.
>
> S
On Tue, Nov 24, 2015 at 10:35 PM, Kenneth Graunke wrote:
> Apparently we have literally no support for FS varying struct inputs.
> This is somewhat surprising, given that we've had tests for that very
> feature that have been passing for a long time.
>
> Normally, varying packing splits up structu
At first I thought it was a mistake to remove things from
enum_strings.cpp, but it looks like the ARB/EXT extensions actually
had different enum values than core GL 3.2 for the same things.
I've looked over all of this with some care and it looks right. Will
need a bunch of changes to support OES_
On Tue, Nov 24, 2015 at 10:35 PM, Kenneth Graunke wrote:
> While we correctly set output[] for composite varyings, we set completely
> bogus values for output_components[], making emit_urb_writes() output
> zeros instead of the actual values.
>
> Unfortunately, our simple approach goes out the win
On Wed, Nov 25, 2015 at 06:36:36PM +0100, Neil Roberts wrote:
> For single-sampled textures the MCS buffer is only used to implement
> fast clears. However the surface always needs to be resolved before
> being used as a texture anyway so the the MCS buffer doesn't actually
> achieve anything. This
1 - 100 of 224 matches
Mail list logo