Skip to content
Snippets Groups Projects
Commit 8fcddd32 authored by Thomas Sondergaard's avatar Thomas Sondergaard Committed by Brian Paul
Browse files

mesa: Work around internal compiler error


This small rearrangement avoids MSVC 2013 ICE. Also, this should be
a better memory access order.

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 067ad6e5
No related branches found
No related tags found
No related merge requests found
......@@ -860,8 +860,8 @@ clamp_colors(float (*quadColor)[4])
{
unsigned i, j;
for (j = 0; j < TGSI_QUAD_SIZE; j++) {
for (i = 0; i < 4; i++) {
for (i = 0; i < 4; i++) {
for (j = 0; j < TGSI_QUAD_SIZE; j++) {
quadColor[i][j] = CLAMP(quadColor[i][j], 0.0F, 1.0F);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment