mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
radeonsi: Pass texture type to sampling intrinsics.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
edc8e8cbef
commit
6eb0d3d863
1 changed files with 2 additions and 4 deletions
|
|
@ -845,12 +845,10 @@ static void tex_fetch_args(
|
|||
ptr, offset);
|
||||
|
||||
/* Dimensions */
|
||||
/* XXX: We might want to pass this information to the shader at some. */
|
||||
/* emit_data->args[4] = lp_build_const_int32(bld_base->base.gallivm,
|
||||
emit_data->args[4] = lp_build_const_int32(bld_base->base.gallivm,
|
||||
emit_data->inst->Texture.Texture);
|
||||
*/
|
||||
|
||||
emit_data->arg_count = 4;
|
||||
emit_data->arg_count = 5;
|
||||
/* XXX: To optimize, we could use a float or v2f32, if the last bits of
|
||||
* the writemask are clear */
|
||||
emit_data->dst_type = LLVMVectorType(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue