[Mesa-dev] [PATCH 2/2] llvmpipe: enable PIPE_CAP_TGSI_VS_LAYER_VIEWPORT

2014-11-18 Thread sroland
From: Roland Scheidegger srol...@vmware.com

No changes required in the driver itself, all handled by draw.

piglit results in a quick run:
skip-pass 7
skip-fail 2
(The new failures in the ARB_fragment_layer_viewport group are expected,
we fail the same if gs doesn't write these outputs regardless of the vs.)
---
 src/gallium/drivers/llvmpipe/lp_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c 
b/src/gallium/drivers/llvmpipe/lp_screen.c
index cec0fcb..e10e83e 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -245,6 +245,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum 
pipe_cap param)
case PIPE_CAP_ENDIANNESS:
   return PIPE_ENDIAN_NATIVE;
case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
+  return 1;
case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
case PIPE_CAP_TEXTURE_GATHER_SM5:
case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
-- 
1.9.1

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


Re: [Mesa-dev] [PATCH 2/2] llvmpipe: enable PIPE_CAP_TGSI_VS_LAYER_VIEWPORT

2014-11-18 Thread Jose Fonseca

Series LGTM.

Jose

On 18/11/14 22:05, srol...@vmware.com wrote:

From: Roland Scheidegger srol...@vmware.com

No changes required in the driver itself, all handled by draw.

piglit results in a quick run:
skip-pass 7
skip-fail 2
(The new failures in the ARB_fragment_layer_viewport group are expected,
we fail the same if gs doesn't write these outputs regardless of the vs.)
---
  src/gallium/drivers/llvmpipe/lp_screen.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c 
b/src/gallium/drivers/llvmpipe/lp_screen.c
index cec0fcb..e10e83e 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -245,6 +245,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum 
pipe_cap param)
 case PIPE_CAP_ENDIANNESS:
return PIPE_ENDIAN_NATIVE;
 case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
+  return 1;
 case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
 case PIPE_CAP_TEXTURE_GATHER_SM5:
 case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:



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