diff options
author | Roland Scheidegger <[email protected]> | 2012-11-27 03:30:55 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2012-11-27 03:30:55 +0100 |
commit | 529fe420ba6836479619ba42e53665724755fc1c (patch) | |
tree | dc3a7a4d54229a68e5321d5310412e7d456bb4d6 /src/gallium/auxiliary/gallivm/lp_bld_sample.c | |
parent | 0b6554ba6f2aa8a771852566340c24205e406d02 (diff) |
gallivm: use the new mip per quad handling in texture fetch path
No longer have to split fetching into quads dynamically if mip levels
are not the same for all quads (aos sampling still always splits due
to performance reasons).
Instead handle multiple mip levels further down, minification etc. takes
this into account.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.c b/src/gallium/auxiliary/gallivm/lp_bld_sample.c index ea7dd95b78b..37490e47c85 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.c @@ -265,7 +265,7 @@ lp_build_rho(struct lp_build_sample_context *bld, first_level = bld->dynamic_state->first_level(bld->dynamic_state, bld->gallivm, unit); - first_level_vec = lp_build_broadcast_scalar(&bld->int_size_bld, first_level); + first_level_vec = lp_build_broadcast_scalar(int_size_bld, first_level); int_size = lp_build_minify(int_size_bld, bld->int_size, first_level_vec); float_size = lp_build_int_to_float(float_size_bld, int_size); |