From: Marta Lofstedt <marta.lofst...@intel.com>
Enable GL_OES_geometry_shader enums for OpenGL ES 3.1.
V4: EXTRA tokens updated according to comments from Ilia Mirkin.
V5: Account for check_extra does not evaluate "or" lazy. Fix issues
with EXTRA_EXT_FB_NO_ATTACH_CS.
Sign
From: Marta Lofstedt <marta.lofst...@intel.com>
Updates the _mesa_has_geometry_shaders function to also look
for OpenGL ES 3.1 contexts that has OES_geometry_shader enabled.
Reviewed-by: Matt Turner <matts...@gmail.com>
---
src/mesa/main/context.h | 3 ++-
1 file changed, 2 inse
These patches have been previously reviewed, but after updating
according to review comments, I want to
give people some time to provide more feedback. I will push in 24 hours
unless I hear otherwise.
Marta Lofstedt (4):
glapi: add GL_OES_geometry_shader extension
mesa: enable enums
From: Marta Lofstedt <marta.lofst...@intel.com>
Add xml definitions for the GL_OES_geometry_shader extension
and expose the extension for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu>
---
From: Marta Lofstedt <marta.lofst...@intel.com>
This adds glsl support of GL_OES_geometry_shader for
OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>
---
src/glsl/builtin_v
From: Marta Lofstedt <marta.lofst...@intel.com>
Enable GL_OES_geometry_shader enums for OpenGL ES 3.1.
V4: EXTRA tokens updated according to comments from Ilia Mirkin.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
Reviewed-by: Tapani Pälli <tapani.pa...@intel.com
From: Marta Lofstedt <marta.lofst...@intel.com>
Add xml definitions for the GL_OES_geometry_shader extension
and expose the extension for OpenGL ES 3.1.
V3: Added dependency to OES_shader_io_blocks and updated to
correct Khronos extension number.
Signed-off-by: Marta Lofstedt <ma
From: Marta Lofstedt <marta.lofst...@intel.com>
Sanity check of BindVertexBuffer for OpenGL ES in
_mesa_handle_bind_buffer_gen breaks OpenGL ES 2 conformance.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93426
Signed-off-by: Marta Lofstedt <marta.lofst...@intel.com>
---
s
From: Marta Lofstedt <marta.lofst...@intel.com>
The imulExtended test of the shader bitfield tests of the
OpenGL ES 3.1 CTS, fail on gen8+, when BRW_REGISTER_TYPE_W
is used for SHADER_OPECODE_MULH.
See:
https://bugs.freedesktop.org/show_bug.cgi?id=92595
Signed-off-by: Marta Lo
From: Marta Lofstedt <marta.lofst...@intel.com>
Enable GL_OES_geometry_shader enums for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/get.c | 70 ++--
src/mesa/main/get_hash_pa
From: Marta Lofstedt <marta.lofst...@intel.com>
Updates the _mesa_has_geometry_shaders function to also look
for OpenGL ES 3.1 contexts that has OES_geometry_shader enabled.
---
src/mesa/main/context.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/con
From: Marta Lofstedt <marta.lofst...@intel.com>
Enable GL_OES_geometry_shader enums for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/get.c | 64 ++--
src/mesa/main/get_hash_pa
From: Marta Lofstedt <marta.lofst...@intel.com>
Updates the _mesa_has_geometry_shaders function to also look
for OpenGL ES 3.1 contexts that has OES_geometry_shader enabled.
---
src/mesa/main/context.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/con
From: Marta Lofstedt <marta.lofst...@intel.com>
This adds glsl support of GL_OES_geometry_shader for
OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/glsl/builtin_variables.cpp | 25 +
src/glsl/glsl_parser.yy |
if the full ARB_viewport_array
should be exposed under GLES 3.1.
I also renamed the GS4 EXTRA_EXT stuff to only GS.
I should have done that when I removed the ARB_geometry_shader4
the rest of the changes are simple rebases.
Marta Lofstedt (6):
gles2: Update gl2ext.h to revision: 32120
glapi: add
From: Marta Lofstedt <marta.lofst...@intel.com>
Updates the _mesa_has_geometry_shaders function to also look
for OpenGL ES 3.1 contexts that has OES_geometry_shader enabled.
---
src/mesa/main/context.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/con
From: Marta Lofstedt <marta.lofst...@intel.com>
This is needed to be able to implement the accepted OES
extensions.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
include/GLES2/gl2ext.h | 940 -
1 file changed, 93
From: Marta Lofstedt <marta.lofst...@intel.com>
Add xml definitions for the GL_OES_geometry_shader extension
and expose the extension for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mapi/glapi/gen/apiexec.py | 2 +-
src/ma
From: Marta Lofstedt <marta.lofst...@intel.com>
Enable GL_OES_geometry_shader enums for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/get.c | 58 +---
src/mesa/main/get_hash_pa
From: Marta Lofstedt <marta.lofst...@intel.com>
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
Reviewed-by: Eduardo Lima Mitev <el...@igalia.com>
---
docs/GL3.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/GL3.txt b/docs/GL3
From: Marta Lofstedt <marta.lofst...@intel.com>
This adds glsl support of GL_OES_geometry_shader for
OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/glsl/builtin_variables.cpp | 17 +
src/glsl/glsl_parser.yy | 4 ++
From: Marta Lofstedt <marta.lofst...@intel.com>
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.
Signed-off-by: Marta Lofstedt <ma
From: Marta Lofstedt <marta.lofst...@intel.com>
Since all drivers support OpenGL 3.2 geometry shaders,
there is no reason to keep the ARB_geometry_shader4.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mapi/glapi/gen/ARB_geometry_shad
From: Marta Lofstedt <marta.lofst...@intel.com>
In OpenGL 4.4, section 4.5, the requirement for interpolation
qualifiers to match over shader stages was removed.
In OpenGL ES 3.1, section 9.2.1 there is a table showing that
centroid does not have to match between shader stages.
Also s
From: Marta Lofstedt <marta.lofst...@intel.com>
From the ARB_compute_shader specification:
"An INVALID_OPERATION error is generated [...] if is
less than zero or not a multiple of the size, in basic machine
units, of uint."
However, OpenGL ES 3.1 specification, section 1
From: Marta Lofstedt <marta.lofst...@intel.com>
From OpenGL ES 3.1 specification, section 10.5:
"DrawArraysIndirect requires that all data sourced for the
command, including the DrawArraysIndirectCommand
structure, be in buffer objects, and may not be called when
the default vertex a
From: Marta Lofstedt <marta.lofst...@intel.com>
From OpenGL 4.4 specification, section 10.4 and
Open GL Es 3.1 section 10.5:
"An INVALID_VALUE error is generated if indirect is not a multiple
of the size, in basic machine units, of uint."
However, the current code follow the A
From: Marta Lofstedt <marta.lofst...@intel.com>
OpenGL ES 3.1 specification, section 10.5:
"An INVALID_OPERATION error is generated if
transform feedback is active and not paused."
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/api_validat
This patchset fixes 7 API related tests of the OpenGL ES 3.1 CTS.
I would consider squashing these into one patch, but to avoid
confusion when we discuss my solution I preferr to keep the discussions
separated for each patch for now.
Marta Lofstedt (4):
mesa: Draw indirect is not allowed
From: Marta Lofstedt <marta.lofst...@intel.com>
From OpenGL ES 3.1 specification, section 10.5:
"DrawArraysIndirect requires that all data sourced for the
command, including the DrawArraysIndirectCommand
structure, be in buffer objects, and may not be called when
the default vertex a
From: Marta Lofstedt <marta.lofst...@intel.com>
OpenGL ES 3.1 spec. section 10.5:
"An INVALID_OPERATION error is generated if zero is bound
to VERTEX_ARRAY_BINDING, DRAW_INDIRECT_BUFFER or to
any enabled vertex array."
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel
From: Marta Lofstedt <marta.lofst...@intel.com>
From OpenGL 4.4 specification, section 10.4 and
Open GL Es 3.1 section 10.5:
"An INVALID_VALUE error is generated if indirect is not a multiple
of the size, in basic machine units, of uint."
However, the current code follow the A
From: Marta Lofstedt <marta.lofst...@intel.com>
OpenGL ES 3.1 specification, section 10.5:
"An INVALID_OPERATION error is generated if
transform feedback is active and not paused."
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/api_valid
From: Marta Lofstedt <marta.lofst...@intel.com>
The split of Uniform blocks and shader storage block only loops
up to MESA_SHADER_FRAGMENT and igonres compute shaders.
This cause segfault when running the OpenGL ES 3.1 CTS tests
with GL_ARB_compute_shader enabled.
V2: Changed
From: Marta Lofstedt <marta.lofst...@intel.com>
The split of Uniform blocks and shader storage block only loops
up to MESA_SHADER_FRAGMENT and igonres compute shaders.
This cause segfault when running the OpenGL ES 3.1 CTS tests
with GL_ARB_compute_shader enabled.
Signed-off-by: Marta Lo
From: Marta Lofstedt <marta.lofst...@intel.com>
Exposes the GL_OES_geometry_shader extension for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/extensions.c | 1 +
src/mesa/main/mtypes.h | 1 +
src/mes
From: Marta Lofstedt <marta.lofst...@intel.com>
This is needed to be able to implement the accepted OES
extensions.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
include/GLES2/gl2ext.h | 921 -
1 file changed, 91
From: Marta Lofstedt <marta.lofst...@intel.com>
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
docs/GL3.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 92941cf..e1c6049 100644
--- a/docs/GL3.txt
+++ b/
From: Marta Lofstedt <marta.lofst...@intel.com>
This adds glsl support of GL_OES_geometry_shader for
OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/glsl/builtin_variables.cpp | 16 +---
src/glsl/glsl_parser.yy | 4 ++
From: Marta Lofstedt <marta.lofst...@intel.com>
Adds xml definitions for the GL_OES_geometry_shader extension
and exposes the glFrameBufferTexture function as an alias of
glFramebufferTextureOES.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mapi/glapi/ge
From: Marta Lofstedt <marta.lofst...@intel.com>
Updates the _mesa_has_geometry_shaders function to also look
for OpenGL ES 3.1 contexts that has OES_geometry_shader enabled.
---
src/mesa/main/context.h | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mes
From: Marta Lofstedt <marta.lofst...@intel.com>
Enable GL_OES_geometry_shader enums for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com>
---
src/mesa/main/get.c | 18 +++
src/mesa/main/get_hash_pa
GL_OES_geometry_shader as started
Just added my name to this.
Marta Lofstedt (7):
gles2: Update gl2ext.h to revision: 31902
glapi: add GL_OES_geometry_shader extension
mesa: Add extension enable for GL_OES_geometry_shader
glsl: add support for GL_OES_geometry_shader
mesa: enable enums
From: Marta Lofstedt <marta.lofst...@intel.com>
According to OpenGL ES 3.1 specification table : 20.2 and
OpenGL specification 4.4 table 23.4. The glGetIntegeri_v
functions should report the name of the buffer bound
when called with GL_VERTEX_BINDING_BUFFER.
Signed-off-by: Marta Lo
From: Marta Lofstedt <marta.lofst...@intel.com>
According to OpenGL ES 3.1 specification table : 20.2 and
OpenGL specification 4.4 table 23.4. The glGetIntegeri_v
functions should report the name of the buffer bound
when called with GL_VERTEX_BINDING_BUFFER.
Signed-off-by: Marta Lo
From: Marta Lofstedt marta.lofst...@intel.com
Zero sized uniforms can exist in the list, but they
don't get get any space allocated in
prog_data-params or in the param_size array, so
the size should not be set for them.
This was previously fixed in:
commit
From: Marta Lofstedt marta.lofst...@intel.com
V2: Conform to new standard for exposing enums for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml | 4 ++--
src/mapi/glapi/gen/apiexec.py | 4
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL ES 3.1 specification,
section 9.2.1 for glFramebufferParameter
and section 9.2.3 for glGetFramebufferParameteriv:
An INVALID_ENUM error is generated if pname is not
FRAMEBUFFER_DEFAULT_WIDTH, FRAMEBUFFER_DEFAULT_HEIGHT
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml | 4 ++--
src/mapi/glapi/gen/apiexec.py | 4 ++--
src/mesa/main/get.c | 6
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mapi/glapi/gen/ARB_framebuffer_no_attachments.xml | 4 ++--
src/mapi/glapi/gen/apiexec.py | 4 ++--
src/mesa/main/get.c | 6
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL ES 3.1 specification,
section 9.2.1 for glFramebufferParameter
and section 9.2.3 for glGetFramebufferParameteriv:
An INVALID_ENUM error is generated if pname is not
FRAMEBUFFER_DEFAULT_WIDTH, FRAMEBUFFER_DEFAULT_HEIGHT
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL ES specification section 7.12,
GL_COMPUTE_WORK_GROUP_SIZE, is supported by the
glGetProgramiv function.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/shaderapi.c | 2 +-
1 file changed, 1 insertion
From: Marta Lofstedt marta.lofst...@intel.com
According to the OpenGL ES 3.1 specification chapter 17, the
MAX_COMPUTE_WORK_GROUP_COUNT and MAX_COMPUTE_WORK_GROUP_SIZE
is available for glGetIntegeri_v.
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/mesa/main/get.c | 4
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL ES 3.1 specification table : 20.2 and
OpenGL specification 4.4 table 23.4. The glGetIntegeri_v
functions should report the name of the buffer bound
when called with GL_VERTEX_BINDING_BUFFER.
Signed-off-by: Marta Lofstedt
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL ES 3.1 specification 10.3.1:
An INVALID_OPERATION error is generated if buffer is not zero
or a name returned from a previous call to GenBuffers,
or if such a name has since been deleted with DeleteBuffers.
This error check
These patches enable some Vertex Binding functionality for OpenGL ES 3.1,
that is currently limited to desktop GL.
Marta Lofstedt (3):
mesa/es3.1 : Align OpenGL ES 3.1 glBindVertexBuffer error handling
with OpenGL Core
mesa/es3.1: Allow query of Vertex bindings for GLES 3.1
mesa/es3.1
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index ae2d0b7..b6b7d6c 100644
--- a/src/mesa/main
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/varray.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 3bab985..3ddf795 100644
From: Marta Lofstedt marta.lofst...@intel.com
The function glMemoryBarrierByRegion is part of
OpenGL ES 3.1 and OpenGL 4.5 core and compatibility
profiles.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mapi/glapi/gen/GL4x.xml | 6 +
src/mesa/main/shaderimage.c
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL specification version 4.5 table 23.46
and OpenGL ES specification version 3.1 table 20.31:
ATOMIC_COUNTER_BUFFER_START and ATOMIC_COUNTER_BUFFER_SIZE
should have the initial value of zero.
Signed-off-by: Marta Lofstedt marta.lofst
From: Marta Lofstedt marta.lofst...@intel.com
According to OpenGL version 4.5 and OpenGL ES 3.1 standards,
section 7.3:
GL_INVALID_VALUE should be generated, if count is less than 0.
V2: Changed title, eased Open GL ES 3.1 restriction
and added comments.
---
src/mesa/main/shaderapi.c | 9
From: Marta Lofstedt marta.lofst...@intel.com
According to Open GL ES 3.1 specification, section 8.10.2.
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE should be supported by
glGetTexParameterfv.
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/mesa/main/texparam.c | 6 ++
1 file
From: Marta Lofstedt marta.lofst...@intel.com
GL_ARB_compute_shader is limited for GLSL version 430.
This enables for GLSL ES version 310.
V2: Updated error string to also include GLSL 3.10
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/glsl/glsl_parser.yy | 5
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/mesa/main/get_hash_params.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
This provides an i965 implementation of the
OpenGL ES 3.1 needed function, glMemoryBarrierByRegion.
Marta Lofstedt (4):
gles/es3.1: Enable dispatch of glMemoryBarrierByRegion
mesa/es3.1: Add driver interface for glMemoryBarrierByRegion
mesa/es3.1: Implement the entry point
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mapi/glapi/gen/gl_API.xml | 4
src/mesa/main/shaderimage.c | 40 +
src/mesa/main/shaderimage.h | 3 +++
src/mesa
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/shaderimage.c | 9 +
src/mesa/main/shaderimage.h | 3 +++
2 files changed, 12 insertions(+)
diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c
index
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/drivers/dri/i965/brw_program.c | 34 +
1 file changed, 34 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri
This provides an i965 implementation of the
OpenGL ES 3.1 needed function, glMemoryBarrierByRegion.
Marta Lofstedt (4):
gles/es3.1: Enable dispatch of glMemoryBarrierByRegion
mesa/es3.1: Add driver interface for glMemoryBarrierByRegion
mesa/es3.1: Implement the entry point
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/dd.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 87eb63e..4b41141 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mapi/glapi/gen/gl_API.xml | 4
src/mesa/main/tests/dispatch_sanity.cpp | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 6 --
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 14 --
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/get.c b/src
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 17 +++--
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/get.c b
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 20 ++--
2 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/src/mesa/main/get.c
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 18 +-
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/get.c b
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 17 +++--
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/get.c b
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 20 +++-
2 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/get.c b
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/mesa/main/get.c | 5 -
src/mesa/main/get_hash_generator.py | 12
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/mesa/main
This is V5 of my patch-set for enabling extension enums for
OpenGL ES 3.1.
This update address comments from Ilia Mirkin and adds a new
GLES31 label.
I have my current GLES 3.1 work on github:
https://github.com/MartaLo/mesa
For theese patches see the gles31_resent_patches, branch
Marta
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 10 +-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
From: Marta Lofstedt marta.lofst...@intel.com
When a program is compiled, but linking failed the
sh-InfoLog could be NULL. This is exploited
by OpenGL ES 3.1 conformance tests.
V3: Chnaged title.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/shaderapi.c | 3 ++-
1
From: Marta Lofstedt marta.lofst...@intel.com
When a program is compiled, but linking failed the
sh-InfoLog could be NULL. This is expoloited
by OpenGL ES 3.1 conformance tests.
V2: ralloc_strdup shProg-InfoLog
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main
From: Marta Lofstedt marta.lofst...@intel.com
v4 : only expose GL_ARB_compute_shader enums for
gles 3.1 and desktop GL.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 20 ++--
2 files
From: Marta Lofstedt marta.lofst...@intel.com
v4 : only expose ARB_shader_atomic_counters enums
for gles 3.1 and desktop GL.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 20 +++-
2
From: Marta Lofstedt marta.lofst...@intel.com
v4 : only expose GL_ARB_texture_multisample enums
for gles 3.1 and desktop GL.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 18 +-
2 files
From: Marta Lofstedt marta.lofst...@intel.com
v4: only expose enums from GL_ARB_shader_image_load_store
for gles 3.1 and desktop GL.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 14 --
2
This are for the V4s.
Marta Lofstedt (6):
mesa/es3.1: enable GL_ARB_shader_image_load_store for gles3.1
mesa/es3.1: enable GL_ARB_shader_atomic_counters for GLES 3.1
mesa/es3.1: enable GL_ARB_texture_multisample for GLES 3.1
mesa/es3.1: enable GL_ARB_texture_gather for GLES 3.1
mesa
From: Marta Lofstedt marta.lofst...@intel.com
v4 : only expose GL_ARB_explicit_uniform_location enums
for gles 3.1 and desktop GL.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 4 +++-
2 files changed
From: Marta Lofstedt marta.lofst...@intel.com
v4 : only expose GL_ARB_texture_gather enums for
gles 3.1 and desktop GL.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 10 +-
2 files changed, 11
From: Marta Lofstedt marta.lofst...@intel.com
According to the OpenGL ES standard, 7.3.
For a call to glCreateShaderProgram with count 0,
a GL_INVALID_VALUE error should be generated.
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/mesa/main/shaderapi.c | 9 +
1
From: Marta Lofstedt marta.lofst...@intel.com
According to GLES 3.1 CTS test:
ES31-CTS.texture_storage_multisample.
APIGLGetTexLevelParameterifv.
invalid_texture_target_rejected:
GL_INVALID_ENUM should be generated when
glGetTexLevelParameteriv is called with a defect
texture target.
Signed-off
From: Marta Lofstedt marta.lofst...@intel.com
According to GLES 3.1 CTS test:
ES31-CTS.texture_storage_multisample.
APIGLTexStorage2DMultisample.
multisample_texture_tex_storage_2d_non_color_depth_or_stencil_
internal_formats_receted.
An illegal internal format should generate a
GL_INVALID_ENUM
From: Marta Lofstedt marta.lofst...@intel.com
According to GLES 3.1 CTS test:
ES31-CTS.texture_storage_multisample.
APIGLTexStorage2DMultisample.
multisample_texture_tex_storage_2d_zero_sample-
A call to glTexStorageMultisample with target
GL_TEXTURE_2D_MULTISAMPLE and zero samples,
should
From: Marta Lofstedt marta.lofst...@intel.com
According to GLES 3.1 CTS test:
ES31-CTS.texture_storage_multisample.
APIGLTexStorage2DMultisample.
multisample_texture_tex_storage_2d_
invalid_and_border_case_texture_sizes.
Textures of size 0x0 are not allowed for
GL_TEXTURE_2D_MULTISAMPLE.
Signed
This is a series of patches that solves a couple of
API check and corner cases issues that the OpenGL ES 3.1
CTS exploits.
Marta Lofstedt (6):
mesa/es3.1: Do not allow zero size multisampled textures
mesa/es3.1: Correct error code for illegal internal formats
mesa/es3.1 : Correct error code
From: Marta Lofstedt marta.lofst...@intel.com
According to the OpenGL ES standard, 7.3.
For a call to glCreateShaderProgram with count 0,
a GL_INVALID_VALUE error should be generated.
Signed-off-by: Marta Lofstedt marta.lofst...@linux.intel.com
---
src/mesa/main/shaderapi.c | 9 +
1
From: Marta Lofstedt marta.lofst...@intel.com
Accoring to GLES 3.1 CTS:
GLES 3.1 CTS: ES31-CTS.shader_atomic_counters.
basic-buffer-bind.
AtomicBufferBindings size and start should be initialized
to zero.
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/mesa/main/bufferobj.c | 11
From: Marta Lofstedt marta.lofst...@intel.com
Signed-off-by: Marta Lofstedt marta.lofst...@intel.com
---
src/glsl/builtin_functions.cpp | 3 +--
src/glsl/builtin_types.cpp | 2 +-
src/glsl/glsl_lexer.ll | 13 +++--
src/glsl/glsl_parser_extras.h | 5 +
4 files changed
1 - 100 of 142 matches
Mail list logo