Re: [Mesa-dev] [PATCH 4/4] radeonsi: enable GL4.1 and update documentation (v2)

2015-07-29 Thread Marek Olšák
Reviewed-by: Marek Olšák marek.ol...@amd.com

Marek

On Wed, Jul 29, 2015 at 1:20 AM, Dave Airlie airl...@gmail.com wrote:
 From: Dave Airlie airl...@redhat.com

 This enables GL4.1 for radeonsi, and updates the
 docs in the correct places.

 v2: enable only for llvm 3.7 which has fixes in place.

 Reviewed-by: Marek Olšák marek.ol...@amd.com
 Signed-off-by: Dave Airlie airl...@redhat.com
 ---
  docs/GL3.txt   | 16 
  docs/relnotes/10.7.0.html  |  1 +
  src/gallium/drivers/radeonsi/si_pipe.c |  2 +-
  3 files changed, 10 insertions(+), 9 deletions(-)

 diff --git a/docs/GL3.txt b/docs/GL3.txt
 index d438403..59f0b2e 100644
 --- a/docs/GL3.txt
 +++ b/docs/GL3.txt
 @@ -96,18 +96,18 @@ GL 4.0, GLSL 4.00:

GL_ARB_draw_buffers_blendDONE (i965, nv50, 
 nvc0, r600, radeonsi, llvmpipe, softpipe)
GL_ARB_draw_indirect DONE (i965, nvc0, 
 r600, radeonsi, llvmpipe, softpipe)
 -  GL_ARB_gpu_shader5   DONE (i965, nvc0)
 +  GL_ARB_gpu_shader5   DONE (i965, nvc0, 
 radeonsi)
- 'precise' qualifierDONE
 -  - Dynamically uniform sampler array indices  DONE (r600, radeonsi, 
 softpipe)
 -  - Dynamically uniform UBO array indices  DONE (r600, radeonsi)
 +  - Dynamically uniform sampler array indices  DONE (r600, softpipe)
 +  - Dynamically uniform UBO array indices  DONE (r600)
- Implicit signed - unsigned conversionsDONE
- Fused multiply-add DONE ()
 -  - Packing/bitfield/conversion functions  DONE (r600, radeonsi, 
 softpipe)
 -  - Enhanced textureGather DONE (r600, radeonsi, 
 softpipe)
 -  - Geometry shader instancing DONE (r600, radeonsi, 
 llvmpipe, softpipe)
 +  - Packing/bitfield/conversion functions  DONE (r600, softpipe)
 +  - Enhanced textureGather DONE (r600, softpipe)
 +  - Geometry shader instancing DONE (r600, llvmpipe, 
 softpipe)
- Geometry shader multiple streams   DONE ()
 -  - Enhanced per-sample shadingDONE (r600, radeonsi)
 -  - Interpolation functionsDONE (r600, radeonsi)
 +  - Enhanced per-sample shadingDONE (r600)
 +  - Interpolation functionsDONE (r600)
- New overload resolution rules  DONE
GL_ARB_gpu_shader_fp64   DONE (nvc0, radeonsi, 
 llvmpipe, softpipe)
GL_ARB_sample_shadingDONE (i965, nv50, 
 nvc0, r600, radeonsi)
 diff --git a/docs/relnotes/10.7.0.html b/docs/relnotes/10.7.0.html
 index 2df18c0..92ae20f 100644
 --- a/docs/relnotes/10.7.0.html
 +++ b/docs/relnotes/10.7.0.html
 @@ -50,6 +50,7 @@ Note: some of the new features are only available with 
 certain drivers.
  liGL_ARB_fragment_layer_viewport on radeonsi/li
  liGL_ARB_framebuffer_no_attachments on i965/li
  liGL_ARB_get_texture_sub_image for all drivers/li
 +liGL_ARB_gpu_shader5 on radeonsi/li
  liGL_ARB_gpu_shader_fp64 on llvmpipe, radeonsi/li
  liGL_ARB_shader_stencil_export on llvmpipe/li
  liGL_ARB_shader_subroutine on core profile all drivers/li
 diff --git a/src/gallium/drivers/radeonsi/si_pipe.c 
 b/src/gallium/drivers/radeonsi/si_pipe.c
 index a120282..82a6033 100644
 --- a/src/gallium/drivers/radeonsi/si_pipe.c
 +++ b/src/gallium/drivers/radeonsi/si_pipe.c
 @@ -272,7 +272,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum 
 pipe_cap param)
 return 4;

 case PIPE_CAP_GLSL_FEATURE_LEVEL:
 -   return 330;
 +   return HAVE_LLVM = 0x0307 ? 410 : 330;

 case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
 return MIN2(sscreen-b.info.vram_size, 0x);
 --
 2.4.3

 ___
 mesa-dev mailing list
 mesa-dev@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 4/4] radeonsi: enable GL4.1 and update documentation (v2)

2015-07-28 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com

This enables GL4.1 for radeonsi, and updates the
docs in the correct places.

v2: enable only for llvm 3.7 which has fixes in place.

Reviewed-by: Marek Olšák marek.ol...@amd.com
Signed-off-by: Dave Airlie airl...@redhat.com
---
 docs/GL3.txt   | 16 
 docs/relnotes/10.7.0.html  |  1 +
 src/gallium/drivers/radeonsi/si_pipe.c |  2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index d438403..59f0b2e 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -96,18 +96,18 @@ GL 4.0, GLSL 4.00:
 
   GL_ARB_draw_buffers_blendDONE (i965, nv50, nvc0, 
r600, radeonsi, llvmpipe, softpipe)
   GL_ARB_draw_indirect DONE (i965, nvc0, r600, 
radeonsi, llvmpipe, softpipe)
-  GL_ARB_gpu_shader5   DONE (i965, nvc0)
+  GL_ARB_gpu_shader5   DONE (i965, nvc0, 
radeonsi)
   - 'precise' qualifierDONE
-  - Dynamically uniform sampler array indices  DONE (r600, radeonsi, 
softpipe)
-  - Dynamically uniform UBO array indices  DONE (r600, radeonsi)
+  - Dynamically uniform sampler array indices  DONE (r600, softpipe)
+  - Dynamically uniform UBO array indices  DONE (r600)
   - Implicit signed - unsigned conversionsDONE
   - Fused multiply-add DONE ()
-  - Packing/bitfield/conversion functions  DONE (r600, radeonsi, 
softpipe)
-  - Enhanced textureGather DONE (r600, radeonsi, 
softpipe)
-  - Geometry shader instancing DONE (r600, radeonsi, 
llvmpipe, softpipe)
+  - Packing/bitfield/conversion functions  DONE (r600, softpipe)
+  - Enhanced textureGather DONE (r600, softpipe)
+  - Geometry shader instancing DONE (r600, llvmpipe, 
softpipe)
   - Geometry shader multiple streams   DONE ()
-  - Enhanced per-sample shadingDONE (r600, radeonsi)
-  - Interpolation functionsDONE (r600, radeonsi)
+  - Enhanced per-sample shadingDONE (r600)
+  - Interpolation functionsDONE (r600)
   - New overload resolution rules  DONE
   GL_ARB_gpu_shader_fp64   DONE (nvc0, radeonsi, 
llvmpipe, softpipe)
   GL_ARB_sample_shadingDONE (i965, nv50, nvc0, 
r600, radeonsi)
diff --git a/docs/relnotes/10.7.0.html b/docs/relnotes/10.7.0.html
index 2df18c0..92ae20f 100644
--- a/docs/relnotes/10.7.0.html
+++ b/docs/relnotes/10.7.0.html
@@ -50,6 +50,7 @@ Note: some of the new features are only available with 
certain drivers.
 liGL_ARB_fragment_layer_viewport on radeonsi/li
 liGL_ARB_framebuffer_no_attachments on i965/li
 liGL_ARB_get_texture_sub_image for all drivers/li
+liGL_ARB_gpu_shader5 on radeonsi/li
 liGL_ARB_gpu_shader_fp64 on llvmpipe, radeonsi/li
 liGL_ARB_shader_stencil_export on llvmpipe/li
 liGL_ARB_shader_subroutine on core profile all drivers/li
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c 
b/src/gallium/drivers/radeonsi/si_pipe.c
index a120282..82a6033 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -272,7 +272,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum 
pipe_cap param)
return 4;
 
case PIPE_CAP_GLSL_FEATURE_LEVEL:
-   return 330;
+   return HAVE_LLVM = 0x0307 ? 410 : 330;
 
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return MIN2(sscreen-b.info.vram_size, 0x);
-- 
2.4.3

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 4/4] radeonsi: enable GL4.1 and update documentation (v2)

2015-07-28 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com

This enables GL4.1 for radeonsi, and updates the
docs in the correct places.

v2: enable only for llvm 3.7 which has fixes in place.

Reviewed-by: Marek Olšák marek.ol...@amd.com
Signed-off-by: Dave Airlie airl...@redhat.com
---
 docs/GL3.txt   | 16 
 docs/relnotes/10.7.0.html  |  1 +
 src/gallium/drivers/radeonsi/si_pipe.c |  2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index d438403..59f0b2e 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -96,18 +96,18 @@ GL 4.0, GLSL 4.00:
 
   GL_ARB_draw_buffers_blendDONE (i965, nv50, nvc0, 
r600, radeonsi, llvmpipe, softpipe)
   GL_ARB_draw_indirect DONE (i965, nvc0, r600, 
radeonsi, llvmpipe, softpipe)
-  GL_ARB_gpu_shader5   DONE (i965, nvc0)
+  GL_ARB_gpu_shader5   DONE (i965, nvc0, 
radeonsi)
   - 'precise' qualifierDONE
-  - Dynamically uniform sampler array indices  DONE (r600, radeonsi, 
softpipe)
-  - Dynamically uniform UBO array indices  DONE (r600, radeonsi)
+  - Dynamically uniform sampler array indices  DONE (r600, softpipe)
+  - Dynamically uniform UBO array indices  DONE (r600)
   - Implicit signed - unsigned conversionsDONE
   - Fused multiply-add DONE ()
-  - Packing/bitfield/conversion functions  DONE (r600, radeonsi, 
softpipe)
-  - Enhanced textureGather DONE (r600, radeonsi, 
softpipe)
-  - Geometry shader instancing DONE (r600, radeonsi, 
llvmpipe, softpipe)
+  - Packing/bitfield/conversion functions  DONE (r600, softpipe)
+  - Enhanced textureGather DONE (r600, softpipe)
+  - Geometry shader instancing DONE (r600, llvmpipe, 
softpipe)
   - Geometry shader multiple streams   DONE ()
-  - Enhanced per-sample shadingDONE (r600, radeonsi)
-  - Interpolation functionsDONE (r600, radeonsi)
+  - Enhanced per-sample shadingDONE (r600)
+  - Interpolation functionsDONE (r600)
   - New overload resolution rules  DONE
   GL_ARB_gpu_shader_fp64   DONE (nvc0, radeonsi, 
llvmpipe, softpipe)
   GL_ARB_sample_shadingDONE (i965, nv50, nvc0, 
r600, radeonsi)
diff --git a/docs/relnotes/10.7.0.html b/docs/relnotes/10.7.0.html
index 2df18c0..92ae20f 100644
--- a/docs/relnotes/10.7.0.html
+++ b/docs/relnotes/10.7.0.html
@@ -50,6 +50,7 @@ Note: some of the new features are only available with 
certain drivers.
 liGL_ARB_fragment_layer_viewport on radeonsi/li
 liGL_ARB_framebuffer_no_attachments on i965/li
 liGL_ARB_get_texture_sub_image for all drivers/li
+liGL_ARB_gpu_shader5 on radeonsi/li
 liGL_ARB_gpu_shader_fp64 on llvmpipe, radeonsi/li
 liGL_ARB_shader_stencil_export on llvmpipe/li
 liGL_ARB_shader_subroutine on core profile all drivers/li
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c 
b/src/gallium/drivers/radeonsi/si_pipe.c
index a120282..82a6033 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -272,7 +272,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum 
pipe_cap param)
return 4;
 
case PIPE_CAP_GLSL_FEATURE_LEVEL:
-   return 330;
+   return HAVE_LLVM = 0x0307 ? 410 : 330;
 
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return MIN2(sscreen-b.info.vram_size, 0x);
-- 
2.4.3

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev