mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 15:57:44 +01:00
Add standalone testbed
This commit is contained in:
parent
5ddf473450
commit
b8ce2d4001
21 changed files with 948 additions and 2 deletions
16
imgui/StandaloneImGuiTestbed/Shaders/SPIR-V/imgui-frag.glsl
Normal file
16
imgui/StandaloneImGuiTestbed/Shaders/SPIR-V/imgui-frag.glsl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#version 450
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_420pack : enable
|
||||
|
||||
layout(set = 1, binding = 0) uniform texture2D FontTexture;
|
||||
layout(set = 0, binding = 1) uniform sampler FontSampler;
|
||||
|
||||
layout (location = 0) in vec4 color;
|
||||
layout (location = 1) in vec2 texCoord;
|
||||
layout (location = 0) out vec4 outputColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outputColor = color * texture(sampler2D(FontTexture, FontSampler), texCoord);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue