mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Use vkd3d_dxbc_compiler_emit_load_src() for dot product instructions.
Fixes source modifiers for dot product instructions.
This commit is contained in:
parent
2dfbc88a89
commit
96f5bb3936
@ -2404,8 +2404,7 @@ static void vkd3d_dxbc_compiler_emit_dot(struct vkd3d_dxbc_compiler *compiler,
|
||||
|
||||
assert(instruction->src_count == ARRAY_SIZE(src_ids));
|
||||
for (i = 0; i < instruction->src_count; ++i)
|
||||
src_ids[i] = vkd3d_dxbc_compiler_emit_load_reg(compiler,
|
||||
&src[i].reg, src[i].swizzle, write_mask);
|
||||
src_ids[i] = vkd3d_dxbc_compiler_emit_load_src(compiler, &src[i], write_mask);
|
||||
|
||||
type_id = vkd3d_spirv_get_type_id(builder,
|
||||
vkd3d_component_type_from_data_type(dst->reg.data_type), 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user