Commit 65b019d4 authored by Robert Maynard's avatar Robert Maynard

raytracing intersector kernels use FieldOut where appropriate.

Previously a couple used FieldInOut when they only needed FieldOut,
this can help performance if the input is not already on the device
parent 7ba3c667
......@@ -387,7 +387,7 @@ public:
invDeltaScalar = 1.f / minScalar;
}
typedef void ControlSignature(FieldIn<>,
FieldInOut<>,
FieldOut<>,
WholeArrayIn<ScalarRenderingTypes>,
WholeArrayIn<>);
typedef void ExecutionSignature(_1, _2, _3, _4);
......
......@@ -275,7 +275,7 @@ public:
invDeltaScalar = 1.f / minScalar;
}
typedef void ControlSignature(FieldIn<>,
FieldInOut<>,
FieldOut<>,
WholeArrayIn<ScalarRenderingTypes>,
WholeArrayIn<>);
typedef void ExecutionSignature(_1, _2, _3, _4);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment