diff options
author | Jesse Natalie <jenatali@microsoft.com> | 2022-01-02 11:56:09 -0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-01-26 01:31:35 +0000 |
commit | 6c58e1f448c5ff897b67315fbb5245ebde92e844 (patch) | |
tree | 217a1098c98c4873de14742631958a13797c0d58 | |
parent | f511354a643464b668b15586d9c56aa0c5ef9371 (diff) |
microsoft/compiler: Delete misleading TODO comments about semantic table
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Bill Kristiansen <billkris@microsoft.com>
We've been writing a valid semantic table for a while now.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14399>
-rw-r--r-- | src/microsoft/compiler/dxil_container.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/microsoft/compiler/dxil_container.c b/src/microsoft/compiler/dxil_container.c index 2e2c44558cb..36ae33f9797 100644 --- a/src/microsoft/compiler/dxil_container.c +++ b/src/microsoft/compiler/dxil_container.c @@ -204,7 +204,6 @@ dxil_container_add_state_validation(struct dxil_container *c, uint32_t string_table_size = (m->sem_string_table->length + 3) & ~3u; size += sizeof(uint32_t) + string_table_size; - // Semantic index table size, currently always 0 size += sizeof(uint32_t) + m->sem_index_table.size * sizeof(uint32_t); if (m->num_sig_inputs || m->num_sig_outputs) { @@ -222,7 +221,6 @@ dxil_container_add_state_validation(struct dxil_container *c, // TODO: Add viewID records size - // TODO: Add sig input output dependency table size uint32_t dependency_table_size = 0; if (state->state.sig_input_vectors > 0) { for (unsigned i = 0; i < 4; ++i) { @@ -259,7 +257,6 @@ dxil_container_add_state_validation(struct dxil_container *c, !blob_write_bytes(&c->parts, &fill, string_table_size - m->sem_string_table->length)) return false; - // TODO: write the correct semantic index table. Currently it is empty if (!blob_write_bytes(&c->parts, &m->sem_index_table.size, sizeof(uint32_t))) return false; |