Commit 01cfb98
Add a new property to LinkedUniform struct
The new property isTransformedFloat will be used by front end
API to determine if we should transform 32-bit float to 16-bit float
before writing to memory, and transform 16-bit float to 32-bit float
after reading from memory. The property value will be passed from
UsedUniform (child struct of ShaderVariable) object in
UniformLinkder::getResults().
This CL is no op.
Bug: angleproject:405795981
Change-Id: Ic4908712f5fa56cb657206a25d9d618b51ac6322
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6851554
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>1 parent 20dca0b commit 01cfb98
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | | - | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
0 commit comments