[Mesa-dev] [PATCH v4] nir: Don't lower the local work group size if it's variable.

2018-11-12 Thread Plamena Manolova
If the local work group size is variable it won't be available at compile time so we can't lower it in nir_lower_system_values(). Signed-off-by: Plamena Manolova --- src/compiler/nir/nir_lower_system_values.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletion

[Mesa-dev] [PATCH v3] nir: Don't lower the local work group size if it's variable.

2018-11-12 Thread Plamena Manolova
If the local work group size is variable it won't be available at compile time so we can't lower it in nir_lower_system_values(). Signed-off-by: Plamena Manolova --- src/compiler/nir/nir_lower_system_values.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletion

[Mesa-dev] [PATCH v2] nir: Handle variables dependent on the local work group size.

2018-11-11 Thread Plamena Manolova
ff-by: Plamena Manolova --- src/compiler/nir/nir_lower_system_values.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/compiler/nir/nir_lower_system_values.c b/src/compiler/nir/nir_lower_system_values.c index bde7eb1180..6fdf9f9c51 100644 --- a/src/compile

[Mesa-dev] [PATCH] nir: Handle variables dependent on the local work group size.

2018-11-11 Thread Plamena Manolova
Lowering the global invocation id and the local work group size in nir_lower_system_values is only possible if the local work group size isn't variable, otherwise this should be handled by the native driver (if it supports ARB_compute_variable_group_size). Signed-off-by: Plamena Man

[Mesa-dev] [PATCH v2 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-07 Thread Plamena Manolova
(Jordan) Use alphabetical order in features.txt (Matt) Set the extension constants properly in brw_context.c Signed-off-by: Plamena Manolova --- docs/features.txt| 2 +- docs/relnotes/18.2.0.html| 1 + src/compiler/nir

Re: [Mesa-dev] [PATCH] mesa/program_binary: add implicit UseProgram after successful ProgramBinary

2018-06-06 Thread Plamena Manolova
This looks good to me :) Reviewed-by: Plamena Manolova On Wed, 6 Jun 2018 at 18:51, Jordan Justen wrote: > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106810 > Fixes: b4c37ce2140 "i965: Add ARB_get_program_binary support using > nir_serialization" > Ref: 3f

Re: [Mesa-dev] [PATCH v2] dri: add missing 16bits formats mapping

2018-06-06 Thread Plamena Manolova
v2 is Reviewed-by: Plamena Manolova On Wed, 6 Jun 2018 at 15:59, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > Found by Eero. > > v2: Add G16R16 formats (Lionel) > > Signed-off-by: Lionel Landwerlin > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=

Re: [Mesa-dev] [PATCH] dri: add missing 16bits formats mapping

2018-06-06 Thread Plamena Manolova
Reviewed-by: Plamena Manolova On Wed, 6 Jun 2018 at 13:53, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > Signed-off-by: Lionel Landwerlin > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106642 > --- > src/mesa/drivers/dri/common/dri_util.c | 8

Re: [Mesa-dev] [PATCH 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-04 Thread Plamena Manolova
On Mon, 4 Jun 2018 at 21:36, Ilia Mirkin wrote: > On Mon, Jun 4, 2018 at 4:30 PM, Plamena Manolova > wrote: > > Thank you for the review Ilia! > > > > On Fri, 1 Jun 2018 at 23:44, Ilia Mirkin wrote: > >> > >> On Fri, Jun 1, 201

Re: [Mesa-dev] [PATCH 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-04 Thread Plamena Manolova
Thank you for the review Ilia! On Fri, 1 Jun 2018 at 23:44, Ilia Mirkin wrote: > On Fri, Jun 1, 2018 at 6:21 PM, Plamena Manolova > wrote: > > This patch adds the implentation of ARB_compute_variable_group_size > > for i965. We do this by storing the group size i

Re: [Mesa-dev] [PATCH 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-04 Thread Plamena Manolova
Thank you for reviewing this Jordan! On Fri, 1 Jun 2018 at 23:45, Jordan Justen wrote: > On 2018-06-01 15:21:34, Plamena Manolova wrote: > > This patch adds the implentation of ARB_compute_variable_group_size > > for i965. We do this by storing the group size in a buffer surface

Re: [Mesa-dev] [PATCH 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-04 Thread Plamena Manolova
Ah, that's true, I'll switch them around. Thank you for reviewing Matt! On Sat, 2 Jun 2018 at 04:58, Matt Turner wrote: > On Fri, Jun 1, 2018 at 3:21 PM, Plamena Manolova > wrote: > > This patch adds the implentation of ARB_compute_variable_group_size > > for i96

[Mesa-dev] [PATCH 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-01 Thread Plamena Manolova
This patch adds the implentation of ARB_compute_variable_group_size for i965. We do this by storing the group size in a buffer surface, similarly to the work group number. Signed-off-by: Plamena Manolova --- docs/features.txt| 2 +- docs/relnotes/18.2.0.html

[Mesa-dev] [PATCH 1/2] nir: Add global invocation id intrinsic.

2018-06-01 Thread Plamena Manolova
Add the missing nir intrinsic for the gl_GlobalInvocationID compute shader variable. Signed-off-by: Plamena Manolova --- src/compiler/nir/nir.c | 4 src/compiler/nir/nir_intrinsics.py | 1 + 2 files changed, 5 insertions(+) diff --git a/src/compiler/nir/nir.c b/src/compiler

[Mesa-dev] [PATCH 0/2] Implement ARB_compute_variable_group_size for i965

2018-06-01 Thread Plamena Manolova
These patches add support for ARB_compute_variable_group_size for i965. Plamena Manolova (2): nir: Add global invocation id intrinsic. i965: Implement ARB_compute_variable_group_size. docs/features.txt| 2 +- docs/relnotes/18.2.0.html

[Mesa-dev] [PATCH 2/2] i965: Add ARB_fragment_shader_interlock support.

2018-05-10 Thread Plamena Manolova
Adds suppport for ARB_fragment_shader_interlock. We achieve the interlock and fragment ordering by issuing a memory fence via sendc. Signed-off-by: Plamena Manolova --- docs/features.txt| 2 +- docs/relnotes/18.1.0.html| 1 + src/intel/compiler

[Mesa-dev] [PATCH 1/2] mesa: Add GL/GLSL plumbing for ARB_fragment_shader_interlock.

2018-05-10 Thread Plamena Manolova
e that the critical section of the fragment shader will be executed for only one fragment at a time. Signed-off-by: Plamena Manolova --- src/compiler/glsl/ast.h | 10 ++ src/compiler/glsl/ast_to_hir.cpp | 10 ++ src/compiler/glsl/ast_type.cpp

Re: [Mesa-dev] [PATCH 2/2] i965: Add ARB_fragment_shader_interlock support.

2018-04-09 Thread Plamena Manolova
Thank you so much for reviewing these patches Curro! I'll make the suggested changes and resubmit. On Thu, 5 Apr 2018, 19:25 Francisco Jerez, wrote: > Plamena Manolova writes: > > > Adds suppport for ARB_fragment_shader_interlock. We achieve > > the interlock and fragmen

[Mesa-dev] [PATCH 1/2] mesa: Add GL/GLSL plumbing for ARB_fragment_shader_interlock.

2018-04-06 Thread Plamena Manolova
e that the critical section of the fragment shader will be executed for only one fragment at a time. Signed-off-by: Plamena Manolova --- src/compiler/glsl/ast.h | 10 src/compiler/glsl/ast_to_hir.cpp | 10 src/compiler/glsl/ast_type.cpp | 30 +++

[Mesa-dev] [PATCH 2/2] i965: Add ARB_fragment_shader_interlock support.

2018-04-06 Thread Plamena Manolova
Adds suppport for ARB_fragment_shader_interlock. We achieve the interlock and fragment ordering by issuing a memory fence via sendc. Signed-off-by: Plamena Manolova --- docs/features.txt| 2 +- docs/relnotes/18.1.0.html| 1 + src/intel/compiler

[Mesa-dev] [PATCH] i965: Fix ARB_indirect_parameters logic.

2017-10-30 Thread Plamena Manolova
es of any of the predicate registers. Fixes: piglit.spec.arb_indirect_parameters.tf-count-arrays Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103085 Signed-off-by: Plamena Manolova CC: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_draw.c | 45 +++---

[Mesa-dev] [PATCH] i965: Fix ARB_indirect_parameters logic.

2017-10-25 Thread Plamena Manolova
sters. Fixes: piglit.spec.arb_indirect_parameters.tf-count-arrays Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103085 Signed-off-by: Plamena Manolova CC: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_draw.c | 75 +--- 1 file changed, 44 insertions(+

Re: [Mesa-dev] [PATCH] i965: Drop brw_bo_alloc in ARB_indirect_parameters implementation.

2017-10-11 Thread Plamena Manolova
Hi Ken, Sorry for missing this and thank you for catching it! Reviewed-by: Plamena Manolova On 11 Oct 2017 03:27, "Kenneth Graunke" wrote: The original implementation allocated a new BO here, but we decided to switch to intel_upload_space, which returns a reference to the current

[Mesa-dev] [PATCH 3/4] i965: Refactor brw_try_draw_prims.

2017-10-03 Thread Plamena Manolova
: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_draw.c | 236 ++- 1 file changed, 119 insertions(+), 117 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 513a05bb96..48d782ee86 100644 --- a/src/mesa/drivers

[Mesa-dev] [PATCH 4/4] i965: Implement ARB_indirect_parameters.

2017-10-03 Thread Plamena Manolova
We can implement ARB_indirect_parameters for i965 by taking advantage of the conditional rendering mechanism. This works by issuing maxdrawcount draw calls and using conditional rendering to predicate each of them with "drawcount > gl_DrawID" Signed-off-by: Plamena Manolova --- src

[Mesa-dev] [PATCH 1/4] i965: Introduce brw_prepare_drawing.

2017-10-03 Thread Plamena Manolova
. Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_draw.c | 46 +--- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 06c6ed72c9..1e93cb67c6 100644 --- a

[Mesa-dev] [PATCH 0/4] i965: ARB_indirect_parameters

2017-10-03 Thread Plamena Manolova
count > gl_DrawID". The first three patches are part of a necessary refactor of brw_try_draw_prims while the last one actually introduces the functionality. Plamena Manolova (4): i965: Introduce brw_prepare_drawing. i965: Indroduce brw_finish_drawing. i965: Refactor brw_try_draw_

[Mesa-dev] [PATCH 2/4] i965: Indroduce brw_finish_drawing.

2017-10-03 Thread Plamena Manolova
. Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_draw.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 1e93cb67c6..513a05bb96 100644 --- a/src/mesa/drivers

[Mesa-dev] [PATCH 1/2] i965: Refactor brw_draw_prims.

2017-08-29 Thread Plamena Manolova
brw_draw_prims needs to be refactored prior to ARB_indirect_parameters implementation. Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_draw.c | 343 +++ 1 file changed, 189 insertions(+), 154 deletions(-) diff --git a/src/mesa/drivers/dri/i965

[Mesa-dev] [PATCH 2/2] i965: Implement ARB_indirect_parameters

2017-08-29 Thread Plamena Manolova
We can implement ARB_indirect_parameters for i965 by taking advantage of the conditional rendering mechanism. This works by issuing maxdrawcount draw calls and using conditional rendering to predicate each of them with "drawcount > gl_DrawID" Signed-off-by: Plamena Manolova --- src

[Mesa-dev] [PATCH] mesa/main: Advertise ARB_texture_filter_anisotropic

2017-06-28 Thread Plamena Manolova
ARB_texture_filter_anisotropic is the ARB variation of EXT_texture_fitter_anisotropic and it operates in the same way, so there's no reason not to advertise it. Signed-off-by: Plamena Manolova --- src/mesa/main/extensions_table.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa

[Mesa-dev] [PATCH] mesa/main: Advertise ARB_polygon_offset_clamp.

2017-06-28 Thread Plamena Manolova
ARB_polygon_offset_clamp is just the ARB variation of EXT_polygon_offset_clamp and they operate in an identical manner, so there's no reason for us not to advertise it. Signed-off-by: Plamena Manolova --- src/mesa/main/extensions_table.h | 1 + 1 file changed, 1 insertion(+) diff --git

[Mesa-dev] [PATCH 2/3] mesa/main: Missing NULL pointer check.

2017-06-14 Thread Plamena Manolova
In prepare_target it's plausible that the parameters of _mesa_lookup_texture might be invalid and NULL is returned, so we need a NULL pointer check. CID: 1412566 Signed-off-by: Plamena Manolova --- src/mesa/main/copyimage.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-)

[Mesa-dev] [PATCH 1/3] mesa/main: Move NULL pointer check.

2017-06-14 Thread Plamena Manolova
In blit_framebuffer we're already doing a NULL pointer check for readFb and drawFb so it makes sense to do it before we actually use the pointers. CID: 1412569 Signed-off-by: Plamena Manolova --- src/mesa/main/blit.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[Mesa-dev] [PATCH 3/3] mesa/main: Missing NULL pointer check.

2017-06-14 Thread Plamena Manolova
In frame_buffer_texture it's plausible that the parameters of get_framebuffer_target might be invalid and NULL is returned, so we need a NULL pointer check. CID: 1412565 Signed-off-by: Plamena Manolova --- src/mesa/main/fbobject.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src

[Mesa-dev] [PATCH 2/2] i965: Add ARB_fragment_shader_interlock support.

2017-04-17 Thread Plamena Manolova
Adds suppport for ARB_fragment_shader_interlock. We achieve the interlock and fragment ordering by issuing a memory fence via sendc. Signed-off-by: Plamena Manolova --- docs/features.txt| 2 +- docs/relnotes/17.1.0.html| 1 + src/intel/compiler

[Mesa-dev] [PATCH 1/2] mesa: Add GL/GLSL plumbing for ARB_fragment_shader_interlock.

2017-04-17 Thread Plamena Manolova
e that the critical section of the fragment shader will be executed for only one fragment at a time. Signed-off-by: Plamena Manolova --- src/compiler/glsl/ast.h | 10 +++ src/compiler/glsl/ast_to_hir.cpp | 21 ++ src/compiler/glsl/ast_type.cpp

[Mesa-dev] [PATCH] mesa: Implement ARB_texture_filter_minmax for i965/gen9+

2017-01-31 Thread Plamena Manolova
off-by: Plamena Manolova --- docs/features.txt | 2 +- docs/relnotes/17.0.0.html | 1 + src/mesa/drivers/dri/i965/brw_defines.h | 8 +++ src/mesa/drivers/dri/i965/brw_sampler_state.c | 31 ++-- src/mesa/drivers/dri/i965/brw_s

[Mesa-dev] [PATCH] mesa: Enable EXT_compressed_ETC1_RGB8_sub_texture

2017-01-24 Thread Plamena Manolova
s/EXT/EXT_compressed_ETC1_RGB8_sub_texture.txt Note: OES_compressed_ETC1_RGB8_sub_texture seems to be listed in gl2ext.h, but there's no documentation for it in the KHR registry Signed-off-by: Plamena Manolova --- src/mesa/main/extensions_table.h | 1 + src/mesa/main/teximage.c | 1 - 2 files changed, 1

[Mesa-dev] [PATCH] mesa: Enable EXT_compressed_ETC1_RGB8_sub_texture

2017-01-20 Thread Plamena Manolova
/EXT_compressed_ETC1_RGB8_sub_texture.txt Note: OES_compressed_ETC1_RGB8_sub_texture seems to be listed in gl2ext.h, but there's no documentation for it in the KHR registry Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/intel_extensions.c | 1 + src/mesa/main/extensions_table.h | 1 +

[Mesa-dev] [PATCH 2/2] i965: Add i965 plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-12-06 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- docs/features.txt| 2 +- docs/relnotes/13.1.0.html

[Mesa-dev] [PATCH 1/2] mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-12-06 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- src/compiler/glsl/ast.h | 5 + src/compiler/glsl/ast_to_hir.cpp

[Mesa-dev] [PATCH 2/2] i965: Add i965 plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-11-30 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- docs/relnotes/13.1.0.html| 1 + src/mesa/drivers/dri/i965/brw_compiler.h

[Mesa-dev] [PATCH 1/2] mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-11-30 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- src/compiler/glsl/ast.h | 5 + src/compiler/glsl/ast_to_hir.cpp

[Mesa-dev] [PATCH 2/2] i965: Add i965 plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-11-22 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_compiler.h | 1 + src/mesa/drivers/dri/i965/brw_fs.cpp

[Mesa-dev] [PATCH 1/2] mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-11-22 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- src/compiler/glsl/ast.h | 5 + src/compiler/glsl/ast_to_hir.cpp

[Mesa-dev] [PATCH 3/3] i965: Add i965 plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-11-17 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_compiler.h | 1 + src/mesa/drivers/dri/i965/brw_fs.cpp

[Mesa-dev] [PATCH 2/3] nir: Add NIR plumbing ARB_post_depth_coverage for i965 (gen9+).

2016-11-17 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- src/compiler/shader_info.h | 1 + src/mesa/main/shaderapi.c | 1 + 2 files changed, 2

[Mesa-dev] [PATCH 1/3] mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+).

2016-11-17 Thread Plamena Manolova
This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova --- include/GL/glext.h | 4 src/compiler/glsl/ast.h

[Mesa-dev] [PATCH] egl: Account for default values of texture target and format

2016-06-01 Thread Plamena Manolova
When validating attributes during surface creation we should account for the default values of texture target and format (EGL_NO_TEXTURE) since the user is not obligated to explicitly set both via the attribute list passed to eglCreatePbufferSurface. Signed-off-by: Plamena Manolova --- src/egl

[Mesa-dev] [PATCH] egl: Check if API is supported when using eglBindAPI.

2016-05-31 Thread Plamena Manolova
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova Reviewed-by: Brian Paul --- src/egl/main/eglapi.c

[Mesa-dev] [PATCH] egl: Additional attribute validation for eglCreatePbufferSurface

2016-05-25 Thread Plamena Manolova
the dEQP-EGL.functional.negative_api.create_pbuffer_surface test. Signed-off-by: Plamena Manolova Reviewed-by: Ben Widawsky --- src/egl/main/eglsurface.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/egl/main/eglsurface.c b/src/egl/main/eglsurface.c index 2971bb0

[Mesa-dev] [PATCH] egl: Check if API is supported when using eglBindAPI.

2016-05-24 Thread Plamena Manolova
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova --- src/egl/main/eglapi.c

[Mesa-dev] [PATCH] egl: Check if API is supported when using eglBindAPI.

2016-05-23 Thread Plamena Manolova
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova --- src/egl/main/eglapi.c

[Mesa-dev] [PATCH] egl: Check if API is supported when using eglBindAPI.

2016-05-23 Thread Plamena Manolova
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova --- src/egl/main/eglapi.c

[Mesa-dev] [PATCH] egl: Additional attribute validation for eglCreatePbufferSurface

2016-05-17 Thread Plamena Manolova
the dEQP-EGL.functional.negative_api.create_pbuffer_surface test. Signed-off-by: Plamena Manolova --- src/egl/main/eglsurface.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/egl/main/eglsurface.c b/src/egl/main/eglsurface.c index 2971bb0..d6b8083

[Mesa-dev] [PATCH 2/2] egl: Check if API is supported when using eglBindAPI.

2016-05-17 Thread Plamena Manolova
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova --- src/egl/main/eglcurrent.h | 33 ++--- 1

[Mesa-dev] [PATCH] egl: Check if API is supported when using eglBindAPI.

2016-05-13 Thread Plamena Manolova
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova --- src/egl/main/eglapi.c | 2 ++ src/egl/main/eglcurrent.h

[Mesa-dev] [PATCH] egl: Add OpenGL_ES to API string regardless of GLES version

2016-05-12 Thread Plamena Manolova
GLES should be disregarded and "OpenGL_ES" should be attached once instead of "OpenGL_ES2" and "OpenGL_ES3". Signed-off-by: Plamena Manolova --- src/egl/main/eglapi.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/egl/main/eglapi.c

[Mesa-dev] [PATCH] compiler: Check if check_explicit_uniform_locations has failed.

2016-03-19 Thread Plamena Manolova
We should check whether check_explicit_uniform_locations has failed before we pass the number of explicit uniform locations to link_assign_uniform_locations. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94549#c3 --- src/compiler/glsl/linker.cpp | 7 ++- 1 file changed, 6 insertions(

[Mesa-dev] [PATCH] mesa: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled

2016-03-15 Thread Plamena Manolova
Signed-off-by: Plamena Manolova --- src/mesa/main/enable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 3985457..b90a60b 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -105,6 +105,8 @@ client_state(struct

[Mesa-dev] [PATCH] i965: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled

2016-03-02 Thread Plamena Manolova
tps://bugs.freedesktop.org/show_bug.cgi?id=42187 Signed-off-by: Plamena Manolova --- src/mesa/main/enable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 3985457..ecc04f4 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -105,6 +10

[Mesa-dev] [PATCH] i965: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled

2016-03-01 Thread Plamena Manolova
Signed-off-by: Plamena Manolova --- src/mesa/drivers/dri/i965/brw_sf_state.c | 19 +++ src/mesa/drivers/dri/i965/gen6_sf_state.c | 23 +-- src/mesa/drivers/dri/i965/gen7_sf_state.c | 17 ++--- src/mesa/drivers/dri/i965/gen8_sf_state.c | 17

[Mesa-dev] [PATCH] compiler/glsl: Fix uniform location counting.

2016-02-17 Thread Plamena Manolova
-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-array Signed-off-by: Tapani Pälli Signed-off-by: Plamena Manolova Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93696 --- src/compiler/glsl/link_uniforms.cpp | 80 - src/compiler/glsl/linker.cpp

[Mesa-dev] [PATCH] compiler/glsl: Fix uniform location counting.

2016-02-12 Thread Plamena Manolova
-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-array Signed-off-by: Tapani Pälli Signed-off-by: Plamena Manolova Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93696 --- src/compiler/glsl/link_uniforms.cpp | 85 - src/compiler/glsl/linker.cpp

[Mesa-dev] [PATCH] compiler/glsl: Fix uniform location counting.

2016-02-11 Thread Plamena Manolova
-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-array Signed-off-by: Tapani Pälli Signed-off-by: Plamena Manolova Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93696 --- src/compiler/glsl/link_uniforms.cpp | 79 - src/compiler/glsl/linker.cpp