View Single Post
Old 20 May 2019, 20:14   #290
Dr.Venom
Registered User
 
Join Date: Jul 2008
Location: Netherlands
Posts: 485
Hi Toni,


I'm trying to switch shaders during runtime, using "displaydata" in the config file, as a tryout like the following:

Code:
displaydata=nlace,cmd=gfx_filter=D3D:CRT-Trinitron-SmartRes.fx
displaydata=lace,cmd=gfx_filter=D3D:CRT-Trinitron-HiRes.fx
Unfortunately this does not work, the screen goes black and from the log (attached) I see that it stays in a loop of applying the shader.

I tried this with both d3d9 and d3d11, same result (log is from d3d9)

Is this supposed to work (I guess maybe not..)?

If it's not supposed to work, is there an equivalent to use in your recent shader parser addition?

The goal is to switch shaders upon lace/non-lace switch, or alternatively a way to let the shader know that interlace is detected.

Would anything be possible with "displaydata=lace" in the "string winuae_config : WINUAE_CONFIG =".?

If so, could you possibly give a pointer what that should look like and what it would return to the shader?

Quote:
Originally Posted by Toni Wilen View Post
Above config in shader feature is now implemented.

Only first 15 lines are checked for "string winuae_config : WINUAE_CONFIG =".
Attached Files
File Type: zip winuaelog.zip (7.7 KB, 110 views)
Dr.Venom is offline  
 
Page generated in 0.04556 seconds with 12 queries