Reactor: Add self() method to LValue<T> and Array<T>
As LValue<T> overloads operator&(), there's no sensible way to get the address of the reactor type.
This is handy for storing a pointer to an Array or LValue in a field.
Bug: b/133213304
Change-Id: I950ee312005bc57187129f009578b8715973804a
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/33357Tested-by:
Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Showing
Please
register
or
sign in
to comment