Closed WannaBeKratos closed 1 year ago
After some investigating i found out what -4 is but I'm having trouble translating `const rpr_context_properties g_contextProperties[] = {
// define the precompiled kernels folder.
// for most of the tutorials, the path will be <working directory>../../hipbin/*****.hipbin
// ( check the readme for more information about precompiled kernels )
(rpr_context_properties)RPR_CONTEXT_PRECOMPILED_BINARY_PATH,
(rpr_context_properties)"../../hipbin",
// terminate the list of properties with a NULL <property name>
(rpr_context_properties)0,
};into rust code here is my sample:
[rpr_context_info_RPR_CONTEXT_PRECOMPILED_BINARY_PATH as rpr_context_properties,"./hipbin/\0".as_ptr() as rpr_context_properties,0 as rpr_context_properties].as_ptr() as *const rpr_context_properties;`
I found out the issue, but I'm getting some weird values [0, 0, 0, 1065353216, 0, 0, 0, 1065353216, 0, 0, 0, 1065353216,
(Rust) via bindings. Im getting an rpr_status -4 when calling rprContextRender on Northstar on Tahoe not, but I'm getting a black render. rpr_status -4 is undocumented on rpr_status any advice ? After some testing it seems to be a gpu issue, I'm using Nvidia with the latest drivers. Im also getting a weird render
![31_temp](https://user-images.githubusercontent.com/77170000/236680888-680ca379-c40d-4b56-a30b-00c59f95e4ba.jpg)