On 24 May 2017 at 16:08, Stefan Dösinger stefandoesinger@gmail.com wrote:
Am 2017-05-24 um 15:49 schrieb Masanori Kakura:
for (j = 0; j < layer_count; ++j)
{
wined3d_cs_emit_blt_sub_resource(cs,
&dst_texture->resource, j * dst_level_count + i, &box,
&src_texture->resource, j * src_level_count + i + src_skip_levels, &box,
0, NULL, WINED3D_TEXF_POINT);
}
I don't like emitting new operations in the CS handler instead of doing the actual operation. Maybe this can be avoided with some refactoring of wined3d_cs_exec_blt_sub_resource?
Yeah, that's a consideration, although it probably shouldn't be the focus right now.