Cleanup: make format
This commit is contained in:
@@ -480,7 +480,7 @@ static const AVCodec *get_av1_encoder(
|
|||||||
* where using a different encoder is desireable, such as in T103849. */
|
* where using a different encoder is desireable, such as in T103849. */
|
||||||
codec = avcodec_find_encoder_by_name("librav1e");
|
codec = avcodec_find_encoder_by_name("librav1e");
|
||||||
if (!codec) {
|
if (!codec) {
|
||||||
/* Fallback to libaom-av1 if librav1e is not found. */
|
/* Fallback to libaom-av1 if librav1e is not found. */
|
||||||
codec = avcodec_find_encoder_by_name("libaom-av1");
|
codec = avcodec_find_encoder_by_name("libaom-av1");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
void main() {
|
void main()
|
||||||
|
{
|
||||||
int index = int(gl_GlobalInvocationID.x);
|
int index = int(gl_GlobalInvocationID.x);
|
||||||
vec4 pos = vec4(gl_GlobalInvocationID.x);
|
vec4 pos = vec4(gl_GlobalInvocationID.x);
|
||||||
imageStore(img_output, index, pos);
|
imageStore(img_output, index, pos);
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
void main() {
|
void main()
|
||||||
|
{
|
||||||
vec4 pixel = vec4(1.0, 0.5, 0.2, 1.0);
|
vec4 pixel = vec4(1.0, 0.5, 0.2, 1.0);
|
||||||
imageStore(img_output, ivec2(gl_GlobalInvocationID.xy), pixel);
|
imageStore(img_output, ivec2(gl_GlobalInvocationID.xy), pixel);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
void main () {
|
void main()
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
void main() {
|
void main()
|
||||||
|
{
|
||||||
uint store_index = int(gl_GlobalInvocationID.x);
|
uint store_index = int(gl_GlobalInvocationID.x);
|
||||||
out_indices[store_index] = store_index;
|
out_indices[store_index] = store_index;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
void main() {
|
void main()
|
||||||
|
{
|
||||||
uint index = gl_GlobalInvocationID.x;
|
uint index = gl_GlobalInvocationID.x;
|
||||||
vec4 pos = vec4(gl_GlobalInvocationID.x);
|
vec4 pos = vec4(gl_GlobalInvocationID.x);
|
||||||
out_positions[index] = pos;
|
out_positions[index] = pos;
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ class USDImportTest(AbstractUSDTest):
|
|||||||
self.assertAlmostEqual(1.234, test_cam.shift_x, 3)
|
self.assertAlmostEqual(1.234, test_cam.shift_x, 3)
|
||||||
self.assertAlmostEqual(5.678, test_cam.shift_y, 3)
|
self.assertAlmostEqual(5.678, test_cam.shift_y, 3)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
global args
|
global args
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
Reference in New Issue
Block a user