Re: [Mesa-dev] Can I please get +o in #dri-devel to quiet verbal abuse?

2020-12-30 Thread Ryan Houdek
Thank you very much! On Mon, Dec 28, 2020 at 8:14 AM Eric Anholt wrote: > I've added you to chanserv permissions (I think), feel free to use it > for that spammer. Thanks! > > On Sun, Dec 27, 2020 at 9:01 PM Ryan Houdek > wrote: > > > > Can someone with perm

[Mesa-dev] Can I please get +o in #dri-devel to quiet verbal abuse?

2020-12-27 Thread Ryan Houdek
Can someone with permissions give me +o in #dri-devel through chanserv? IRC alias is HdkR, Nickserv alias is Sonicadvance1. Nobody should be required to put up with the verbal abuse constantly when the spammer comes in. I'm around at almost all times and will be able to quiet them whenever it happ

Re: [Mesa-dev] [PATCH 0/3] panfrost/midgard: Integer division

2019-06-05 Thread Ryan Houdek
Patch series Reviewed-By: Ryan Houdek On Wed, Jun 5, 2019 at 8:41 AM Alyssa Rosenzweig < alyssa.rosenzw...@collabora.com> wrote: > This series adds some new ALU ops from OpenCL (cherry-picked from my > downstream tree -- the full set of OpenCL-related ISA additions should > be c

Re: [Mesa-dev] [PATCH] panfrost: bifrost: Fix format string in disassembler

2019-06-05 Thread Ryan Houdek
Awesome, thanks for the fix. Reviewed-By: Ryan Houdek On Tue, Jun 4, 2019 at 11:55 PM Tomeu Vizoso wrote: > The compiler configuration was hardened to fail on format warnings and > things stopped building. > > Fixes: c9c1e2610647 ("mesa: prevent common string formatting

Re: [Mesa-dev] [PATCH 00/13] panfrost/midgard: RA improvements (esp. RA)

2019-05-28 Thread Ryan Houdek
Patch Series Reviewed-By: Ryan Houdek On Sat, May 25, 2019 at 7:39 PM Alyssa Rosenzweig wrote: > This fairly-lengthy series is focused on improving the register > allocator and by extension the performance of the generated code. > Meanwhile, we cleanup the compiler, refactoring

Re: [Mesa-dev] [PATCH] panfrost: Remove the standalone compiler

2019-05-19 Thread Ryan Houdek
Reviewed-By: Ryan Houdek On Sun, May 19, 2019 at 4:52 PM Alyssa Rosenzweig wrote: > Now that the online compiler and pandecode are reliable and upstreamed, > nobody is using this. If somebody does need it, it should be easy enough > to bring back, I suppose. At the moment, it

Re: [Mesa-dev] [PATCH 0/5] Bifrost decoding support

2019-05-18 Thread Ryan Houdek
Makes me think that in the future we should start splitting out midgard and bifrost specific things in to their own files for the decoder. Alas that isn't today so this patch series is Reviewed-by: Ryan Houdek < sonicadvan...@gmail.com> On Sat, May 18, 2019 at 2:53 PM Alyssa Rosenz

Re: [Mesa-dev] [PATCH 4/7] nir: Add nir_lower_blend pass

2019-05-05 Thread Ryan Houdek
I feel so called out, it's not the only thing I care about. I'll let dual source blending wait until future improvements though :) On Sun, May 5, 2019 at 7:26 PM Alyssa Rosenzweig wrote: > This new lowering pass implements the OpenGL ES blend pipeline in > shaders, applicable to hardware lacking

Re: [Mesa-dev] [PATCH] panfrost: Remove support for legacy kernels

2019-04-03 Thread Ryan Houdek
I also have no problems with this from the Bifrost facing side. On Tue, Apr 2, 2019 at 7:25 PM Tomeu Vizoso wrote: > On 4/1/19 2:16 AM, Alyssa Rosenzweig wrote: > > Previously, there was minimal support for interoperating with legacy > > kernels (reusing kernel modules originally designed for pr

Re: [Mesa-dev] XDC 2017 feedback

2017-09-27 Thread Ryan Houdek
It was a great time! Next year I should pay more attention that this was happening so I don't sign up at the last moment causing me to miss a day, and having a fever on the last day. Looking forward to next year's! On Wed, Sep 27, 2017 at 4:25 PM, Ian Romanick wrote: > On 09/26/2017 09:57 AM, Da

Re: [Mesa-dev] [PATCH 0/4] Resolving Android + desktop OpenGL 'hack'

2016-08-26 Thread Ryan Houdek
don't have a list of all the features it needs in front of me at the moment(Requires grepping the codebase to figure out what all it is using again) On Thu, Aug 25, 2016 at 10:53 PM, Tomasz Figa wrote: > On Fri, Aug 26, 2016 at 1:06 PM, Ryan Houdek > wrote: > > Dolphin Emulator do

Re: [Mesa-dev] [PATCH 0/4] Resolving Android + desktop OpenGL 'hack'

2016-08-25 Thread Ryan Houdek
Dolphin Emulator does ;) On Thu, Aug 25, 2016 at 4:47 PM, Tomasz Figa wrote: > Hi Emil, > > On Fri, Aug 26, 2016 at 1:07 AM, Emil Velikov > wrote: > > Hi all, > > > > While in the area, I've noticed an odd behaviour (and somewhat of a bug) > > in the egl/android code. > > > > Namely: although w

Re: [Mesa-dev] [PATCH] Expose EXT_texture_lod_bias to ES2.

2015-11-18 Thread Ryan Houdek
v which are not part of > ES 2.0 API. Also the parameter enums are not part of ES2 header. I does not > seem like we would want to expose this extension on ES2? > > > > On 11/19/2015 09:02 AM, Ryan Houdek wrote: > >> This should also be available there, so this

[Mesa-dev] [PATCH] Support EXT_buffer_storage on ES 3.0

2015-11-18 Thread Ryan Houdek
Basically the reason for needing ES 3.1 is because it relies on glMemoryBarrier. This change puts buffer_storage in the same position in both ES and GL, since mesa exposes buffer_storage on a much older version of GL than it is suppose to. --- docs/relnotes/11.1.0.html| 2 +- src/mapi/glap

[Mesa-dev] [PATCH] Expose EXT_texture_lod_bias to ES2.

2015-11-18 Thread Ryan Houdek
This should also be available there, so this was simple. --- src/mesa/main/extensions_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index a5d88d9..0095c85 100644 --- a/src/mesa/main/extensions_table.h

[Mesa-dev] [PATCH v5 5/8] glsl: Add a parse check to check for the index layout qualifier

2015-11-13 Thread Ryan Houdek
This can only be used if EXT_blend_func_extended is enabled --- src/glsl/glsl_parser.yy | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 4636435..40e60e5 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1463,6 +1

[Mesa-dev] [PATCH v5 8/8] mesa: Enable EXT_blend_func_extended if the driver supports the ARB version

2015-11-13 Thread Ryan Houdek
--- docs/relnotes/11.1.0.html | 1 + src/mesa/main/extensions.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html index c35d91f..5c2e530 100644 --- a/docs/relnotes/11.1.0.html +++ b/docs/relnotes/11.1.0.html @@ -56,6 +56,7 @@ Note: some of

[Mesa-dev] [PATCH v5 0/8] Implement support for EXT_blend_func_extended

2015-11-13 Thread Ryan Houdek
application that uses this extension) Ryan Houdek (8): glapi: Add EXT_blend_func_extended XML definitions glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended glsl: Add support for the new builtins that EXT_blend_func_extended provides. glsl: Add

[Mesa-dev] [PATCH v5 7/8] mesa: Allow MAX_DUAL_SOURCE_DRAW_BUFFERS to be available to ES

2015-11-13 Thread Ryan Houdek
--- src/mesa/main/get_hash_params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index fbc7b8f..9b22b91 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -330,6 +330

[Mesa-dev] [PATCH v5 6/8] mesa: Enable usage of blend_func_extended blend factors

2015-11-13 Thread Ryan Houdek
--- src/mesa/main/blend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 20aa498..ee5a513 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -67,7 +67,7 @@ legal_src_factor(const struct gl_context *ctx, G

[Mesa-dev] [PATCH v5 4/8] glsl: Add GL_EXT_blend_func_extended preprocessor define

2015-11-13 Thread Ryan Houdek
--- src/glsl/glcpp/glcpp-parse.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 4acccf7..10bf83f 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2384,6 +2384,8 @@ _glcpp_parser_handle_version_

[Mesa-dev] [PATCH v5 1/8] glapi: Add EXT_blend_func_extended XML definitions

2015-11-13 Thread Ryan Houdek
--- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 ++- src/mapi/glapi/gen/es_EXT.xml | 26 ++ src/mesa/main/tests/dispatch_sanity.cpp | 8 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/gl

[Mesa-dev] [PATCH v5 3/8] glsl: Add support for the new builtins that EXT_blend_func_extended provides.

2015-11-13 Thread Ryan Houdek
gl_MaxDualSourceDrawBuffersEXT - Maximum DS draw buffers supported Only for ESSL 1.0 it provides two builtins since you can't have user-defined color output variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT[MaxDSDrawBuffers] --- src/glsl/ast_to_hir.cpp| 24 +++ sr

[Mesa-dev] [PATCH v5 2/8] glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended

2015-11-13 Thread Ryan Houdek
This adds a state for the maximum dual source draw variables available and the variable for determining if the extension has been enabled in the program shaders. --- src/glsl/glsl_parser_extras.cpp | 3 +++ src/glsl/glsl_parser_extras.h | 5 + 2 files changed, 8 insertions(+) diff --git a/s

Re: [Mesa-dev] [PATCH v3 0/8] Implement support for EXT_blend_func_extended

2015-11-12 Thread Ryan Houdek
irkin wrote: > On Thu, Nov 5, 2015 at 9:47 PM, Ryan Houdek > wrote: > > This implements support for a very new extension to ES, which allows you > > to do dual source blending just like in desktop OpenGL. > > This works with the piglits that I am writing that just need to be

Re: [Mesa-dev] Potential spec change request for EXT_buffer_storage

2015-11-10 Thread Ryan Houdek
In particular I was thinking about a3xx hardware that most likely can't physically support ES 3.1, and also drivers that may not get it for a long while. On Mon, Nov 9, 2015 at 6:29 PM, Ilia Mirkin wrote: > On Mon, Nov 9, 2015 at 7:10 PM, Ian Romanick wrote: > > On 11/04/2015

[Mesa-dev] [PATCH v4 0/8] Implement support for EXT_blend_func_extended

2015-11-06 Thread Ryan Houdek
application that uses this extension) Ryan Houdek (8): glapi: Add EXT_blend_func_extended XML definitions glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended glsl: Add support for the new builtins that EXT_blend_func_extended provides. glsl: Add

[Mesa-dev] [PATCH v4 1/8] glapi: Add EXT_blend_func_extended XML definitions

2015-11-06 Thread Ryan Houdek
--- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 ++- src/mapi/glapi/gen/es_EXT.xml | 26 ++ src/mesa/main/tests/dispatch_sanity.cpp | 8 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/gl

[Mesa-dev] [PATCH v4 4/8] glsl: Add GL_EXT_blend_func_extended preprocessor define

2015-11-06 Thread Ryan Houdek
--- src/glsl/glcpp/glcpp-parse.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 4acccf7..10bf83f 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2384,6 +2384,8 @@ _glcpp_parser_handle_version_

[Mesa-dev] [PATCH v4 5/8] glsl: Add a parse check to check for the index layout qualifier

2015-11-06 Thread Ryan Houdek
This can only be used if EXT_blend_func_extended is enabled --- src/glsl/glsl_parser.yy | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 4636435..40e60e5 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1463,6 +1

[Mesa-dev] [PATCH v4 6/8] mesa: Enable usage of blend_func_extended blend factors

2015-11-06 Thread Ryan Houdek
--- src/mesa/main/blend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 20aa498..ee5a513 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -67,7 +67,7 @@ legal_src_factor(const struct gl_context *ctx, G

[Mesa-dev] [PATCH v4 7/8] mesa: Allow MAX_DUAL_SOURCE_DRAW_BUFFERS to be available to ES

2015-11-06 Thread Ryan Houdek
--- src/mesa/main/get_hash_params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index fbc7b8f..9b22b91 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -330,6 +330

[Mesa-dev] [PATCH v4 8/8] mesa: Enable EXT_blend_func_extended if the driver supports the ARB version

2015-11-06 Thread Ryan Houdek
--- docs/relnotes/11.1.0.html | 1 + src/mesa/main/extensions.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html index c35d91f..5c2e530 100644 --- a/docs/relnotes/11.1.0.html +++ b/docs/relnotes/11.1.0.html @@ -56,6 +56,7 @@ Note: some of

[Mesa-dev] [PATCH v4 3/8] glsl: Add support for the new builtins that EXT_blend_func_extended provides.

2015-11-06 Thread Ryan Houdek
gl_MaxDualSourceDrawBuffersEXT - Maximum DS draw buffers supported Only for ESSL 1.0 it provides two builtins since you can't have user-defined color output variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT[MaxDSDrawBuffers] --- src/glsl/ast_to_hir.cpp| 24 s

[Mesa-dev] [PATCH v4 2/8] glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended

2015-11-06 Thread Ryan Houdek
This adds a state for the maximum dual source draw variables available and the variable for determining if the extension has been enabled in the program shaders. --- src/glsl/glsl_parser_extras.cpp | 3 +++ src/glsl/glsl_parser_extras.h | 5 + 2 files changed, 8 insertions(+) diff --git a/s

Re: [Mesa-dev] [PATCH v3 1/8] glapi: Add EXT_blend_func_extended XML definitions

2015-11-06 Thread Ryan Houdek
Yes this is correct. These functions are only available in ES 3.0+ profiles. The only things that ES 2.0 gets is the new builtins for the shading language. On Fri, Nov 6, 2015 at 12:49 PM, Ian Romanick wrote: > On 11/05/2015 06:47 PM, Ryan Houdek wrote: > > --- > > src

[Mesa-dev] [PATCH v3 1/8] glapi: Add EXT_blend_func_extended XML definitions

2015-11-05 Thread Ryan Houdek
--- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 ++- src/mapi/glapi/gen/es_EXT.xml | 26 ++ src/mesa/main/tests/dispatch_sanity.cpp | 8 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/gl

[Mesa-dev] [PATCH v3 7/8] mesa: Allow MAX_DUAL_SOURCE_DRAW_BUFFERS to be available to ES

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/get_hash_params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index fbc7b8f..9b22b91 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -330,6 +330

[Mesa-dev] [PATCH v3 0/8] Implement support for EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
application that uses this extension) Ryan Houdek (8): Add EXT_blend_func_extended XML definitions Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended Add support for the new builtins that EXT_blend_func_extended provides. Add a parse check to check for the

[Mesa-dev] [PATCH v3 3/8] glsl: Add support for the new builtins that EXT_blend_func_extended provides.

2015-11-05 Thread Ryan Houdek
gl_MaxDualSourceDrawBuffersEXT - Maximum DS draw buffers supported Only for ESSL 1.0 it provides two builtins since you can't have user-defined color output variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT[MaxDSDrawBuffers] --- src/glsl/ast_to_hir.cpp| 16 +++ src/gl

[Mesa-dev] [PATCH v3 4/8] glsl: Add GL_EXT_blend_func_extended preprocessor define

2015-11-05 Thread Ryan Houdek
--- src/glsl/glcpp/glcpp-parse.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 4acccf7..10bf83f 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -2384,6 +2384,8 @@ _glcpp_parser_handle_version_

[Mesa-dev] [PATCH v3 6/8] mesa: Enable usage of blend_func_extended blend factors

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/blend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 20aa498..185e30e 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -67,7 +67,7 @@ legal_src_factor(const struct gl_context *ctx, GLe

[Mesa-dev] [PATCH v3 8/8] mesa: Enable EXT_blend_func_extended if the driver supports the ARB version

2015-11-05 Thread Ryan Houdek
--- docs/relnotes/11.1.0.html | 1 + src/mesa/main/extensions.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html index c35d91f..5c2e530 100644 --- a/docs/relnotes/11.1.0.html +++ b/docs/relnotes/11.1.0.html @@ -56,6 +56,7 @@ Note: some of

[Mesa-dev] [PATCH v3 5/8] glsl: Add a parse check to check for the index layout qualifier

2015-11-05 Thread Ryan Houdek
This can only be used if EXT_blend_func_extended is enabled --- src/glsl/glsl_parser.yy | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 4636435..40e60e5 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1463,6 +1

[Mesa-dev] [PATCH v3 2/8] glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
This adds a state for the maximum dual source draw variables available and the variable for determining if the extension has been enabled in the program shaders. --- src/glsl/glsl_parser_extras.cpp | 3 +++ src/glsl/glsl_parser_extras.h | 5 + 2 files changed, 8 insertions(+) diff --git a/s

[Mesa-dev] [PATCH v2 5/7] mesa: Enable usage of blend_func_extended blend factors

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/blend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 20aa498..185e30e 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -67,7 +67,7 @@ legal_src_factor(const struct gl_context *ctx, GLe

[Mesa-dev] [PATCH v2 2/7] glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
This adds a state for the maximum dual source draw variables available and the variable for determining if the extension has been enabled in the program shaders. --- src/glsl/glsl_parser_extras.cpp | 3 +++ src/glsl/glsl_parser_extras.h | 5 + 2 files changed, 8 insertions(+) diff --git a/s

[Mesa-dev] [PATCH v2 4/7] glsl: Add a parse check to check for the index layout qualifier

2015-11-05 Thread Ryan Houdek
This can only be used if EXT_blend_func_extended is enabled --- src/glsl/glsl_parser.yy | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 4636435..40e60e5 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1463,6 +1

[Mesa-dev] [PATCH v2 6/7] mesa: Allow MAX_DUAL_SOURCE_DRAW_BUFFERS to be available to ES

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/get_hash_params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index fbc7b8f..9b22b91 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -330,6 +330

[Mesa-dev] [PATCH v2 0/8] Implement support for EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
application that uses this extension) Ryan Houdek (8): Add EXT_blend_func_extended XML definitions Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended Add support for the new builtins that EXT_blend_func_extended provides. Add a parse check to check for the

[Mesa-dev] [PATCH v2 7/7] mesa: Enable EXT_blend_func_extended if the driver supports the ARB version

2015-11-05 Thread Ryan Houdek
--- docs/relnotes/11.1.0.html | 1 + src/mesa/main/extensions.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html index c35d91f..5c2e530 100644 --- a/docs/relnotes/11.1.0.html +++ b/docs/relnotes/11.1.0.html @@ -56,6 +56,7 @@ Note: some of

[Mesa-dev] [PATCH v2 3/7] glsl: Add support for the new builtins that EXT_blend_func_extended provides.

2015-11-05 Thread Ryan Houdek
gl_MaxDualSourceDrawBuffersEXT - Maximum DS draw buffers supported Only for ESSL 1.0 it provides two builtins since you can't have user-defined color output variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT[MaxDSDrawBuffers] --- src/glsl/ast_to_hir.cpp| 16 +++ src/gl

[Mesa-dev] [PATCH v2 1/7] glapi: Add EXT_blend_func_extended XML definitions

2015-11-05 Thread Ryan Houdek
--- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 ++- src/mapi/glapi/gen/es_EXT.xml | 26 ++ src/mesa/main/tests/dispatch_sanity.cpp | 8 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/gl

[Mesa-dev] [PATCH 0/8] Implement support for EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
application that uses this extension) Ryan Houdek (8): Add EXT_blend_func_extended XML definitions Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended Add support for the new builtins that EXT_blend_func_extended provides. Add a parse check to check for the

[Mesa-dev] [PATCH 5/8] Enable usage of blend_func_extended blend factors

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/blend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index 20aa498..8da81ee 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -67,7 +67,7 @@ legal_src_factor(const struct gl_context *ctx, GLe

[Mesa-dev] [PATCH 1/8] Add EXT_blend_func_extended XML definitions

2015-11-05 Thread Ryan Houdek
--- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 ++- src/mapi/glapi/gen/es_EXT.xml | 38 ++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/glapi/gen/EXT_gpu_shader4.xml index b1f7eae..b4120b

[Mesa-dev] [PATCH 2/8] Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
This adds a state for the maximum dual source draw variables available and the variable for determining if the extension has been enabled in the program shaders. --- src/glsl/glsl_parser_extras.cpp | 3 +++ src/glsl/glsl_parser_extras.h | 5 + 2 files changed, 8 insertions(+) diff --git a/s

[Mesa-dev] [PATCH 6/8] Allow MAX_DUAL_SOURCE_DRAW_BUFFERS to be available to ES

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/get_hash_params.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index fbc7b8f..9b22b91 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -330,6 +330

[Mesa-dev] [PATCH 3/8] Add support for the new builtins that EXT_blend_func_extended provides.

2015-11-05 Thread Ryan Houdek
gl_MaxDualSourceDrawBuffersEXT - Maximum DS draw buffers supported Only for ESSL 1.0 it provides two builtins since you can't have user-defined color output variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT[MaxDSDrawBuffers] --- src/glsl/ast_to_hir.cpp| 16 +++ src/gl

[Mesa-dev] [PATCH 7/8] Add EXT_blend_func_extended functions to the dispatch_sanity test

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/tests/dispatch_sanity.cpp | 8 1 file changed, 8 insertions(+) diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index abe0f43..97f81f9 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_

[Mesa-dev] [PATCH 8/8] Enable EXT_blend_func_extended if the driver supports the ARB version

2015-11-05 Thread Ryan Houdek
--- src/mesa/main/extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index bdc6817..f1692ba 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -221,6 +221,7 @@ static const struct extension extension_tab

[Mesa-dev] [PATCH 4/8] Add a parse check to check for the index layout qualifier

2015-11-05 Thread Ryan Houdek
This can only be used if EXT_blend_func_extended is enabled --- src/glsl/glsl_parser.yy | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index 4636435..40e60e5 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -1463,6 +1

[Mesa-dev] [PATCH] Implement EXT_blend_func_extended

2015-11-05 Thread Ryan Houdek
This is a very new extension to ES that gives you dual source blending just like in desktop OpenGL. This works with the piglits that I've written, which are in the process of being cleaned up so they can be pushed, and this also works great with the Dolphin emulator. --- src/glsl/ast_to_hir.cpp

[Mesa-dev] Potential spec change request for EXT_buffer_storage

2015-11-04 Thread Ryan Houdek
I'm hoping to potentially convince about lowering the minimum requirement of EXT_buffer_storage from ES 3.1 to ES 3.0. The only thing that causes it to require ES 3.1 is glMemoryBarrier, which shouldn't really be a hard requirement since the extension can be used without it. This is also a similar

[Mesa-dev] [PATCH v2] Expose support for GL_EXT_buffer_storage

2015-11-02 Thread Ryan Houdek
This extension requires ES 3.1 since it relies on glMemoryBarrier. For testing purposes I temporarily moved glMemoryBarrier to be an ES 3.0 function. This has been tested with the piglit in the ML and the Dolphin emulator. --- docs/relnotes/11.1.0.html | 1 + src/mapi/glapi/gen/es_EXT.xml | 9

[Mesa-dev] [PATCH] Expose support for GL_EXT_buffer_storage

2015-11-02 Thread Ryan Houdek
This extension requires ES 3.1 since it relies on glMemoryBarrier. For testing purposes I temporarily moved glMemoryBarrier to be an ES 3.0 function. This has been tested with the piglit in the ML and the Dolphin emulator. --- docs/relnotes/11.1.0.html | 1 + src/mapi/glapi/gen/es_EXT.xml | 9

[Mesa-dev] [PATCH] Expose support for OES/EXT_draw_elements_base_vertex to OpenGL ES.

2015-11-01 Thread Ryan Houdek
This has been tested with the piglits in the mailing list and on the Dolphin emulator. --- docs/GL3.txt | 2 +- docs/relnotes/11.1.0.html | 2 + .../glapi/gen/ARB_draw_elements_base_vertex.xml| 6 +- src/mapi/glapi/gen/es_EXT.xm

[Mesa-dev] [PATCH] Expose support for OES/EXT_draw_elements_base_vertex to OpenGL ES.

2015-11-01 Thread Ryan Houdek
This has been tested with the piglits in the mailing list and on the Dolphin emulator. --- docs/GL3.txt | 2 +- docs/relnotes/11.1.0.html | 2 + .../glapi/gen/ARB_draw_elements_base_vertex.xml| 6 +- src/mapi/glapi/gen/es_EXT.xm

[Mesa-dev] [PATCH] Expose support for OES/EXT_draw_elements_base_vertex to OpenGL ES.

2015-11-01 Thread Ryan Houdek
This has been tested with the piglits in the mailing list and on the Dolphin emulator. --- docs/GL3.txt | 2 +- docs/relnotes/11.1.0.html | 2 + .../glapi/gen/ARB_draw_elements_base_vertex.xml| 6 +- src/mapi/glapi/gen/es_EXT.xm

[Mesa-dev] [PATCH] Expose support for OES/EXT_draw_elements_base_vertex to OpenGL ES. This has been tested with the piglits in the mailing list and on the Dolphin emulator.

2015-11-01 Thread Ryan Houdek
--- docs/GL3.txt | 2 +- docs/relnotes/11.1.0.html | 2 + .../glapi/gen/ARB_draw_elements_base_vertex.xml| 6 +- src/mapi/glapi/gen/es_EXT.xml | 88 ++ src/mesa/main/extensions.c

[Mesa-dev] [PATCH] Expose support for OES/EXT_draw_elements_base_vertex to OpenGL ES

2015-11-01 Thread Ryan Houdek
--- src/mapi/glapi/gen/es_EXT.xml | 88 +++ src/mesa/main/extensions.c| 2 + src/mesa/vbo/vbo_exec_array.c | 19 -- 3 files changed, 105 insertions(+), 4 deletions(-) diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml in

[Mesa-dev] [PATCH] glsl: Allow token pasting in ESSL

2015-07-22 Thread Ryan Houdek
All vendors I've tested allow token pasting in their ESSL shaders. At least one application expects this to be supported even though it is against spec. This would be the Dolphin GameCube/Wii emulator that requires this. The vendors I've tested that is known to support this is: ARM Mali Qualcomm Ad

[Mesa-dev] OpenGL ES token pasting support.

2015-03-31 Thread Ryan Houdek
I'm proposing changing from explicitly disallowing token pasting in OpenGL ES to allowing it in a similar fashion to desktop OpenGL. I'm proposing this for multiple reasons: - The Dolphin emulator uses it, and has been broken with Mesa's OpenGL ES for a number of months. - A number of propr