~eliasnaur/gio

c849c5b77fc7321c67735871de505f2c6466cebc — Elias Naur 2 months ago 2a72957
gpu: [compute] use correct usage flags for output image

Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M gpu/compute.go
M gpu/compute.go => gpu/compute.go +1 -1
@@ 856,7 856,7 @@ func (g *compute) resizeOutput(size image.Point) error {
	img, err := g.ctx.NewTexture(backend.TextureFormatRGBA8, size.X, size.Y,
		backend.FilterNearest,
		backend.FilterNearest,
		backend.BufferBindingShaderStorage|backend.BufferBindingFramebuffer)
		backend.BufferBindingShaderStorage|backend.BufferBindingTexture)
	if err != nil {
		return err
	}