mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
tests/cogl: Migrate pipeline uniforms test
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
This commit is contained in:
parent
63af78d049
commit
9305f8d9d8
@ -1,6 +1,5 @@
|
||||
cogl_test_conformance_sources = [
|
||||
'test-conform-main.c',
|
||||
'test-pipeline-uniforms.c',
|
||||
'test-pixel-buffer.c',
|
||||
'test-premult.c',
|
||||
'test-snippets.c',
|
||||
|
@ -86,7 +86,6 @@ main (int argc, char **argv)
|
||||
|
||||
ADD_TEST (test_primitive, 0, 0);
|
||||
|
||||
ADD_TEST (test_pipeline_uniforms, 0, 0);
|
||||
ADD_TEST (test_snippets, 0, 0);
|
||||
ADD_TEST (test_custom_attributes, 0, 0);
|
||||
|
||||
|
@ -19,7 +19,6 @@ void test_read_texture_formats (void);
|
||||
void test_write_texture_formats (void);
|
||||
void test_alpha_textures (void);
|
||||
void test_primitive (void);
|
||||
void test_pipeline_uniforms (void);
|
||||
void test_snippets (void);
|
||||
void test_custom_attributes (void);
|
||||
void test_offscreen (void);
|
||||
|
@ -7,6 +7,7 @@ cogl_tests = [
|
||||
'test-backface-culling',
|
||||
'test-just-vertex-shader',
|
||||
'test-pipeline-user-matrix',
|
||||
'test-pipeline-uniforms',
|
||||
]
|
||||
|
||||
cogl_test_conformance_includes = [
|
||||
|
@ -2,8 +2,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "test-declarations.h"
|
||||
#include "test-utils.h"
|
||||
#include "tests/cogl-test-utils.h"
|
||||
|
||||
#define LONG_ARRAY_SIZE 128
|
||||
|
||||
@ -381,7 +380,7 @@ validate_long_pipeline_result (void)
|
||||
check_pos (15, 0xff0000ff);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
test_pipeline_uniforms (void)
|
||||
{
|
||||
TestState state;
|
||||
@ -414,3 +413,7 @@ test_pipeline_uniforms (void)
|
||||
if (cogl_test_verbose ())
|
||||
g_print ("OK\n");
|
||||
}
|
||||
|
||||
COGL_TEST_SUITE (
|
||||
g_test_add_func ("/pipeline/uniforms", test_pipeline_uniforms);
|
||||
)
|
Loading…
Reference in New Issue
Block a user