diff options
author | asuonpaa <34128694+asuonpaa@users.noreply.github.com> | 2019-11-23 17:24:52 +0200 |
---|---|---|
committer | dan sinclair <dsinclair@google.com> | 2019-11-23 10:24:52 -0500 |
commit | 2bf7d7b640c18fc2cbb70f24a99a5a744af7af7e (patch) | |
tree | b9cef17681090771b3d1a319d752040f3db8e61b /docs | |
parent | 8122b09cf0163f5b7bf77d33e901e960c2f0e64c (diff) | |
download | amber-2bf7d7b640c18fc2cbb70f24a99a5a744af7af7e.tar.gz |
Added combined image sampler support (#713)
Fixes #711
Diffstat (limited to 'docs')
-rw-r--r-- | docs/amber_script.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/amber_script.md b/docs/amber_script.md index 5eeaa5b..83ca76a 100644 --- a/docs/amber_script.md +++ b/docs/amber_script.md @@ -262,14 +262,16 @@ contain image attachment content, depth/stencil content, uniform buffers, etc. BIND BUFFER {buffer_name} AS {buffer_type} DESCRIPTOR_SET _id_ \ BINDING _id_ - # Attach |buffer_name| as a storage image. The provided buffer must - # be a `FORMAT` buffer. + # Attach |buffer_name| as a storage image. BIND BUFFER {buffer_name} AS storage_image - # Attach |buffer_name| as a sampled image. The provided buffer must - # be a `FORMAT` buffer. + # Attach |buffer_name| as a sampled image. BIND BUFFER {buffer_name} AS sampled_image + # Attach |buffer_name| as a combined image sampler. A sampler |sampler_name| + # must also be specified. + BIND BUFFER {buffer_name} AS combined_image_sampler SAMPLER {sampler_name} + # Bind the sampler at the given descriptor set and binding. BIND SAMPLER {sampler_name} DESCRIPTOR_SET _id_ BINDING _id_ |