mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
Merge branch 'master' of https://github.com/libretro/slang-shaders
This commit is contained in:
commit
92bde05c61
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
PREFIX := /usr
|
||||
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_slang
|
||||
|
||||
all:
|
||||
@echo "Nothing to make for slang-shaders."
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
||||
cp -ar -t $(DESTDIR)$(INSTALLDIR) *
|
||||
rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \
|
||||
$(DESTDIR)$(INSTALLDIR)/configure
|
||||
|
||||
test-install: all
|
||||
DESTDIR=/tmp/build $(MAKE) install
|
|
@ -45,7 +45,7 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
|||
|
||||
#define mul(a,b) (b*a)
|
||||
|
||||
#define wp1 8.0
|
||||
#define wp1 1.0
|
||||
#define wp2 0.0
|
||||
#define wp3 0.0
|
||||
#define wp4 0.0
|
||||
|
@ -189,4 +189,4 @@ void main()
|
|||
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,8 +48,8 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
|||
#define wp1 1.0
|
||||
#define wp2 0.0
|
||||
#define wp3 0.0
|
||||
#define wp4 2.0
|
||||
#define wp5 -2.0
|
||||
#define wp4 0.0
|
||||
#define wp5 0.0
|
||||
#define wp6 0.0
|
||||
|
||||
#define weight1 (XBR_WEIGHT*1.29633/10.0)
|
||||
|
@ -201,4 +201,4 @@ void main()
|
|||
color = clamp(color, min_sample, max_sample);
|
||||
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue