Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slang shaders that don't work on D3D12 #666

Open
LibretroAdmin opened this issue Dec 24, 2024 · 19 comments
Open

Slang shaders that don't work on D3D12 #666

LibretroAdmin opened this issue Dec 24, 2024 · 19 comments

Comments

@LibretroAdmin
Copy link

  • anamorphic.slangp
  • koko-aio-ng.slangp
  • megabezel (freezes)
@LibretroAdmin
Copy link
Author

LibretroAdmin commented Dec 24, 2024

  • anamorphic.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\anamorphic\shaders\anamorphic.slang".
[ERROR] [slang]: Unknown semantic found.
[ERROR] [slang]: Failed to reflect SPIR-V. Resource usage is inconsistent with expectations.

@LibretroAdmin
Copy link
Author

LibretroAdmin commented Dec 24, 2024

  • koko-aio-ng.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\bezel\koko-aio\shaders-ng\colortools_and_ntsc_pass.slang".
[ERROR] [slang]: Texture name 'avglum_passFeedback' not found in semantic map, Probably the texture name or pass alias is not defined in the preset (Non-semantic textures not supported yet)
[ERROR] [slang]: Failed to reflect SPIR-V. Resource usage is inconsistent with expectations.

@LibretroAdmin
Copy link
Author

  • crt-guest-advanced-fastest.slangp

Crashes -

[INFO] [slang]: Compiling shader: "F:\retroarch\shaders\shaders_slang\crt\shaders\guest\fast\perf-pass.slang".
[INFO] [slang]: Compiling shader: "F:\retroarch\shaders\shaders_slang\crt\shaders\guest\fast\pre-shadersf.slang".
[INFO] [slang]: Compiling shader: "F:\retroarch\shaders\shaders_slang\crt\shaders\guest\fast\linearizef.slang".
[INFO] [slang]: Compiling shader: "F:\retroarch\shaders\shaders_slang\crt\shaders\guest\fast\crt-guest-advanced-pass1f.slang".
[INFO] [slang]: Compiling shader: "F:\retroarch\shaders\shaders_slang\crt\shaders\guest\fast\crt-guest-advanced-pass2f.slang".
[INFO] [Shaders]: Menu shader set to: "F:\retroarch\shaders\shaders_slang\crt\crt-guest-advanced-fastest.slangp".
[INFO] [Shaders]: Applying shader: "F:\retroarch\shaders\shaders_slang\crt\crt-guest-advanced-fastest.slangp".
[INFO] [Shaders]: Menu shader set to: "F:\retroarch\shaders\shaders_slang\crt\crt-guest-advanced-fastest.slangp".
[INFO] [D3D12]: Updating framebuffer size 376x464.
[INFO] [D3D12]: Updating framebuffer size 376x464.
[INFO] [D3D12]: Updating framebuffer size 376x464.
[INFO] [D3D12]: Updating framebuffer size 1750x464.
[INFO] [D3D12]: Updating framebuffer size 1750x2160.
Segmentation fault

@LibretroAdmin
Copy link
Author

LibretroAdmin commented Dec 24, 2024

These shader presets don't report why they fail, only reports this:

  • crt-hylian-ntsc-rainbow.slangp

  • crt-hylian-ntsc.slangp

[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\support\multiLUT-modified.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\support\ntsc\shaders\ntsc-adaptive-lite\ntsc-lite-pass1.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\support\ntsc\shaders\ntsc-adaptive-lite\ntsc-lite-pass2.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\support\linearize.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\crt-hyllian-pass1.slang".
  • crt-hylian-rgb-slotmask.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\support\multiLUT-modified.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\crt-hyllian-pass0.slang".
  • crt-hylian-rgb-trinitron.slangp

  • crt-hylian-sinc-composite.slangp

Locks up, freezes

@LibretroAdmin
Copy link
Author

  • crt-super-xbr.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\linearize.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\super-xbr-pass0.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\super-xbr-pass1.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\super-xbr-pass2.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\custom-bicubic-x.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\custom-bicubic-y.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-super-xbr\crt-custom.slang".

@LibretroAdmin
Copy link
Author

  • crt-fast-bilateral-super-xbr.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\denoisers\shaders\fast-bilateral.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\super-xbr\super-xbr-pass0.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\super-xbr\super-xbr-pass1.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\super-xbr\super-xbr-pass2.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\interpolation\shaders\jinc2.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\crt-hyllian-pass0.slang".

@LibretroAdmin
Copy link
Author

  • downsample/mixed-res-4x-crt-hylian.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\multiLUT-modified.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\coder.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\hires-tagger.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\blur-gauss-h.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\blur-gauss-v.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\denoisers\shaders\bilateral-horizontal.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\denoisers\shaders\bilateral-vertical.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\crt-hyllian-pass0.slang".
  • downsample/mixed_res/2x/mixed_res_bilinear.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\coder.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\hires-tagger.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\support\fxaa-plus-alpha.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\blur-gauss-h.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\blur-gauss-v.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\denoisers\shaders\bilateral-horizontal.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\denoisers\shaders\bilateral-vertical.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\cheap-sharpen-tweaked.slang".

@LibretroAdmin
Copy link
Author

  • downsample/mixed_res/hooks/mixed-res-4x-append.slangp
[DEBUG] [Shaders]: Load parameter value: "B_HL" = 0.000000.
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\downsample\shaders\mixed-res\output.slang".
[ERROR] [slang]: Texture name 'HiresSource' not found in semantic map, Probably the texture name or pass alias is not defined in the preset (Non-semantic textures not supported yet)
[ERROR] [slang]: Failed to reflect SPIR-V. Resource usage is inconsistent with expectations.

@LibretroAdmin
Copy link
Author

  • edge_smoothing/eagle/2xsai-fix-pixel-shift.slangp
  • edge_smoothing/eagle/2xsai.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\eagle\shaders\2xsai.slang".
  • edge_smoothing/eagle/super-2xsai-fix-pixel-shift.slangp
  • edge_smoothing/eagle/super-2xsai.slangp

@LibretroAdmin
Copy link
Author

  • edge_smoothing/nedi/nedi-sharper.slangp
[DEBUG] [Shaders]: Load parameter value: "CS_SHARPNESS" = 0.300000.
[DEBUG] [Shaders]: Load parameter value: "NEDI_E" = 0.650000.
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\sharpen\shaders\cheap-sharpen.slang".

@LibretroAdmin
Copy link
Author

  • edge_smoothing/xsai/2xsai-level2-crt.slangp
  • edge_smoothing/xsai/2xsai.slangp
  • edge_smoothing/xsai/4xsai-level2-crt.slangp
  • edge_smoothing/xsai/4xsai-level2-hq.slangp
  • edge_smoothing/xsai/4xsai-level2.slangp
[DEBUG] [Shaders]: Load parameter value: "maskDark" = 0.600000.
[DEBUG] [Shaders]: Load parameter value: "maskLight" = 1.400000.
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xsal\shaders\2xsal-level2.slang".

@LibretroAdmin
Copy link
Author

  • handheld/gbc-dev.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\handheld\shaders\color\gbc-dev.slang".

@LibretroAdmin
Copy link
Author

  • nes_raw_palette/cgwg-famicom-geom.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\nes_raw_palette\shaders\cgwg-famicom-geom\composite-encode.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\nes_raw_palette\shaders\cgwg-famicom-geom\lowpass-notch-decode-yiq.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\nes_raw_palette\shaders\cgwg-famicom-geom\adaptive-comb-decode.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\nes_raw_palette\shaders\cgwg-famicom-geom\lowpass-chroma.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\nes_raw_palette\shaders\cgwg-famicom-geom\crt-geom-famicom.slang".
[ERROR] [slang]: Unknown semantic found.
[ERROR] [slang]: Failed to reflect SPIR-V. Resource usage is inconsistent with expectations.

@LibretroAdmin
Copy link
Author

  • reshade/gba.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\reshade\shaders\LUT\LUT.slang".
  • reshade/nds.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\reshade\shaders\LUT\LUT.slang".
  • reshade/vba.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\reshade\shaders\LUT\LUT.slang".

@LibretroAdmin
Copy link
Author

  • sharpen/cheap-sharpen.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\sharpen\shaders\cheap-sharpen.slang".

@LibretroAdmin
Copy link
Author

  • test/feedback-noncausal.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\test\feedback-noncausal.slang".
[ERROR] [slang]: Non causal filter chain detected. Shader is trying to use output from pass #0, but this shader is pass #0.
[ERROR] [slang]: Failed to reflect SPIR-V. Resource usage is inconsistent with expectations.

@LibretroAdmin
Copy link
Author

  • test/format.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\test\format.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\test\decode-format.slang".
[ERROR] [slang]: SPIRV-Cross threw exception: Sampling non-float textures is not supported in HLSL..

@LibretroAdmin
Copy link
Author

  • presets/crt-hyllian-sinc-smartblur-sgenpt.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\dithering\shaders\sgenpt-mix.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\blurs\shaders\smart-blur.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\stock.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\crt-hyllian-sinc-pass0.slang".
  • presets/crt-hylian-smartblur-sgenpt.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\dithering\shaders\sgenpt-mix.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\blurs\shaders\smart-blur.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\stock.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\hyllian\crt-hyllian-pass0.slang".
  • presets/crt-lottes-multipass-interlaced-glow.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\stock.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\glow-trails\glow-trails0.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\blurs\shaders\royale\blur9fast-vertical.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\blurs\shaders\royale\blur9fast-horizontal.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\glow-trails\glow-trails1.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-first-pass-linearize-crt-gamma-bob-fields.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-easymode-halation\blur_horiz.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-easymode-halation\blur_vert.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-easymode-halation\threshold.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\crt\shaders\crt-lottes-multipass\bloompass-glow.slang".

@LibretroAdmin
Copy link
Author

  • presets/xbr-xsai/xbr-lv3-2xsai-lv2-aa-soft.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\support\linearize.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\xbr-lv3-multipass\xbr-lv3-pass0.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\xbr-lv3-multipass\xbr-lv3-pass1.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xsal\shaders\2xsal-level2-xbr.slang".
  • presets/xbr-xsai/xbr-lv3-2xsai-lv2-aa.slangp
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\support\linearize.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\xbr-lv3-multipass\xbr-lv3-pass0.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xbr\shaders\xbr-lv3-multipass\xbr-lv3-pass1.slang".
[INFO] [slang]: Compiling shader: "F:\RetroArch\shaders\shaders_slang\edge-smoothing\xsal\shaders\2xsal-level2-xbr.slang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant