Writer (DX11.Texture 2d) not writing


I can’t get Writer (DX11.Texture 2d) to actually write a texture to a png or bmp file.

TTY spits this out when I try to write a file:

00:04:35 ERR : SlimDX.Direct3D11.Direct3D11Exception in SlimDX: E_FAIL: An undetermined error occurred (-2147467259)

at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
at VVVV.DX11.Nodes.WriterTextureNode.Evaluate(Int32 SpreadMax)


can you post a patch that demonstrates this?


Had the same problem when using Writer (DX11.Texture 2d) right after VideoIn (DX11 DShow). As a workaround, I used DrawFullScreen + TempTarget and then Writer. See attached.

bug_writer_dx11_2d.v4p (8.2 KB)


Kind of found a solution, I use ChangeFormat (DX11.Texture 2d) to change the format to 8bit.

I do think that it is a clumsy way of not letting you know what is wrong.

Anyway, this patch demonstrate the problem: DX11-writer-test.v4p (6.5 KB)

@sebescudie your patch doesn’t work here, I don’t have DrawFullScreen apparently, it’s red here


@sunep You need last DX11 pack :)