Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
mesa
Commits
7a4599c6
Commit
7a4599c6
authored
Nov 27, 2010
by
Henri Verbeet
Browse files
r600g: Fix the PIPE_FORMAT_L8A8_UNORM color swaps.
parent
c3602ff5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/gallium/drivers/r600/eg_state_inlines.h
View file @
7a4599c6
...
...
@@ -312,6 +312,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
return
V_028C70_SWAP_STD
;
case
PIPE_FORMAT_L8A8_UNORM
:
return
V_028C70_SWAP_ALT
;
case
PIPE_FORMAT_R8G8_UNORM
:
return
V_028C70_SWAP_STD
;
...
...
src/gallium/drivers/r600/r600_state_inlines.h
View file @
7a4599c6
...
...
@@ -305,6 +305,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
return
V_0280A0_SWAP_STD
;
case
PIPE_FORMAT_L8A8_UNORM
:
return
V_0280A0_SWAP_ALT
;
case
PIPE_FORMAT_R8G8_UNORM
:
return
V_0280A0_SWAP_STD
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment