Age | Commit message (Collapse) | Author |
|
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.
|
|
Framebuffer updates
This Cl removes the FRAMEBUFFER commands from AmberScript and converts
them into more generic buffer commands.
|
|
More AmberScript docs
Add BUFFER with a FORMAT. Shuffle some text around.
|
|
* 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.
|
|
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.
|
|
AmberScript updates to buffers
|
|
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.
|
|
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
|
|
|
|
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.
|