diff options
author | Christian Gmeiner <[email protected]> | 2017-06-21 22:36:47 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-06-26 19:56:59 +0200 |
commit | 3bbf8dcfe492560fc03145bc637f424092fd7e03 (patch) | |
tree | dbb2dfdeb692c98767f0e5782e1ab25d26bc3604 /src/gallium/drivers/etnaviv | |
parent | 751ae6afbefd6e0b3cbf9323995465d5a078c9fb (diff) |
etnaviv: add R8G8 texture support
Passes texwrap GL_ARB_texture_rg piglit (with faked full texture rg support).
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_format.c b/src/gallium/drivers/etnaviv/etnaviv_format.c index ee50b529622..354dc2026ca 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_format.c +++ b/src/gallium/drivers/etnaviv/etnaviv_format.c @@ -120,7 +120,7 @@ static struct etna_format formats[PIPE_FORMAT_COUNT] = { _T(B5G5R5A1_UNORM, A1R5G5B5, SWIZ(X, Y, Z, W), A1R5G5B5), _T(B5G5R5X1_UNORM, X1R5G5B5, SWIZ(X, Y, Z, W), X1R5G5B5), - V_(R8G8_UNORM, UNSIGNED_BYTE, NONE), + VT(R8G8_UNORM, UNSIGNED_BYTE, EXT_G8R8 | EXT_FORMAT, SWIZ(X, Y, 0, 1), NONE), V_(R8G8_SNORM, BYTE, NONE), V_(R8G8_UINT, UNSIGNED_BYTE, NONE), V_(R8G8_SINT, BYTE, NONE), |