david-vanderson/dvui

dx11: uv wrap

开放

#881 创建于 2026年5月26日

 (0 条评论) (0 个反应) (0 位负责人)Zig (127 个派生)github user discovery
good first issue

仓库指标

星标
 (1,469 个星标)
PR 合并指标
 (平均合并 2天 22小时) (30 天内合并 12 个 PR)

描述

Followup from #867

The dx11 backend doesn't wrap uv coords correctly. Reproduction:

  • load demo > Applets > uv_rect
  • the texture should fill the whole area, but is only rendering inside the border (which defines the limits of uv 0-1)

I think this is because the shaders don't sample the texture if the uv coords are outside 0-1.

贡献者指南