diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-01-04 13:27:20 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2020-01-06 07:50:00 -0500 |
commit | b3ff83c10751b40292f71a6d3b41d41c820e9fcb (patch) | |
tree | e2f2f236da0b904e597c396ec1522e14a6e093ba /src | |
parent | 5c71547c68a86729dcb81b572104a158a04ac2cf (diff) |
panfrost: Handle PIPE_FORMAT_R10G10B10A2_USCALED
Same format code as UINT... might be different in how it's fed into a
shader but we'll deal with that when we get there.
Fixes dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.usigned_int2_10_10_10.components4_vec2_quads1
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Tomeu Vizoso <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c index 16bc5edc6c9..9b0440eae37 100644 --- a/src/gallium/drivers/panfrost/pan_format.c +++ b/src/gallium/drivers/panfrost/pan_format.c @@ -174,6 +174,8 @@ panfrost_find_format(const struct util_format_description *desc) { case PIPE_FORMAT_R10G10B10A2_UINT: case PIPE_FORMAT_B10G10R10A2_UINT: + case PIPE_FORMAT_R10G10B10A2_USCALED: + case PIPE_FORMAT_B10G10R10A2_USCALED: return MALI_RGB10_A2UI; case PIPE_FORMAT_R10G10B10A2_SSCALED: |