diff options
author | Roland Scheidegger <[email protected]> | 2014-11-18 23:04:36 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-11-19 18:35:30 +0100 |
commit | 763fc526c73bb7e3c7e2733106ad259f7dbd45f4 (patch) | |
tree | 995841c08151ecf3b1dee3b37ee246eb4ed422dc /src/gallium/drivers/llvmpipe/lp_screen.c | |
parent | 4b6d6642d2c64ce67d65ead480fb99104a7e2d3a (diff) |
llvmpipe: enable PIPE_CAP_TGSI_VS_LAYER_VIEWPORT
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.)
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index cec0fcbf23b..e10e83ebb1d 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: |