mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
softpipe: fix copy/paste error in tex sample code
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=52369 Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
f9089f4022
commit
fa76d04aea
1 changed files with 2 additions and 2 deletions
|
|
@ -1950,8 +1950,8 @@ mip_filter_linear_2d_linear_repeat_POT(
|
|||
float rgbax[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];
|
||||
int c;
|
||||
|
||||
img_filter_2d_linear_repeat_POT(tgsi_sampler, s[j], t[j], p[j], level0, samp->faces[j], tgsi_sampler_lod_bias, &rgbax[0][j]);
|
||||
img_filter_2d_linear_repeat_POT(tgsi_sampler, s[j], t[j], p[j], level0+1, samp->faces[j], tgsi_sampler_lod_bias, &rgbax[0][j]);
|
||||
img_filter_2d_linear_repeat_POT(tgsi_sampler, s[j], t[j], p[j], level0, samp->faces[j], tgsi_sampler_lod_bias, &rgbax[0][0]);
|
||||
img_filter_2d_linear_repeat_POT(tgsi_sampler, s[j], t[j], p[j], level0+1, samp->faces[j], tgsi_sampler_lod_bias, &rgbax[0][1]);
|
||||
|
||||
for (c = 0; c < TGSI_NUM_CHANNELS; c++)
|
||||
rgba[c][j] = lerp(levelBlend, rgbax[c][0], rgbax[c][1]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue