View Single Post
Old 09 October 2016, 23:07   #3
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,479
From prescale.fx:
Output.Position = float4(Input.Position.xyz, 1.0f);
Output.Position.xy /= ScreenDims;

Does that mean the shader expects Input to be in pixels, and the second line above converts it to the range [0..1]?

I've been trying to modify prescale.fx so it can work as a replacement for _winuae.fx. The rationale being, that could reduce GPU overhead and lag since only a single shader is used. No success yet since I know almost nothing about shaders and have so far been too lazy to learn.

However, WinUAE crashes on starting emulation with my modified _winuae.fx. Not sure if you'd class that as a bug, but see the attached archive with config + shader + dump file.
Attached Files
File Type: zip shader_issue.zip (23.9 KB, 26 views)
mark_k is offline  
 
Page generated in 0.05154 seconds with 10 queries