fix(win/video): don't offload chroma subsampling math to texture sampler when downscaling (#3014)

* Don't use sampler math for chroma if downscaling

* Correct portrait rotation offsets
This commit is contained in:
ns6089
2024-09-03 03:02:05 +03:00
committed by Yukino Song
parent 4353599b74
commit 538a64a9cc
13 changed files with 177 additions and 93 deletions

View File

@@ -6,5 +6,5 @@ cbuffer rotate_texture_steps_cbuffer : register(b2) {
vertex_t main_vs(uint vertex_id : SV_VertexID)
{
return generate_fullscreen_triangle_vertex(vertex_id, rotate_texture_steps);
return generate_fullscreen_triangle_vertex(vertex_id, float2(0, 0), rotate_texture_steps);
}