-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
orka: Revert changing origin of viewport to upper left corner
Without it, it would almost always require an extra render pass when rendering using a frame graph to avoid textures being rendered upside down.
- Loading branch information
Showing
3 changed files
with
1 addition
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
|
||
#extension GL_ARB_shader_storage_buffer_object : require | ||
|
||
layout(origin_upper_left) in vec4 gl_FragCoord; | ||
|
||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
// Copyright (c) 2020 onox <[email protected]> | ||
|
@@ -20,8 +18,6 @@ layout(origin_upper_left) in vec4 gl_FragCoord; | |
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
layout(origin_upper_left) in vec4 gl_FragCoord; | ||
|
||
uniform bool horizontal; | ||
|
||
layout(binding = 0) uniform sampler2DRect inputImage; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters