Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:Update
Mesa.13445
U_r600-Add-support-for-B5G5R5A1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_r600-Add-support-for-B5G5R5A1.patch of Package Mesa.13445
Author: Michal Srb <michalsrb@gmail.com> Subject: r600: Add support for B5G5R5A1. Patch-Mainline: To be upstreamed References: bnc#1047154 Fixes rendercheck errors when using glamor acceleration in X server. --- src/gallium/drivers/r600/r600_asm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 9e00528c5c..be2a086594 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -2350,6 +2350,12 @@ void r600_vertex_data_type(enum pipe_for return; } + if (pformat == PIPE_FORMAT_B5G5R5A1_UNORM) { + *format = FMT_1_5_5_5; + *endian = r600_endian_swap(16); + return; + } + desc = util_format_description(pformat); if (desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) { goto out_unknown;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor