* Grading ops related improvements.
Improve uniforms implementation and usage.
- Use vector (instead of array) for variable size containers name.
- Introduce Float3.
- Replace int2 container by int vector.
- Reuse the Uniform structure in the glsl implementation.
Precompute grading primary values to simplify to simplify renderers.
Fix GradingRGBCurveOpGPU uniform declaration for offsets and adjust to VectorInt.
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fix merge issue
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fix alignement
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
* Adsk Contrib - Add processor caches and improve the context variable support
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
* Fix merge issues with the Grading pull request
Signed-off-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
* Follow up on conflicting merges
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
* Some changes following the code review
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
* Add grading ops
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fixing build issues
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Build issue (forgot these)
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Python test syntax
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Adjust error for a non SSE test failure on linux
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fix build break after merge (validate instead of sanaityCheck)
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Revert find module patch
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Instead of trying to revert the commit before the merge, use master version of the files.
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* When style of GradingTone is changed, values are reset to defaults, but precomputed values might not be updated until the values are modified.
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Uniforms for offsets for grading curves are declared with the right size, but the getSize was wrong with the risk of not updating some offset values.
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>