Better Warnings for Custom Pixel Shader Compilation Failures #21871

Closed
opened 2026-01-31 07:57:01 +00:00 by claunia · 0 comments
Owner

Originally created by @blitzRahul on GitHub (Jun 15, 2024).

Description of the new feature/enhancement

Right now, when D3DCompileFromFile fails, a warning is displayed that says "Unable to compile the specified pixel shader." To make it easier to debug custom shader files, it would be helpful to see the exact error message from the compiler.
Current Warning:
original

Proposed technical implementation details

Error Type | Expected Outcome
Compile Time Error | Warning window with the exact error message from compiler
File not Found | Warning window with file not found + location of file as seen in settings.json
Path not Found | Similar behaviour

I will be creating a pull request shortly.

Originally created by @blitzRahul on GitHub (Jun 15, 2024). # Description of the new feature/enhancement Right now, when D3DCompileFromFile fails, a warning is displayed that says "Unable to compile the specified pixel shader." To make it easier to debug custom shader files, it would be helpful to see the exact error message from the compiler. Current Warning: ![original](https://github.com/microsoft/terminal/assets/104504393/bb3c65dc-d241-4918-84a6-5169eed2ad81) # Proposed technical implementation details **Error Type** | **Expected Outcome** Compile Time Error | Warning window with the exact error message from compiler File not Found | Warning window with file not found + location of file as seen in settings.json Path not Found | Similar behaviour I will be creating a pull request shortly.
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 07:57:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21871