Commit Graph

3810 Commits

Author SHA1 Message Date
GregF
221cc847c5 Add ClipDistance and TextureTriangleCD tests. 2014-11-21 16:48:57 -07:00
GregF
fbf8e47883 Changed TriVertFetchDeadAttr to not use "pos" in slot 0, which seems like
a slightly stronger test than slot 1.
2014-11-07 16:42:07 -07:00
GregF
30b827971d Change TriangleWithVertexFetch test to reverse declaration order of
attributes (but not change location). This should not change the result
of the test.
2014-11-07 16:42:07 -07:00
Cody Northrop
a1eee60f67 compiler_render_tests: Add anonymous block test
Also sprinkle in some sparse bindings, although not used in test
by default.
2014-11-05 17:11:33 -07:00
Cody Northrop
3ef2fd9812 test_framework: Print glslang log on parse or link failure 2014-11-05 17:11:33 -07:00
GregF
7f0fbb19cc Add TriVertFetchDeadAttr to test vertex attribute linkage works in the
presence of gl_VertexID and an unused attribute.
2014-11-03 17:15:20 -07:00
GregF
fc1413ce45 Added TriVertFetchAndVertID to test user attributes in presence of gl_VertexID 2014-11-03 17:14:10 -07:00
GregF
842d372575 In test Textured Triangle, change gl_FragColor to user outColor with location
0.
2014-11-03 17:13:09 -07:00
Courtney Goeltzenleuchter
56a5e4a60d compiler_tests: Test explicit location on frag output
Added TexTriWithLocFragOut test to test explicit location on fragment
outputs.
2014-11-03 15:44:32 -07:00
Courtney Goeltzenleuchter
b3af4e76af compiler_test: use float varying for scale instead of vec4 2014-11-03 15:40:13 -07:00
JensOwen
85af72c1b4 Update Intel Driver README
Update Intel Driver README and add a specific README for the compiler
2014-11-01 14:05:50 -06:00
JensOwen
52cbbefd0e formatting 2014-11-01 13:19:54 -06:00
JensOwen
5dc942cb7b fix build instructions 2014-11-01 13:18:21 -06:00
JensOwen
09cdd32199 fix formatting 2014-11-01 13:11:50 -06:00
JensOwen
c121fcddaa Build Direction
add link in top level readme to build info, and put a place holder in
for demo/readme
2014-11-01 13:05:43 -06:00
JensOwen
b708beccdc Test removal of newlines 2014-11-01 12:21:06 -06:00
JensOwen
68fa03b168 fixed typo 2014-11-01 09:39:46 -06:00
JensOwen
67526fb4d0 fixed typos 2014-11-01 09:37:13 -06:00
JensOwen
5700260066 v 0.2
First Pass at Version 0.2 Readme
2014-11-01 09:28:29 -06:00
Courtney Goeltzenleuchter
16736c3ddc tests: Can now check for extension we support. 2014-10-31 16:16:00 -06:00
Courtney Goeltzenleuchter
f35a42c5b1 blit_test: Remove incomplete test
Will restore test when driver functionality is ready.
2014-10-31 16:01:07 -06:00
Courtney Goeltzenleuchter
770eb7cc20 render_tests: Remove broken test 2014-10-31 15:29:20 -06:00
Courtney Goeltzenleuchter
12161aa7b7 render_tests: remove unneeded or obsolete tests
Now that BIL is on by default do not need BIL specific tests.
Others removed because they are duplicates or not testing
functionality interesting to XGL.
2014-10-31 15:29:20 -06:00
Courtney Goeltzenleuchter
e692368974 testframework: Enable BIL as default
Also added --no-BIL option to use built-in GLSL compiler.
2014-10-31 15:29:20 -06:00
Mike Stroyan
5fd1ffd2e5 Document build dependencies and demos 2014-10-31 15:29:20 -06:00
Courtney Goeltzenleuchter
15536c0f0f tests: Add more detailed failure data for blit test 2014-10-31 15:29:20 -06:00
Cody Northrop
7e060a231b Clean up: convert compiler_render_tests to all use BIL, remove redundant tests 2014-10-31 15:29:19 -06:00
Cody Northrop
90417f8371 compiler_render_tests: Turn on test that uses sampler bindings and multiple textures 2014-10-31 15:29:19 -06:00
Cody Northrop
88ef4cc8a8 compiler_render_tests: Add test that pulls from uniform buffer based on binding 2014-10-31 15:29:19 -06:00
Courtney Goeltzenleuchter
59cc7eb6ee tests: Add descriptions to some of the tests. 2014-10-31 15:29:19 -06:00
Courtney Goeltzenleuchter
157897d9b5 tests: Refactor common code to test method 2014-10-31 15:29:19 -06:00
Courtney Goeltzenleuchter
08b8c96a0f tests: Remove bad test
Had two slightly different shaders that were returning
different outputs. Now understand differences and
this commit eliminates the test with poorly defined
results (i.e. does not use a location for the mat4
uniform and thus cannot count on where it is.)
2014-10-31 15:29:19 -06:00
Courtney Goeltzenleuchter
6c4ccad9a4 tests: Add helper macro for tagging tests with a description 2014-10-31 15:29:19 -06:00
Courtney Goeltzenleuchter
39e3ce1961 tests: Clean up and bug fixes
Copy correct amount of data to data buffer.
Misc code format cleanup
Update TriangleVSUniform to use uniform block.
For some reason the previous plain uniform mat4 mvp
was no longer working so added that as a separate
test to debug.
Changing the order of the matrix multiply
(mat4 * vec) vs. (vec * mat4) does allow the plain
uniform case to work - but that really shouldn't matter.
Something odd going on.
2014-10-31 15:29:19 -06:00
Courtney Goeltzenleuchter
4f18d82efe tests: Add XGL Triangle test 2014-10-31 15:29:18 -06:00
Chia-I Wu
f90b7e7da7 tests: add basic blit (copy, clear, and resolve) tests 2014-10-31 15:29:18 -06:00
Chia-I Wu
1dc0400941 tests: allow image tiling to be specified
Add tiling to XglImage::init() with default value XGL_LINEAR_TILING.
2014-10-31 15:29:18 -06:00
Courtney Goeltzenleuchter
66cee66b91 tests: update to match render_test order 2014-10-31 15:29:18 -06:00
Tobin Ehlis
34d12f76b1 Add xglDestroyDevice() call to test framework. 2014-10-31 15:29:18 -06:00
GregF
39393040ae added BIL_MixTriangle test. This tests support for location on varyings
through BIL.
2014-10-31 15:29:18 -06:00
GregF
3f5aada1a7 Add MixTriangle test which tests explicit locations on varyings. 2014-10-31 15:29:18 -06:00
Cody Northrop
d36a71978f compiler_render_tests: Add a simple VS texturing test 2014-10-31 15:29:18 -06:00
Chia-I Wu
5c178cabe0 demos: add tri 2014-10-31 15:29:17 -06:00
Courtney Goeltzenleuchter
5c2b815777 tests: Start using XGL blit 2014-10-31 15:29:17 -06:00
Courtney Goeltzenleuchter
ea94c262fe tests: Start adding spinning cube test 2014-10-31 15:29:17 -06:00
Courtney Goeltzenleuchter
ca89c91eb2 test-framework: make color and depth binding info accessible 2014-10-31 15:29:17 -06:00
Courtney Goeltzenleuchter
9a34e263a3 test-framework: Make ReadFile available to tests 2014-10-31 15:29:17 -06:00
Courtney Goeltzenleuchter
77bc5a4775 test-framework: minor whitespace cleanup 2014-10-31 15:29:17 -06:00
Cody Northrop
9a901c0b65 compiler_render_tests: Clean up single texture test a bit 2014-10-31 15:29:17 -06:00
Cody Northrop
7f3ce56a9c compiler_render_tests: Turn on VS and FS uniform block tests 2014-10-31 15:29:17 -06:00