{"action":"closed","issue":{"url":"https://api.github.com/repos/embree/embree/issues/189","repository_url":"https://api.github.com/repos/embree/embree","labels_url":"https://api.github.com/repos/embree/embree/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/embree/embree/issues/189/comments","events_url":"https://api.github.com/repos/embree/embree/issues/189/events","html_url":"https://github.com/embree/embree/issues/189","id":316254451,"number":189,"title":"inexistent INTERSECT property and wrong docs (switching from 2.17 o 3.10)","user":{"login":"u56237z","id":2581292,"avatar_url":"https://avatars1.githubusercontent.com/u/2581292?v=4","gravatar_id":"","url":"https://api.github.com/users/u56237z","html_url":"https://github.com/u56237z","followers_url":"https://api.github.com/users/u56237z/followers","following_url":"https://api.github.com/users/u56237z/following{/other_user}","gists_url":"https://api.github.com/users/u56237z/gists{/gist_id}","starred_url":"https://api.github.com/users/u56237z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u56237z/subscriptions","organizations_url":"https://api.github.com/users/u56237z/orgs","repos_url":"https://api.github.com/users/u56237z/repos","events_url":"https://api.github.com/users/u56237z/events{/privacy}","received_events_url":"https://api.github.com/users/u56237z/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-20T12:49:08Z","updated_at":"2018-04-23T05:47:29Z","closed_at":"2018-04-23T05:47:29Z","author_association":"NONE","body":"We're facing an issue transitioning from 2.17 to the latest 3.1.0.. the \"upgrading from 2.x to 3.x\" script modified the following line(s):\r\n\r\nrtcDeviceParameteri(device,RTC_CONFIG_INTERSECT4)\r\n\r\nwith\r\n\r\nrtcGetDeviceProperty(device,RTC_DEVICE_PROPERTY_INTERSECT4_SUPPORTED)\r\n\r\nbut it seems like the RTC_DEVICE_PROPERTY_INTESECT4_SUPPORTED enum does not exist.\r\n\r\nLooking into the rtcIntersect4 and rtcOccluded4 API docs, I find: \"use these functions only after checking whether they are available by using an **rtcGetDeviceParameter** query\". unfortunately, it seems like there is no such function in the API.\r\n\r\nWould I be safe to assume that there is a typo in the docs, and that the correct way of checking wether 4/8/16 intersect/occluded functions are available would be by calling rtcGetDevicePorperty, with values of RTC_DEVICE_PROPERTY_NATIVE_RAY4_SUPPORTED (and also /8/16)?"}}
{"actor":{"display_login":"svenwoop"}}