de-angle branch: feature level 10 support
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
Start with device creation and shader compilation in engine/render/r_main.cpp around the referenced lines, then inspect the pixel shader data path in engine/render/r_dx11_shaders.cpp. Check the D3D11 feature level 10 limits for StructuredBuffer use in pixel shaders and the required shader targets. Done means feature levels 10_1 and 10_0 can use a working rendering path without falling back to WARP.
由索引模型根据 Issue 内容生成。
描述
About the WIP branch feat/de-angle on your fork (at f073af4), since issues are turned off there. I read it with the D3D11 feature level 10 baseline you mentioned in mind.
Device creation only asks for 11_1 and 11_0 and then falls back to WARP (https://github.com/zao/PathOfBuilding-SimpleGraphic/blob/f073af45a8b5eb20c2f835bf13424e1bffac89cd/engine/render/r_main.cpp#L2072-L2099). Through ANGLE, PoB gets ES 3.0 from feature level 10_1 (GetMaximumClientVersion in ANGLE's renderer11_utils.cpp), so 10_1 cards that work today would end up on WARP. Adding 10_1 and 10_0 to that list would be the place to start.
The pixel shader reads per-primitive data from a StructuredBuffer (https://github.com/zao/PathOfBuilding-SimpleGraphic/blob/f073af45a8b5eb20c2f835bf13424e1bffac89cd/engine/render/r_dx11_shaders.cpp#L46 and https://github.com/zao/PathOfBuilding-SimpleGraphic/blob/f073af45a8b5eb20c2f835bf13424e1bffac89cd/engine/render/r_dx11_shaders.cpp#L95). On 10_x that isn't available in pixel shaders, so a 10_x path would need those bits elsewhere, for example as a nointerpolation vertex attribute. The shaders are also compiled as vs_5_0/ps_5_0 (https://github.com/zao/PathOfBuilding-SimpleGraphic/blob/f073af45a8b5eb20c2f835bf13424e1bffac89cd/engine/render/r_main.cpp#L924-L925), which would need 4_0 or 4_1 targets there.
- 主要语言
- C++
- 星标
- 23
- 派生
- 69
- 平均合并
- 2 小时 50 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 42/100
-
难度 4/5 1-2 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 72/100
查看 PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic 的全部 Issue
相似的 Issue
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 82/100
-
area:text difficulty:easy prio:low type:bug
难度 2/5 1-3 小时 新手友好度 75/100
NatronGitHub/openfx-arena#337 ·
维护者通常 1 天内回复
-
difficulty:easy prio:normal type:bug
难度 2/5 1-3 小时 新手友好度 78/100
NatronGitHub/openfx-supportext#326 ·
维护者通常 1 天内回复
-
difficulty:easy func:viewer prio:normal type:bug
难度 2/5 1-3 小时 新手友好度 78/100
NatronGitHub/Natron#2300 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
zucch1/android-auto-jetson#293 ·
维护者通常 1 天内回复