diff options
author | José Fonseca <[email protected]> | 2013-08-21 16:49:57 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-08-22 12:14:15 +0100 |
commit | fb62388d6a9c22f81e56eb63b411abe3689eebb7 (patch) | |
tree | 4fae3a9c626ae4b084a558313a60ef4f93e81340 /src/gallium/auxiliary/gallivm | |
parent | c5f2cd6e4102fba54059dcc51d7ba28f777e5991 (diff) |
gallium: Support PIPE_FORMAT_R10G10B10A2_UINT.
Same as PIPE_FORMAT_B10G10R10A2_UINT but without the swizzling.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index 34ab414733c..38a0eae0e9a 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -1466,6 +1466,7 @@ lp_build_clamp_border_color(struct lp_build_sample_context *bld, /* mixed plain formats (or different pure size) */ switch (format_desc->format) { case PIPE_FORMAT_B10G10R10A2_UINT: + case PIPE_FORMAT_R10G10B10A2_UINT: { unsigned max10 = (1 << 10) - 1; max_clamp = lp_build_const_aos(gallivm, vec4_type, max10, max10, |