From 7e2f9d42eebe13182918d832577c4f5ed96ab87b Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Thu, 25 Feb 2016 15:09:03 +0100 Subject: 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 --- examples/qt3d/compute-particles/ComputeMaterial.qml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'examples/qt3d/compute-particles') 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: [ -- cgit v1.2.3