summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/compute-particles
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-02-25 15:09:03 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-02-26 09:45:12 +0000
commit7e2f9d42eebe13182918d832577c4f5ed96ab87b (patch)
treecee2c929e6a1fe365d3a290067fe0ab935069162 /examples/qt3d/compute-particles
parent473fb46f44d4225675c5d903501a7cb9ee6b8258 (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 'examples/qt3d/compute-particles')
-rw-r--r--examples/qt3d/compute-particles/ComputeMaterial.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/qt3d/compute-particles/ComputeMaterial.qml b/examples/qt3d/compute-particles/ComputeMaterial.qml
index f4ac1105a..01fef2bd9 100644
--- a/examples/qt3d/compute-particles/ComputeMaterial.qml
+++ b/examples/qt3d/compute-particles/ComputeMaterial.qml
@@ -100,10 +100,6 @@ Material {
shaderProgram: drawShader
// We assume the mesh to be drawn will also receive
// Vertex buffers attributes that will be used to position and color
- bindings: [
- ParameterMapping { parameterName: "particlePosition"; shaderVariableName: "particlePosition"; bindingType: ParameterMapping.Attribute },
- ParameterMapping { parameterName: "particleColor"; shaderVariableName: "particleColor"; bindingType: ParameterMapping.Attribute }
- ]
}
]
annotations: [