上QQ阅读APP看书,第一时间看更新
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The buffer
keyword denotes the type of the interface block."
A block of code is set as follows:
layout(std430, binding = 0) buffer InputBufferA{float inA[];}; layout(std430, binding = 1) buffer InputBufferB{float inB[];}; layout(std430, binding=2) buffer OutputBuffer{float outBuffer[];};
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
layout(std430, binding = 0) buffer InputBufferA{float inA[];};
layout(std430, binding = 1) buffer InputBufferB{float inB[];};
layout(std430, binding=2) buffer OutputBuffer{float outBuffer[];};
New terms and important words are shown in bold.