KosmicKrisp: OpImageQueryLod ignores sampler mipLodBias (ps_ssharp_lod fails natively on Mesa 26.3.1)
Maintainer thường phản hồi trong vòng 1 ngày
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
- 18/100
Hướng nghiên cứu
The failure is in the synthetic ps_ssharp_lod test, which exercises image_get_lod with a biased sampler; the report says the bias is dropped from lambda' on KosmicKrisp, and the --lod-bias-fallback flag is the workaround to compare against. Start from the test and the sampler setup that sets mipLodBias in the repository, then decide between driver detection and a narrower fix. Done means a clear design choice and a native pass on the affected driver, or a documented decision not to fix natively.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
On Mesa 26.3.1 KosmicKrisp (Apple M3 Max, macOS 27.3), OpImageQueryLod omits the sampler's mipLodBias from lambda'. As a result, the synthetic ps_ssharp_lod test introduced in PR #1845 fails natively on KosmicKrisp even though KosmicKrisp reports samplerMipLodBias = VK_TRUE and passes ps_ssharp and ps_ssharp_ops natively.
Measured behaviour
- Hardware / Driver: Apple M3 Max, macOS 27.3, Mesa 26.3.1 KosmicKrisp (Homebrew
mesa). - Native path (
--lod-bias-fallbackoff):ps_ssharp(11 S#/T# cases): PASSps_ssharp_ops(_l,_b,_d,_d_cl): PASSps_ssharp_lod(image_get_lod): FAIL (returnedlambda'omits samplermipLodBias)
- With
--lod-bias-fallbackforced on (LEONIDA_LOD_BIAS_FALLBACK=1, samplermipLodBias = 0):ps_ssharp,ps_ssharp_ops,ps_ssharp_lod: ALL PASS (both plain and withLEONIDA_W64_EMULATE=1 LEONIDA_MESH_COMPUTE=1).
- Control drivers: Native
ps_ssharp_lodpasses onllvmpipe(Mesa 26.3.1), NVIDIA RTX 4060 Ti, and AMD RX 7600 (see reports on #1845).
Impact & Open design question
Real shaders using image_get_lod with a biased S# will compute the wrong LOD on KosmicKrisp unless either:
- KosmicKrisp auto-selects
--lod-bias-fallback(and zeros samplermipLodBias) by driver ID/version until Mesa fixesOpImageQueryLod, or - A narrower workaround is used.
No game files were used. Synthetic test shaders only. AI-assisted report.
- Ngôn ngữ chính
- Python
- Star
- 14.9k
- Fork
- 1.2k
- Merge trung bình
- 1 giờ 58 phút
- Pull request đã merge (30 ngày)
- 40
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ItsNotRexed/Leonida
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ItsNotRexed/Leonida#3990 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 25/100
ItsNotRexed/Leonida#4257 · 18 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python SPIR-V assembler encodes BF16 constants as IEEE halfCó thể đã có người làm @lumenpearson đã nhận hôm nay. Đang mởbug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 25/100
ItsNotRexed/Leonida#4237 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SPIR-V reflection rejects Int8 array length constantsCó thể đã có người làm @lumenpearson đã nhận hôm nay. Đang mởbug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 22/100
ItsNotRexed/Leonida#4221 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Interrupted stub rebuild can truncate a valid SPIR-V outputCó thể đã có người làm @lumenpearson đã nhận hôm nay. Đang mởbug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 18/100
ItsNotRexed/Leonida#4183 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ItsNotRexed/Leonida
Issue tương tự
-
pydanty:is-working
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pydantic/pydantic-ai#14187 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: legacy_json_to_doc crashes on persisted docs with "relationships": nullCó thể đã có người làm @Harsh23Kashyap đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
run-llama/llama_index#24392 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add server: crowllm-mcpĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
pathintegral-institute/mcpm.sh#568 ·
Maintainer thường phản hồi trong vòng 21 ngày