Commit 36e6e27f authored by Lyude Paul's avatar Lyude Paul
Browse files

bifrost: Align special Uniform/Const value table

parent 4ad81209
...@@ -367,10 +367,10 @@ The uniform/const port also supports loading a few "special" 64-bit constants th ...@@ -367,10 +367,10 @@ The uniform/const port also supports loading a few "special" 64-bit constants th
[options="header"] [options="header"]
|============================ |============================
| Field value | Special constant | Field value | Special constant
| 00 | Always zero. | 00 | Always zero.
| 05 | Alpha-test data (used with ATEST) | 05 | Alpha-test data (used with ATEST)
| 06 | gl_FragCoord sample position pointer | 06 | gl_FragCoord sample position pointer
| 08-0f | Blend descriptors 0-7 (used with BLEND to indicate which output to blend with) | 08-0f | Blend descriptors 0-7 (used with BLEND to indicate which output to blend with)
|============================ |============================
The gl_FragCoord pointer is a pointer to an array, indexed by gl_SampleID in R61 (see the varying interpolation section), of 16-bit vec2's that when loaded with a normal LOAD instruction, gives the sample (xy) position used for calculating gl_FragCoord. The gl_FragCoord pointer is a pointer to an array, indexed by gl_SampleID in R61 (see the varying interpolation section), of 16-bit vec2's that when loaded with a normal LOAD instruction, gives the sample (xy) position used for calculating gl_FragCoord.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment