summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)AuthorFilesLines
2015-12-15cru: Add support for logging PIDs of child processesJason Ekstrand1-3/+4
2015-12-11cmd/ls-example-tests: Remove commandChad Versace1-1/+1
It's no longer needed because crucible-ls-tests now lists *all* tests.
2015-12-08cru: Also use gen_image for croppingJason Ekstrand1-0/+2
2015-12-08gen_image: Take an operation parameterJason Ekstrand1-1/+6
2015-12-08gen_image: Use python OpenCV instead of ImageMagickJason Ekstrand1-23/+13
Python with opencv provides us a lot more control of what's going on and its interface shouldn't change arbitrarily.
2015-12-07cmd/run: Add option --junit-xmlChad Versace1-0/+1
From crucible-run man page: --junit-xml=<junit-xml-file> Write JUnit XML to the given file. The option is just a stub. It doesn't do anything yet but print a FINISHME.
2015-12-02vk/0.210.0: Remove the VkShaderStage enumJason Ekstrand1-1/+1
2015-12-02vk/0.210.0: Remove VkShaderJason Ekstrand1-10/+11
2015-10-19cru/report: Add support for reporting the results of a single runJason Ekstrand1-28/+49
2015-10-06vk/0.170.2: Add a stage field to ShaderCreateInfoJason Ekstrand1-0/+2
2015-09-05misc/glsl_scraper: Don't handle exceptions gracefullyJason Ekstrand1-9/+1
It used to be that, of glslang couldn't compile a shader, we would gracefully fall back to glsl. However, since we no longer support GLSL in our driver, this isn't really an option anymore. Therefore, it makes no sense to handle these errors gracefully and we should instead let the test author know that we can't compile it.
2015-09-04misc/glsl_scraper: Encode the compile error in formation in the exceptionJason Ekstrand1-3/+8
2015-09-02crucible-report: Allow each run's set of tests to differChad Versace1-6/+4
crucible-report crashed with an assertion if the two run's set of tests differed. This made it impossible to compare results from two Crucible revisions if tests were added/deleted/renamed between those revisions.
2015-08-31crucible-runner: Add colors for statusesJason Ekstrand1-8/+23
This should make it just a little easier to seee what's going on in test results. And colored results are far cooler than black-and-white ones.
2015-08-31crucible-report: Use a dictionary for status scoresJason Ekstrand1-12/+7
2015-08-28cru: Use glslc instead of glslangValidator for GLSL -> SPIR-V compilationJason Ekstrand1-75/+47
The shaderc project from Google (https://github.com/google/shaderc) provides a glslang wrapper program called 'glslc' that has a much improved command-line interfacce. In particular, we no longer have to read and write files with specific names to a temporary directory in order to compile shaders. This should make the build process substantially smoother at the expense of having to install a tool.
2015-08-28glsl_scraper: Dedent GLSL sourceJason Ekstrand1-1/+1
2015-08-28glsl_scraper: Use python3Jason Ekstrand1-8/+8
2015-08-28misc: Add a simple reporting utilityJason Ekstrand1-0/+87
2015-08-27cmd/dump-image: Add new commandChad Versace1-1/+7
crucible-dump-image dumps an image file to an ASCII table that displays each pixel's bytes. This proved immensely useful when inspecting stencil buffers.
2015-08-11crucible-run: Teach bash completion about -j, --jobsChad Versace1-0/+1
2015-08-01crucible-run: Add option --isolation=<method>Chad Versace1-0/+1
Used to control whether the runner starts each test in its own process or its own thread.
2015-07-31crucible-run: Add flag --no-separate-cleanup-threadsChad Versace1-1/+13
If separate cleanup threads are disabled, then each test's cleanup handlers will run inside the test's "result" thread. If enabled, then the "result" thread will create a new thread in which to run the cleanup handlers. Tested by: * Inspecting `crucible run --no-separate-cleanup-threads func.draw-indexed` in gdb. * Confirming the result totals are the same with and without --no-separate-cleanup-threads.
2015-07-31crucible-run: Add cmdline flags --fork, --no-forkChad Versace1-1/+1
This controls whether the test runner's master process forks or not. Tested with: * crucible run --no-fork func.draw-indexed Test passes. * crucible run --no-fork Test func.cmd-buffer.small-secondaries crashes the testrun.
2015-07-23data: Import 2 photos and generate grayscale imagesChad Versace1-0/+58
Import the jpegs files, taken from my camera: grass-2014x1536.jpg pink-leaves-3264x2448.jpg Use ImageMagick at buildtime to generate grayscale PNG images from the JPEG files. Generate an image for each miplevel, beginning with the base level extent 2048x1024. Images will be used to fill depth and stencil miptrees.
2015-06-25cru: Teach bash completion about --use-spir-vChad Versace1-1/+1
2015-06-24glsl_scraper: Dump the SPIR-V assembly code as a comment in the headerJason Ekstrand1-3/+20
2015-06-24glsl_scraper: Gracefully fall back to GLSL-only if a shader fails toJason Ekstrand1-4/+16
compile.
2015-06-24glsl_scraper: Use GLSL version 4.30 for passing off to glslangJason Ekstrand1-1/+1
This way compute shaders are valid.
2015-06-24glsl_scraper: Auto-generate the actual QoShaderCreateInfo objectJason Ekstrand1-12/+20
2015-06-24glsl_scraper: Refactor the C code dumpingJason Ekstrand1-10/+13
2015-06-24qonos: Add a QoShaderCreateInfo struct with both GLSL and SPIR-V sourceJason Ekstrand1-5/+5
By default, we'll prefer the GLSL source for now.
2015-06-04qonos: Add a GLSL scraper and a qoCreateShaderGLSL macroJason Ekstrand1-0/+277
2015-05-22cru/run: Add cmdline option --dumpChad Versace1-1/+1
Add options --dump and --no-dump to crucible-run. The options enable or disable duming images into Crucible's data directory. Also define a new test function, t_dump_image(), that respects the cmdline option. The function is unused for now, but will be used in follow-up patches.
2015-05-22Code dropChad Versace1-0/+55