jpekkila
|
0ccd4e3dbc
|
Major improvement: uniforms can now be set to default values. The syntax is the same as for setting any other values, f.ex. 'uniform Scalar a = 1; uniform Scalar b = 0.5 * a;'. Undefined uniforms are still allowed, but in this case the user should load a proper value into it during runtime. Default uniform values can be overwritten by calling any of the uniform loader funcions (like acDeviceLoadScalarUniform). Improved also error checking. Now there are explicit warnings if the user tries to load an invalid value into a device constant.
|
2020-01-28 18:17:31 +02:00 |
|
jpekkila
|
ff12332f06
|
Clarified the syntax for real number literals. 1.0 is the same precision as AcReal, 1.0f is an explicit float and 1.0d is an explicit double.
|
2019-10-07 18:24:32 +03:00 |
|
jpekkila
|
c8e0586b60
|
Renamed the old .sas and .sdh files to regular headers and added #pragma once.
|
2019-10-07 17:17:26 +03:00 |
|
jpekkila
|
48c6174319
|
Added error checks to stdderiv.h
|
2019-10-07 16:59:58 +03:00 |
|
jpekkila
|
0e1d1b9fb4
|
Some optimizations for DSL compilation. Also a new feature: Inplace addition and subtraction += and -= are now allowed
|
2019-10-07 16:33:24 +03:00 |
|
jpekkila
|
d97f5b59ba
|
Rewrote the Astaroth DSL compiler. More information and cleanup in the next commits.
|
2019-10-07 15:43:20 +03:00 |
|
jpekkila
|
b0162bdea0
|
Added DSL versions of the basic derivative operations (placeholder)
|
2019-10-02 21:09:36 +03:00 |
|