diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-02-25 15:09:03 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-02-26 09:45:12 +0000 |
commit | 7e2f9d42eebe13182918d832577c4f5ed96ab87b (patch) | |
tree | cee2c929e6a1fe365d3a290067fe0ab935069162 /src/render/geometry/attribute_p.h | |
parent | 473fb46f44d4225675c5d903501a7cb9ee6b8258 (diff) |
Remove ParameterMapping
* Bindings are now entirely deduced from shader introspection
* Modified the BackendNodeDirtyFlags to remove the class at this
prevents the operator~() to be called
* Make the Renderer loop check for the ComputeDirty flag and
don't unset it if set
Note: uses a hack to reset m_changeSet in performCompute as right know
we are sometimes missing the markDirty(ComputeDirty) set by the ComputeJob nodes.
Will be sorted out later.
Change-Id: Ic4fa71ecf01b625e885a58a66278387bf5b36339
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/geometry/attribute_p.h')
-rw-r--r-- | src/render/geometry/attribute_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/geometry/attribute_p.h b/src/render/geometry/attribute_p.h index dcf321be8..10fda4542 100644 --- a/src/render/geometry/attribute_p.h +++ b/src/render/geometry/attribute_p.h @@ -73,6 +73,7 @@ public: inline Qt3DCore::QNodeId bufferId() const { return m_bufferId; } inline QString name() const { return m_name; } + inline int nameId() const { return m_nameId; } inline QAttribute::DataType dataType() const { return m_dataType; } inline uint dataSize() const { return m_dataSize; } inline uint count() const { return m_count; } @@ -86,6 +87,7 @@ public: private: Qt3DCore::QNodeId m_bufferId; QString m_name; + int m_nameId; QAttribute::DataType m_dataType; uint m_dataSize; uint m_count; |