Skip to content
Snippets Groups Projects
Commit a64d4516 authored by Brian Paul's avatar Brian Paul
Browse files

tgsi/sse: Pass the lodbias, not zero. More comments.

This fixes the glean/glsl1 "texture2D(), with bias" test when using SSE.
parent a491e25b
No related branches found
No related tags found
No related merge requests found
......@@ -1431,11 +1431,11 @@ fetch_texel( struct tgsi_sampler **sampler,
{
float rgba[NUM_CHANNELS][QUAD_SIZE];
(*sampler)->get_samples(*sampler,
&store[0],
&store[4],
&store[8],
0.0f, /*store[12], lodbias */
rgba);
&store[0], /* s */
&store[4], /* t */
&store[8], /* r */
store[12], /* lodbias */
rgba); /* results */
memcpy( store, rgba, 16 * sizeof(float));
}
......
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