Fixing a vague comment that got pasted to all the post processing passes.

This commit is contained in:
Rezmason
2021-11-14 09:04:41 -08:00
parent 7eecace634
commit f907c1c91b
5 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ struct ComputeInput {
[[stage(compute), workgroup_size(32, 1, 1)]] fn computeMain(input : ComputeInput) {
// Resolve the invocation ID to a single cell
// Resolve the invocation ID to a texel coordinate
var coord = vec2<i32>(input.id.xy);
var screenSize = textureDimensions(tex);

View File

@@ -38,7 +38,7 @@ fn randomFloat( uv : vec2<f32> ) -> f32 {
[[stage(compute), workgroup_size(32, 1, 1)]] fn computeMain(input : ComputeInput) {
// Resolve the invocation ID to a single cell
// Resolve the invocation ID to a texel coordinate
var coord = vec2<i32>(input.id.xy);
var screenSize = textureDimensions(tex);

View File

@@ -265,7 +265,7 @@ fn computeResult (isFirstFrame : bool, previousResult : vec4<f32>, glyphPos : ve
[[stage(compute), workgroup_size(32, 1, 1)]] fn computeMain(input : ComputeInput) {
// Resolve the invocation ID to a single cell
// Resolve the invocation ID to a cell coordinate
var row = i32(input.id.y);
var column = i32(input.id.x);

View File

@@ -57,7 +57,7 @@ fn hslToRgb(h : f32, s : f32, l : f32) -> vec3<f32> {
[[stage(compute), workgroup_size(32, 1, 1)]] fn computeMain(input : ComputeInput) {
// Resolve the invocation ID to a single cell
// Resolve the invocation ID to a texel coordinate
var coord = vec2<i32>(input.id.xy);
var screenSize = textureDimensions(tex);

View File

@@ -33,7 +33,7 @@ fn randomFloat( uv : vec2<f32> ) -> f32 {
[[stage(compute), workgroup_size(32, 1, 1)]] fn computeMain(input : ComputeInput) {
// Resolve the invocation ID to a single cell
// Resolve the invocation ID to a texel coordinate
var coord = vec2<i32>(input.id.xy);
var screenSize = textureDimensions(tex);