Skip to content

Commit

Permalink
Update src_assets/windows/assets/shaders/directx/include/convert_yuv4…
Browse files Browse the repository at this point in the history
…20_packed_uv_ps_base.hlsl
  • Loading branch information
ns6089 committed Aug 31, 2024
1 parent 530a1f4 commit 440a33f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ float2 main_ps(vertex_t input) : SV_Target
rgb += image.Sample(def_sampler, input.tex_right_center_left_top.zw).rgb; // top-left
rgb += image.Sample(def_sampler, input.tex_right_center_left_bottom.xw).rgb; // bottom-right
rgb += image.Sample(def_sampler, input.tex_right_center_left_bottom.zw).rgb; // bottom-left
rgb = CONVERT_FUNCTION(rgb * (1./12));
rgb = CONVERT_FUNCTION(rgb * (1./8));
#elif defined(TOPLEFT_SUBSAMPLING)
float3 rgb_top_left = image.Sample(def_sampler, input.tex_right_left_top.xz).rgb;
float3 rgb_top_right = image.Sample(def_sampler, input.tex_right_left_top.yz).rgb;
Expand Down

0 comments on commit 440a33f

Please sign in to comment.