Odin icon indicating copy to clipboard operation
Odin copied to clipboard

D3D12: Support for SHADER_4_COMPONENT_MAPPING macros

Open Hyp-X opened this issue 2 years ago • 2 comments

Added procedures for D3D12 macros: ENCODE_SHADER_4_COMPONENT_MAPPING DECODE_SHADER_4_COMPONENT_MAPPING Added a "runtime constant" for DEFAULT_SHADER_4_COMPONENT_MAPPING

Hyp-X avatar Apr 18 '23 16:04 Hyp-X

Did you even test this code before you wrote it?

gingerBill avatar Apr 20 '23 09:04 gingerBill

Sorry for the late replay.

I'm actively using it in my renderer. Altough, I'm only using DEFAULT_SHADER_4_COMPONENT_MAPPING, I've tested other variations of ENCODE_SHADER_4_COMPONENT_MAPPING and it seems to work correctly.

I've also tested DECODE_SHADER_4_COMPONENT_MAPPING and it seems to work ok.

What problem did you find? I can fix it if you tell me.

Hyp-X avatar Apr 22 '23 13:04 Hyp-X