mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-11 13:13:40 -04:00
vulkan fixed some shaders
This commit is contained in:
parent
bffb027310
commit
9d0befa198
2 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ layout (push_constant, std140) uniform DrawInfo {
|
|||
};
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(mat2(modelview_matrix) * vert_position + modelview_matrix[2], 0.0, 1.0);
|
||||
vec4 position = vec4(vert_position, 0.0, 1.0) * modelview_matrix;
|
||||
gl_Position = vec4(position.x, position.y, 0.0, 1.0);
|
||||
frag_tex_coord = vert_tex_coord;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ layout (push_constant, std140) uniform DrawInfo {
|
|||
int screen_id_r;
|
||||
int layer;
|
||||
int reverse_interlaced;
|
||||
int convert_colors;
|
||||
};
|
||||
|
||||
layout (set = 0, binding = 0) uniform sampler2D screen_textures[3];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue