Giter VIP home page Giter VIP logo

Comments (7)

hizzlekizzle avatar hizzlekizzle commented on August 16, 2024

If there are no errors in the verbose log, it means it's compiling successfully and just isn't really doing anything (nothing visible, at least). This is difficult to debug because the script-converted GLSL shaders are horrible spaghetti code. The options in cases like this are basically: use the Cg version, hand-convert from Cg to GLSL, hand-write a GLSL version (luckily, FXAA is available elsewhere in GLSL, so this is actually a fair possibility) or wait until we get spir-v reflection to produce a better automated conversion (I haven't actually made a slang version of FXAA yet but was planning to do one soon).

from common-shaders.

madig avatar madig commented on August 16, 2024

Hm, I'd use the Cg version, but the log says RetroArch [ERROR] :: [Shader driver]: Cg cannot be used with core GL context. Trying to fall back to GLSL... :( Oh well, thanks anyway, I'll go look for a GLSL version.

from common-shaders.

hizzlekizzle avatar hizzlekizzle commented on August 16, 2024

Ah, ok. IIRC, that error is usually related to the ribbon effect in the menu. You could try turning it off in settings > menu to see if that helps.

from common-shaders.

madig avatar madig commented on August 16, 2024

The ribbon was turned off already.

from common-shaders.

madig avatar madig commented on August 16, 2024

(Interestingly, the fx-aa.cg shader (Cg!) didn't to anything visible either on Windows. Hm.)

from common-shaders.

hizzlekizzle avatar hizzlekizzle commented on August 16, 2024

That is interesting. I thought I remembered that one working properly...

I just ported a version to slang and it works pretty well, if you can run the vulkan context (won't work with mupen, reicast or ppsspp)

from common-shaders.

madig avatar madig commented on August 16, 2024

That one works. Guess I'll wait for SPIR-V reflection :)

from common-shaders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.