[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2019-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

Andre Klapper  changed:

   What|Removed |Added

 Blocks|110097  |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2019-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

Sayyar Hassan  changed:

   What|Removed |Added

 Blocks||110097


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=110097
[Bug 110097] double Everything's Quality, Please! (Fix all the dEQP bugs!)
-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2017-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

Tapani Pälli  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #5 from Tapani Pälli  ---
commit 5bc222ebafddd14f2329f5096287b51d798a6431
Author: Jose Maria Casanova Crespo 
Date:   Fri Feb 10 14:25:27 2017 +0100

glsl: non-last member unsized array on SSBO must fail compilation on GLSL
ES 3.1

From GLSL ES 3.10 spec, section 4.1.9 "Arrays":

"If an array is declared as the last member of a shader storage block
 and the size is not specified at compile-time, it is sized at run-time.
 In all other cases, arrays are sized only at compile-time."

In desktop GLSL it is allowed to have unsized-arrays that are
not last, as long as we can determine that they are implicitly
sized, which is detected at link-time.

With this patch Mesa reports a compilation error as glslang does with
the following shader:

buffer SSBO { vec4 data[]; vec4 moreData;};
void main (void)
{
}

Fixes:
   
dEQP-GLES31.functional.debug.negative_coverage.log.shader.compile_compute_shader
   
dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader.compile_compute_shader
   
dEQP-GLES31.functional.debug.negative_coverage.get_error.shader.compile_compute_shader

Cc: "17.0" 
Signed-off-by: Jose Maria Casanova Crespo 
Reviewed-by: Kenneth Graunke 

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

--- Comment #4 from Iago Toral  ---
(In reply to Iago Toral from comment #3)
> (In reply to Iago Toral from comment #2)
> > I have sent a couple of patches for review that fix these tests:
> > 
> > https://lists.freedesktop.org/archives/mesa-dev/2016-October/131942.html
> 
> This patch has been reviewed and merged. It fixes the problem with the GLSL
> version.
> 
> > https://lists.freedesktop.org/archives/mesa-dev/2016-October/131943.html
> 
> This second patch addressed a different subcase of the same tests, related
> to unsized arrays in SSBOs.
> 
> The original patch I sent for this subcase fixed the tests but it had some
> issues that I describe in my reply to it in the mailing list. I have sent a
> new version of the patch that should be correct:
> 
> https://lists.freedesktop.org/archives/mesa-dev/2016-October/132359.html
> 
> But this patch won't fix the dEQP tests, because for the reasons I explain
> in the patch, I think this dEQP subcase is bogus.

This second patch is now in master. As mentioned, the dEQP tests still fail,
but I think they fail for wrong reasons, so I think we might want to resolve
this as INVALID now.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

--- Comment #3 from Iago Toral  ---
(In reply to Iago Toral from comment #2)
> I have sent a couple of patches for review that fix these tests:
> 
> https://lists.freedesktop.org/archives/mesa-dev/2016-October/131942.html

This patch has been reviewed and merged. It fixes the problem with the GLSL
version.

> https://lists.freedesktop.org/archives/mesa-dev/2016-October/131943.html

This second patch addressed a different subcase of the same tests, related to
unsized arrays in SSBOs.

The original patch I sent for this subcase fixed the tests but it had some
issues that I describe in my reply to it in the mailing list. I have sent a new
version of the patch that should be correct:

https://lists.freedesktop.org/archives/mesa-dev/2016-October/132359.html

But this patch won't fix the dEQP tests, because for the reasons I explain in
the patch, I think this dEQP subcase is bogus.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

Iago Toral  changed:

   What|Removed |Added

 CC||ito...@igalia.com

--- Comment #2 from Iago Toral  ---
I have sent a couple of patches for review that fix these tests:

https://lists.freedesktop.org/archives/mesa-dev/2016-October/131942.html
https://lists.freedesktop.org/archives/mesa-dev/2016-October/131943.html

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

Tapani Pälli  changed:

   What|Removed |Added

 CC||randy...@intel.com

--- Comment #1 from Tapani Pälli  ---
*** Bug 98241 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132

Bug ID: 98132
   Summary: #version 300 es compute shaders should not be possible
   Product: Mesa
   Version: git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: glsl-compiler
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: kenn...@whitecape.org
QA Contact: intel-3d-b...@lists.freedesktop.org
Blocks: 94448

dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader.compile_compute_shader
dEQP-GLES31.functional.debug.negative_coverage.get_error.shader.compile_compute_shader
dEQP-GLES31.functional.debug.negative_coverage.log.shader.compile_compute_shader

expect #version 300 es compute shaders to fail to compile.  presumably compute
shaders only work with #version 310 es.


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=94448
[Bug 94448] double Everything's Quality, Please! (Fix all the dEQP bugs!)
-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev