mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
b599a6d1c5
Vulkan textures (VkImage) are always in a particular layout, where each layout is optimized for a particular use (transfer, sampling, compute storage). Vulkan allows layout transitions everywhere except inside render passes. This change adds driver.Device.PrepareTexture for instructing the driver to switch a texture to a layout for sampling in preparation for using it in a render pass. Signed-off-by: Elias Naur <mail@eliasnaur.com>
15 lines
288 B
Modula-2
15 lines
288 B
Modula-2
module gioui.org
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
golang.org/x/exp v0.0.0-20210722180016-6781d3edade3
|
|
golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d
|
|
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
|
|
)
|
|
|
|
require (
|
|
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2
|
|
gioui.org/shader v1.0.4
|
|
)
|