On 06/14/2018 12:58 AM, Eric Anholt wrote:
Tapani Pälli <tapani.pa...@intel.com> writes:

Patch sets additional formats renderable and enables the extension
when OpenGL ES 3.1 is supported.

Signed-off-by: Tapani Pälli <tapani.pa...@intel.com>
---
  src/mesa/main/extensions_table.h |  1 +
  src/mesa/main/fbobject.c         | 20 +++++++++++++++-----
  src/mesa/main/glformats.c        |  9 +++++++++
  3 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
index 79ef228b69..bc60475bea 100644
--- a/src/mesa/main/extensions_table.h
+++ b/src/mesa/main/extensions_table.h
@@ -245,6 +245,7 @@ EXT(EXT_polygon_offset_clamp                , 
ARB_polygon_offset_clamp
  EXT(EXT_primitive_bounding_box              , OES_primitive_bounding_box      
       ,  x ,  x ,  x ,  31, 2014)
  EXT(EXT_provoking_vertex                    , EXT_provoking_vertex            
       , GLL, GLC,  x ,  x , 2009)
  EXT(EXT_read_format_bgra                    , dummy_true                      
       ,  x ,  x , ES1, ES2, 2009)
+EXT(EXT_render_snorm                        , dummy_true                       
      ,  x ,  x ,  x,   31, 2014)

Since this is an extension beyond GLES 3.1, I think it shouldn't be
dummy_true -- at least V3D 3.3 should be able to do 3.1, and can't
render to snorm.


Thanks, I was not sure if all drivers can do this. Will change to be a separate flag.

// Tapani
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to