de-angle branch: feature level 10 support

Đang mở
#130 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
23
Fork
69
Merge trung bình
2 giờ 50 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Tất cả issue của PathOfBuildingCommunity/PathOfBuilding-SimpleGraphic

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.