aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2018-11-22Add locations to the VERTEX_DATA commands. (#87)dan sinclair
Add locations to the VERTEX_DATA commands. The vertex data needs to know which location to bind too. This CL adds the LOCATION parameter to VERTEX_DATA and fixes up the vertex example.
2018-11-22Framebuffer updates (#89)dan sinclair
Framebuffer updates This Cl removes the FRAMEBUFFER commands from AmberScript and converts them into more generic buffer commands.
2018-11-22More AmberScript docs (#84)dan sinclair
More AmberScript docs Add BUFFER with a FORMAT. Shuffle some text around.
2018-11-21Allow for multi SPIR-V shaders (#86)dan sinclair
* Allow for multi SPIR-V shaders This CL updates AmberScript to allow SPIR-V to provide multiple shaders in a single SHADER block. This is done with a 'multi' shader type and an extension to ATTACH to specify the shader TYPE.
2018-11-21Fixup clear stencil value (#82)dan sinclair
The clear stencil value is a uint32_t and the clear depth value is a float. This CL clarifies the expected values and fixes up the stencil example to be the correct type. Fixes #81.
2018-11-20AmberScript updates to buffers (#66)dan sinclair
AmberScript updates to buffers
2018-11-20Add a fence_timeout option for VkScript. (#77)dan sinclair
This CL adds the `fence_timeout` option to VkScript to control the value passed for fence timeouts. The value must be an integer and is interpreted as number of milliseconds. Fixes #69.
2018-11-14AmberScript: Parse BUFFER commands. (#6)dan sinclair
This CL adds parsing for the various buffer commands available in AmberScript. BUFFER vertex my_buf DATA_TYPE vec2<int32> SIZE 5 FILL 0 BUFFER index my_buf DATA_TYPE int32 SIZE 5 SERIES_FROM 2 INC_BY 1 BUFFER framebuffer my_frame DIMS 256 256 BUFFER storage my_store DATA_TYPE uint32 DATA 1 2 3 4 5 END For each type, the internal buffer will be filled with the data before it leaves the parser. Fixes #5
2018-11-13Add syntax files for AmberDan Sinclair
2018-11-09Initial commit of Amber for open sourcedan sinclair
Amber is a multi-API shader test framework. Amber lets you capture and communicate shader bugs with the fluidity and ease of a scripting flow: * No graphics API programming is required. * WIP: Supports Vulkan and [Dawn][Dawn] graphics APIs. * A single text string (or file) maps to a single graphics API pipeline test case. The text includes: * Input data, including buffers and images. * Shaders. * Expectations for the result of running the pipeline. * Shaders can be expressed in binary form (as hex), in SPIR-V assembly, or in a higher level shader language. * After executing the pipeline, result buffers and images can be saved to output files. This is not an officially supported Google product.