mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-30 22:12:38 +00:00
glsl: move shader into a separate directory
Only keep glsl_source.h for clarity
This commit is contained in:
parent
55fdf26898
commit
16e6d0d305
@ -37,14 +37,17 @@ eval {
|
||||
########################
|
||||
# GSdx
|
||||
########################
|
||||
my @gsdx_res = qw/convert.glsl interlace.glsl merge.glsl shadeboost.glsl tfx_vgs.glsl tfx_fs_all.glsl fxaa.fx/;
|
||||
my $gsdx_path = File::Spec->catdir(dirname(abs_path($0)), "..", "plugins", "GSdx", "res");
|
||||
my $gsdx_out = File::Spec->catdir($gsdx_path, "glsl_source.h");
|
||||
|
||||
# Just a hack to reuse glsl2h function easily
|
||||
$gsdx_path = File::Spec->catdir(dirname(abs_path($0)), "..", "plugins", "GSdx", "res", "glsl");
|
||||
my @tfx_res = qw/tfx_fs.glsl tfx_fs_subroutine.glsl/;
|
||||
my $tfx_all = File::Spec->catdir($gsdx_path, "tfx_fs_all.glsl");
|
||||
|
||||
my @gsdx_res = qw/convert.glsl interlace.glsl merge.glsl shadeboost.glsl tfx_vgs.glsl tfx_fs_all.glsl fxaa.fx/;
|
||||
concat($gsdx_path, $tfx_all, \@tfx_res);
|
||||
|
||||
my $gsdx_out = File::Spec->catdir($gsdx_path, "glsl_source.h");
|
||||
glsl2h($gsdx_path, $gsdx_out, \@gsdx_res);
|
||||
|
||||
unlink $tfx_all;
|
||||
|
1
plugins/GSdx/res/glsl/fxaa.fx
Symbolic link
1
plugins/GSdx/res/glsl/fxaa.fx
Symbolic link
@ -0,0 +1 @@
|
||||
../fxaa.fx
|
Loading…
x
Reference in New Issue
Block a user