DirectX shader reflection support

Open
#439 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c

Research direction

Start by reviewing the linked ID3D11ShaderReflection API documentation and locating HashLink's existing DirectX or shader integration entry points. Done means compiled HLSL shader data can be inspected through the reflection API so HxSL can detect samplers optimized out by the compiler.

Written by the indexing model from the issue text.

Description

In order to fix some textures sampler being optimized out by HLSL compiler without HxSL noticing, we need to be able to access the compiled shader data using ID3D11ShaderReflection API.

https://docs.microsoft.com/en-us/windows/win32/api/d3d11shader/

Dominant language
C
Stars
911
Forks
207
Avg merge
1d 21h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HaxeFoundation/hashlink

All issues in HaxeFoundation/hashlink

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.