Merge remote-tracking branch 'origin/master'

This commit is contained in:
Yukino Song
2025-01-01 20:05:55 +08:00
11 changed files with 46 additions and 34 deletions

View File

@@ -19,7 +19,7 @@
<ul>
<li v-for="v in fancyLogs.filter(x => x.level === 'Fatal')">{{v.value}}</li>
</ul>
<a class="btn btn-danger" href="./troubleshooting/#logs">View Logs</a>
<a class="btn btn-danger" href="./troubleshooting#logs">View Logs</a>
</div>
<!-- Version -->
<div class="card p-2 my-4">

View File

@@ -25,6 +25,7 @@ vertex_t generate_fullscreen_triangle_vertex(uint vertex_id, float2 subsample_of
float2 rotation_center = { 0.5, 0.5 };
tex_coord = round(rotation_center + mul(rotation_matrix, tex_coord - rotation_center));
// Swap the xy offset coordinates if the texture is rotated an odd number of times.
if (rotate_texture_steps & 1) {
subsample_offset.xy = subsample_offset.yx;
}