mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
VideoCommon: Add vertex shader point and line expansion
This commit is contained in:
parent
804e42150e
commit
68f49df0f8
17 changed files with 584 additions and 73 deletions
|
@ -178,6 +178,7 @@ union ShaderHostConfig
|
|||
BitField<25, 1, bool, u32> manual_texture_sampling_custom_texture_sizes;
|
||||
BitField<26, 1, bool, u32> backend_sampler_lod_bias;
|
||||
BitField<27, 1, bool, u32> backend_dynamic_vertex_loader;
|
||||
BitField<28, 1, bool, u32> backend_vs_point_line_expand;
|
||||
|
||||
static ShaderHostConfig GetCurrent();
|
||||
};
|
||||
|
@ -316,3 +317,8 @@ static const char s_shader_uniforms[] = "\tuint components;\n"
|
|||
"\t#define xfmem_postMtxInfo(i) (xfmem_pack1[(i)].y)\n"
|
||||
"\t#define xfmem_color(i) (xfmem_pack1[(i)].z)\n"
|
||||
"\t#define xfmem_alpha(i) (xfmem_pack1[(i)].w)\n";
|
||||
|
||||
static const char s_geometry_shader_uniforms[] = "\tfloat4 " I_STEREOPARAMS ";\n"
|
||||
"\tfloat4 " I_LINEPTPARAMS ";\n"
|
||||
"\tint4 " I_TEXOFFSET ";\n"
|
||||
"\tuint vs_expand;\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue