Tony Barbour
de5222a0da
Start with frame 2 for name, fix filenames
2014-12-02 14:44:58 -07:00
Tony Barbour
5f624818b4
Get Fetch+MVP+Texture working. Add FSTexture
2014-12-02 14:44:58 -07:00
Tony Barbour
28492bccab
Memset structs to 0 at init
2014-12-02 14:44:58 -07:00
Tony Barbour
a64f542e2f
tests:Use specified bindings for input buffers
2014-12-02 14:44:58 -07:00
Tony Barbour
ecbc93de75
tests:Uncomment / comment debug code
2014-12-02 14:44:58 -07:00
Tony Barbour
09b1ce0bad
tests:Rename buffers for clarity
2014-12-02 14:44:58 -07:00
Tony Barbour
756705601d
tests:More constant buffer object work
2014-12-02 14:44:58 -07:00
Tony Barbour
d1265fed13
tests:New Object Oriented Infrastructure
...
tests:Clear depth stencil when drawing cube
Remove references to vtxBufferMem
tests:Add memoryReferenceManager
tests:Change tests to use memory reference manager
tests:Make slot info call generic
tests:Add images and samplers
tests:Add texture and sampler objects
tests:Add texture test
tests:Remove obsolete functions
Try to add texture to FetchAndMVP
tests:Handle multiple frames in save / compare
tests:Use more meaningful buffer names
tests:Input buffer changes for TriangleWithVertexFetch
tests:Input buffer management TWVertexFetchAndMVP
tests: Input buffer for TriangleWithVertexFetchAndMVPAndTexture
2014-12-02 14:44:58 -07:00
Jon Ashburn
52eaa8f918
layers: Add Multi layer with example of multiple layers per file.
2014-12-02 14:44:58 -07:00
Tobin Ehlis
c14d6843f6
tests: Added code to render_tests.cpp to dump dot files using DrawState layer
...
Code blocks are guarded by DUMP_STATE_DOT and off by default. For this code to function, you need to have the DrawState layer enabled.
2014-12-02 14:44:58 -07:00
Tobin Ehlis
dbd6c05208
layers: DrawState layer can dump complete State to Graphviz dot file format
...
DrawState features "drawStateDumpDotFile(char* filename)" extension which will trigger a dot file to be dumped including PSO, Descriptor Sets, and Dynamic State.
As a convenience, DrawState will dump pipeline_dump.dot automatically on first draw only. There are a few hacks to pull off the connection of Descriptor Set to the mapping, but for all of our tests this seems to be working.
Also fixed a few DrawState hangs due to mutex locking bugs.
2014-12-02 14:44:57 -07:00
Chia-I Wu
157947dbe5
tests: add CopyMemoryToImageBasic to XglBlitTest
...
The most basic xglCmdCopyMemoryToImage() test.
2014-11-28 00:23:41 +08:00
Chia-I Wu
2d809615aa
Revert "blit_test: Remove incomplete test"
...
This reverts commit 8fe9b6514f954ba9a3c33b1b3348662c041a3350. The test was
complete. The implementation wasn't.
2014-11-28 00:23:41 +08:00
Chia-I Wu
fc81a47c66
tests: add {Fill,Copy}MemoryLarge to XglBlitTest
...
Test copying and filling a large (32M) buffer.
2014-11-28 00:23:41 +08:00
Jon Ashburn
cf03401463
tests: Fix tests to allow more than one gpu to be returned from InitAndEnum
2014-11-26 11:23:00 -07:00
Tobin Ehlis
9e7c78b300
layers: Added APIDumpNoAddr layer that replaces variable addresses in API Dump w/ static "addr" string
2014-11-26 10:03:12 -07:00
Tobin Ehlis
a3c04222d4
layers: Updated layer names to be camelCase where name is contained in library file name as libXGLLayer<NAME>.so
2014-11-26 10:03:12 -07:00
Jon Ashburn
59aeebb7e2
Add reserved parameter to xglEnumerateLayers for layer usage
...
This parameter can be used by layer for getting GPA and gpu info queries.
Also add xglEnumerateLayers() to Basic layer, to show example of only
supporting a particular GPU.
2014-11-26 10:03:12 -07:00
Jon Ashburn
929ba6ce2e
layers: Update xglEnumerateLayers() to work with layer names
...
Use layer names in the librarires rather than library filenames.
2014-11-26 10:03:12 -07:00
Jon Ashburn
7af042e4c4
loader: Make layer names be independent of layer library filename
...
Also change env var from LIBXGL_LAYER_LIBS to LIBXGL_LAYER_NAMES
since the layer name rather than library name is given.
2014-11-26 10:03:12 -07:00
Jon Ashburn
f7f2c4b2a3
loader: Change ActivateLayers name to be consistent with rest of loader
2014-11-26 10:03:12 -07:00
Chia-I Wu
3a2f76a42b
tests: add CopyMemoryHazard to XglBlitTest
...
Copying A to B, then copying B to C. A and C should be the same.
2014-11-26 10:03:12 -07:00
Tobin Ehlis
24f6ccf9a1
layers: Add thread ID to API dump messages
...
Initial code from Jon and I added indexing so TID stays in 0-512 range and will be the same on consecutive runs with a single thread.
2014-11-26 10:03:12 -07:00
Jon Ashburn
1114a08500
tests: Fix uninitialized pDataSize for GetImageSubres and GetObjectInfo
2014-11-26 10:03:12 -07:00
Tobin Ehlis
06f95b3763
layers: For APIFileDump, overwrite an existing file rather than always appending.
2014-11-26 10:03:12 -07:00
Tobin Ehlis
13ad5ffcbe
layers: Added mutex for APIDump[File] layers to guard prints.
2014-11-26 10:03:12 -07:00
Tobin Ehlis
56a26ce6e5
layers: Struct printing improvements for "pNext" struct chains
2014-11-26 10:03:12 -07:00
Chia-I Wu
947a6eb0e9
build: remove icd-dispatch-table.h generation from loader
...
It was added by d43f9b6658a3cc2115fd9db118f6fd51acf09379 but it did not seem
to be needed.
2014-11-26 10:03:12 -07:00
Tobin Ehlis
f6c5891808
layers: Fix API Dump to handle xglWsiX11CreatePresentableImage() which has 2 output params.
2014-11-26 10:03:12 -07:00
Jon Ashburn
7b98a0a73e
tests: Fix initialization of descriptor set mapping in pipeline shader structs
2014-11-26 10:03:12 -07:00
Courtney Goeltzenleuchter
4d6b278054
xgl: Ignore generated header files
2014-11-26 10:03:12 -07:00
Courtney Goeltzenleuchter
27a138db5b
layers: Add flush to apidump to see output while debugging
2014-11-26 10:03:12 -07:00
Courtney Goeltzenleuchter
4d9be27074
layers: Fix apidump buffer overruns
2014-11-26 10:03:11 -07:00
Courtney Goeltzenleuchter
cbf8ba08c7
xgl: Update README with current status
2014-11-26 10:00:50 -07:00
Tobin Ehlis
17b811c1ef
layers: Update ObjectTracker layer to be generated and support callbacks
...
Added some code to render_tests.cpp to support Dbg callbacks and ObjectTracker extensions, but code is #defined off by default.
2014-11-21 16:49:40 -07:00
Cody Northrop
184de38e4b
compiler_render_tests: Allow --no-BIL to work, except for tests that require GLSL
2014-11-21 16:49:40 -07:00
Jon Ashburn
789cd68adc
Make the Dbg xgl global calls use dispatch table for layer support
...
xglDbgRegisterMsgCallbacks, xglDbgUnregisterMsgCallbacks,
xglDbgSetGlobalOptions dispatched via dispatch table so layers can
intercept these calls. Also add support for these calls being dispatched
to different icd functions based on gpu for icd's which may want different
functions per gpu.
2014-11-21 16:49:40 -07:00
Tobin Ehlis
a9b07455a7
layers: Make APIDumpFile layer fully generated
2014-11-21 16:49:39 -07:00
Tobin Ehlis
b69ef03d9b
layers: Use xgl-layer-generate.py to generate the generic layer
2014-11-21 16:49:39 -07:00
Tobin Ehlis
7e8bd5f37f
layers: Updated APIDump Layer and made it fully generated.
2014-11-21 16:49:39 -07:00
Tobin Ehlis
17c2ff85b3
layers: Improve handling of printing embedded structs in generated string helper functions.
2014-11-21 16:49:39 -07:00
Tobin Ehlis
d76f7b77cb
layers: Restore dynamic malloc fix in xgl-helper.py
2014-11-21 16:49:39 -07:00
Tobin Ehlis
99a85773f3
layers: Actual auto-gen of print helper code used by layers
2014-11-21 16:49:39 -07:00
Chia-I Wu
12df1bacb9
update to the latest vertex fetch proposal
...
The main difference is that XGL_SLOT_VERTEX_INPUT is replaced by
xglCmdBindVertexData. This actually simplifies the driver, which can be seen
with:
$ git show icd/intel/
The new proposal also adds some new formats, but they are ignored for now
because they are marked TBD.
2014-11-21 16:49:39 -07:00
Chia-I Wu
eda2e817f9
wsi_x11: add xcb_window_t to xglWsiX11GetMSC()
...
To match XGL_WSI_X11_PRESENT_INFO and allow xcb_crtc_id to be XCB_NONE.
2014-11-21 16:49:39 -07:00
Tobin Ehlis
f4475c0e83
layers: Added APIFileDump and MemTracker layers and fix DrawState
2014-11-21 16:49:39 -07:00
Courtney Goeltzenleuchter
afcd4ac62f
layers: Fix memory overrun issue causing segfault.
2014-11-21 16:49:39 -07:00
GregF
3a04604321
Deleted ClipDistance testg as it is redundant with TexturedTriangleClip.
2014-11-21 16:48:57 -07:00
GregF
d10a115d3e
Fixed TexturedTriangleCD and upgraded to actually clip the top corner
...
of the triangle. Also renamed test to TexturedTriangleClip.
2014-11-21 16:48:57 -07:00
GregF
ced1b10083
Improve ClipDistance test to use a user varying from VS to FS and
...
to actually clip a corner of a triangle.
2014-11-21 16:48:57 -07:00