Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
piglit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
57
Merge Requests
57
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mesa
piglit
Commits
b5e2e6ea
Commit
b5e2e6ea
authored
Sep 12, 2012
by
Marek Olšák
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fbo-blit-stretch: add ability to choose a subtest
Reviewed-by:
Brian Paul
<
brianp@vmware.com
>
parent
85a65442
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tests/fbo/fbo-blit-stretch.cpp
tests/fbo/fbo-blit-stretch.cpp
+9
-0
No files found.
tests/fbo/fbo-blit-stretch.cpp
View file @
b5e2e6ea
...
...
@@ -530,11 +530,17 @@ tests[] = {
},
};
static
int
test_index
=
-
1
;
enum
piglit_result
piglit_display
(
void
)
{
GLboolean
pass
=
GL_TRUE
;
for
(
unsigned
i
=
0
;
i
<
ARRAY_SIZE
(
tests
);
i
++
)
{
if
(
test_index
!=
-
1
&&
test_index
!=
i
)
continue
;
TestCase
test
=
tests
[
i
];
test
.
filter
=
GL_NEAREST
;
...
...
@@ -553,4 +559,7 @@ piglit_init(int argc, char **argv)
piglit_ortho_projection
(
piglit_width
,
piglit_height
,
GL_FALSE
);
piglit_require_extension
(
"GL_ARB_framebuffer_object"
);
if
(
argc
==
2
)
sscanf
(
argv
[
1
],
"%d"
,
&
test_index
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment