This works in a single pass, and supports both toplevel and member decorations. Includes support for 5 new opcodes: - OpDecorate introduces a single decoration for a toplevel id. - OpMemberDecorate introduces a single decoration for a <id, memberIndex> pair. - OpDecorationGroup introduces a new value category which has no representation downstream at all. This is safely implemented by doing nothing at all [we don't need to be able to introspect later]. - OpGroupDecorate applies all decorations in a decoration group to each of a list of other ids. - OpGroupMemberDecorate applies all decorations in a decoration group to each of a list of members (<id>, memberIndex pairs). Bug: b/120799499 Change-Id: Iaea970b23348e70d57ddb96a4df0726cfb511e03 Reviewed-on: https://swiftshader-review.googlesource.com/c/23174Tested-by:Chris Forbes <chrisforbes@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Constants.cpp | Loading commit data... | |
| Constants.hpp | Loading commit data... | |
| PixelProgram.cpp | Loading commit data... | |
| PixelProgram.hpp | Loading commit data... | |
| PixelRoutine.cpp | Loading commit data... | |
| PixelRoutine.hpp | Loading commit data... | |
| PixelShader.cpp | Loading commit data... | |
| PixelShader.hpp | Loading commit data... | |
| SamplerCore.cpp | Loading commit data... | |
| SamplerCore.hpp | Loading commit data... | |
| SetupRoutine.cpp | Loading commit data... | |
| SetupRoutine.hpp | Loading commit data... | |
| Shader.cpp | Loading commit data... | |
| Shader.hpp | Loading commit data... | |
| ShaderCore.cpp | Loading commit data... | |
| ShaderCore.hpp | Loading commit data... | |
| SpirvShader.cpp | Loading commit data... | |
| SpirvShader.hpp | Loading commit data... | |
| VertexProgram.cpp | Loading commit data... | |
| VertexProgram.hpp | Loading commit data... | |
| VertexRoutine.cpp | Loading commit data... | |
| VertexRoutine.hpp | Loading commit data... | |
| VertexShader.cpp | Loading commit data... | |
| VertexShader.hpp | Loading commit data... |