-
Notifications
You must be signed in to change notification settings - Fork 71
AmberScript and README updates #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,8 +98,6 @@ either image buffers or, what the target API would refer to as a buffer. | |
| * vec[2,3,4]\<type> | ||
| * mat[2,3,4]x[2,3,4]\<type> -- useful? | ||
|
|
||
| TODO(dneto): Support half-precision floating point. | ||
|
|
||
| Sized arrays and structures are not currently representable. | ||
|
|
||
| ``` | ||
|
|
@@ -118,8 +116,6 @@ BUFFER <name> DATA_TYPE <type> SIZE <size_in_items> <initializer> | |
| BUFFER <name> FORMAT <format_string> | ||
| ``` | ||
|
|
||
| TODO(dsinclair): Does framebuffer need a format attached to it? | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. framebuffer doesn't exist anymore. |
||
|
|
||
| #### Buffer Initializers | ||
|
|
||
| ``` | ||
|
|
@@ -142,7 +138,7 @@ The COPY command copy all data, values and memory from <buffer_from> to | |
| COPY <buffer_from> TO <buffer_to> | ||
| ``` | ||
|
|
||
| Both buffers must be declared, and of the same type. | ||
| Both buffers must be declared, and of the same data type. | ||
|
|
||
| Buffers used as copy destination can be used only as copy destination, and as | ||
| argument to an EXPECT command. | ||
|
|
@@ -207,8 +203,6 @@ The following commands are all specified within the `PIPELINE` command. | |
| * uniform | ||
| * storage | ||
|
|
||
| TODO(dsinclair): Reserve `input` as a buffer type for input attachments. | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Colour attachments aren't a buffer type, they're done with ATTACH now.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Input attachments are not colour attachments. They are another kind of attachment with their own index space. See InputAttachmentIndex decoration in SPIR-V. But point taken, the syntax should be something like: (reusing LOCATION here, but could just as well be INDEX.) |
||
|
|
||
| TODO(dsinclair): Sync the BufferTypes with the list of Vulkan Descriptor types. | ||
|
|
||
| A `pipeline` can have buffers bound. This includes buffers to contain image | ||
|
|
@@ -348,9 +342,7 @@ CLEAR <pipeline> | |
|
|
||
| #### Comparators | ||
| * EQ | ||
| * EQ\_FLOAT | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure these are useful, so removing for now. |
||
| * NE | ||
| * NE\_FLOAT | ||
| * LT | ||
| * LE | ||
| * GT | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An upcoming CL allows this to be a image format as well. So this could be done with R16_SFLOAT as the format.