{"action":"created","comment":{"url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/comments/209891187","pull_request_review_id":145985507,"id":209891187,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTg5MTE4Nw==","diff_hunk":"@@ -0,0 +1,261 @@\n+/**********************************************************************\n+Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.\n+\n+Permission is hereby granted, free of charge, to any person obtaining a copy\n+of this software and associated documentation files (the \"Software\"), to deal\n+in the Software without restriction, including without limitation the rights\n+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+copies of the Software, and to permit persons to whom the Software is\n+furnished to do so, subject to the following conditions:\n+\n+The above copyright notice and this permission notice shall be included in\n+all copies or substantial portions of the Software.\n+\n+THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE\n+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+THE SOFTWARE.\n+********************************************************************/\n+\n+#ifndef MIPMAP_LEVEL_SCALER_CL\n+#define MIPMAP_LEVEL_SCALER_CL\n+\n+#include <../Baikal/Kernels/CL/common.cl>\n+#include <../Baikal/Kernels/CL/payload.cl>\n+#include <../Baikal/Kernels/CL/utils.cl>\n+#include <../Baikal/Kernels/CL/texture.cl>\n+\n+#pragma OPENCL EXTENSION cl_khr_fp16 : enable\n+\n+KERNEL\n+void ComputeWeights_NoRounding(\n+    GLOBAL float3* restrict weights,\n+    // Size of weight buffer\n+    const int size)\n+{\n+    int id = get_global_id(0);\n+\n+    if (id < size)\n+    {\n+        weights[id].x = .0f;","path":"Baikal/Kernels/CL/mipmap_level_scaler.cl","position":43,"original_position":43,"commit_id":"3f550b98c8ec59409bc575c545b702463128b8a6","original_commit_id":"3f550b98c8ec59409bc575c545b702463128b8a6","user":{"login":"Kvalme","id":3676901,"node_id":"MDQ6VXNlcjM2NzY5MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/3676901?v=4","gravatar_id":"","url":"https://api.github.com/users/Kvalme","html_url":"https://github.com/Kvalme","followers_url":"https://api.github.com/users/Kvalme/followers","following_url":"https://api.github.com/users/Kvalme/following{/other_user}","gists_url":"https://api.github.com/users/Kvalme/gists{/gist_id}","starred_url":"https://api.github.com/users/Kvalme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kvalme/subscriptions","organizations_url":"https://api.github.com/users/Kvalme/orgs","repos_url":"https://api.github.com/users/Kvalme/repos","events_url":"https://api.github.com/users/Kvalme/events{/privacy}","received_events_url":"https://api.github.com/users/Kvalme/received_events","type":"User","site_admin":false},"body":"also weights[id] = (float3)(0.f,  0.5f, 0.5f);\r\nWhy 0.f for x and 0.5f for y?","created_at":"2018-08-14T09:46:26Z","updated_at":"2018-08-14T09:57:54Z","html_url":"https://github.com/Kvalme/RadeonProRender-Baikal/pull/9#discussion_r209891187","pull_request_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/comments/209891187"},"html":{"href":"https://github.com/Kvalme/RadeonProRender-Baikal/pull/9#discussion_r209891187"},"pull_request":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9"}},"in_reply_to_id":209891069},"pull_request":{"url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9","id":205723652,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzIzNjUy","html_url":"https://github.com/Kvalme/RadeonProRender-Baikal/pull/9","diff_url":"https://github.com/Kvalme/RadeonProRender-Baikal/pull/9.diff","patch_url":"https://github.com/Kvalme/RadeonProRender-Baikal/pull/9.patch","issue_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues/9","number":9,"state":"open","locked":false,"title":"Mipmap","user":{"login":"AlexanderVeselov","id":17129401,"node_id":"MDQ6VXNlcjE3MTI5NDAx","avatar_url":"https://avatars0.githubusercontent.com/u/17129401?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderVeselov","html_url":"https://github.com/AlexanderVeselov","followers_url":"https://api.github.com/users/AlexanderVeselov/followers","following_url":"https://api.github.com/users/AlexanderVeselov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderVeselov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderVeselov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderVeselov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderVeselov/orgs","repos_url":"https://api.github.com/users/AlexanderVeselov/repos","events_url":"https://api.github.com/users/AlexanderVeselov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderVeselov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-02T12:51:29Z","updated_at":"2018-08-14T09:57:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebcce2b596517603edbdd668c9863fcb88a36587","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues/9/comments","statuses_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/statuses/3f550b98c8ec59409bc575c545b702463128b8a6","head":{"label":"AlexanderVeselov:mipmap","ref":"mipmap","sha":"3f550b98c8ec59409bc575c545b702463128b8a6","user":{"login":"AlexanderVeselov","id":17129401,"node_id":"MDQ6VXNlcjE3MTI5NDAx","avatar_url":"https://avatars0.githubusercontent.com/u/17129401?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderVeselov","html_url":"https://github.com/AlexanderVeselov","followers_url":"https://api.github.com/users/AlexanderVeselov/followers","following_url":"https://api.github.com/users/AlexanderVeselov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderVeselov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderVeselov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderVeselov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderVeselov/orgs","repos_url":"https://api.github.com/users/AlexanderVeselov/repos","events_url":"https://api.github.com/users/AlexanderVeselov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderVeselov/received_events","type":"User","site_admin":false},"repo":{"id":130804922,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA4MDQ5MjI=","name":"RadeonProRender-Baikal","full_name":"AlexanderVeselov/RadeonProRender-Baikal","owner":{"login":"AlexanderVeselov","id":17129401,"node_id":"MDQ6VXNlcjE3MTI5NDAx","avatar_url":"https://avatars0.githubusercontent.com/u/17129401?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexanderVeselov","html_url":"https://github.com/AlexanderVeselov","followers_url":"https://api.github.com/users/AlexanderVeselov/followers","following_url":"https://api.github.com/users/AlexanderVeselov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderVeselov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderVeselov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderVeselov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderVeselov/orgs","repos_url":"https://api.github.com/users/AlexanderVeselov/repos","events_url":"https://api.github.com/users/AlexanderVeselov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderVeselov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexanderVeselov/RadeonProRender-Baikal","description":null,"fork":true,"url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal","forks_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/forks","keys_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/teams","hooks_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/hooks","issue_events_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/events","assignees_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/tags","blobs_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/languages","stargazers_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/stargazers","contributors_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/contributors","subscribers_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/subscribers","subscription_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/subscription","commits_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/merges","archive_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/downloads","issues_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderVeselov/RadeonProRender-Baikal/deployments","created_at":"2018-04-24T06:11:43Z","updated_at":"2018-08-13T08:59:29Z","pushed_at":"2018-08-13T16:06:35Z","git_url":"git://github.com/AlexanderVeselov/RadeonProRender-Baikal.git","ssh_url":"git@github.com:AlexanderVeselov/RadeonProRender-Baikal.git","clone_url":"https://github.com/AlexanderVeselov/RadeonProRender-Baikal.git","svn_url":"https://github.com/AlexanderVeselov/RadeonProRender-Baikal","homepage":null,"size":50592,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kvalme:master","ref":"master","sha":"2b68b5b443db72065c89b3c7c7fa8282df830cf2","user":{"login":"Kvalme","id":3676901,"node_id":"MDQ6VXNlcjM2NzY5MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/3676901?v=4","gravatar_id":"","url":"https://api.github.com/users/Kvalme","html_url":"https://github.com/Kvalme","followers_url":"https://api.github.com/users/Kvalme/followers","following_url":"https://api.github.com/users/Kvalme/following{/other_user}","gists_url":"https://api.github.com/users/Kvalme/gists{/gist_id}","starred_url":"https://api.github.com/users/Kvalme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kvalme/subscriptions","organizations_url":"https://api.github.com/users/Kvalme/orgs","repos_url":"https://api.github.com/users/Kvalme/repos","events_url":"https://api.github.com/users/Kvalme/events{/privacy}","received_events_url":"https://api.github.com/users/Kvalme/received_events","type":"User","site_admin":false},"repo":{"id":110688262,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA2ODgyNjI=","name":"RadeonProRender-Baikal","full_name":"Kvalme/RadeonProRender-Baikal","owner":{"login":"Kvalme","id":3676901,"node_id":"MDQ6VXNlcjM2NzY5MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/3676901?v=4","gravatar_id":"","url":"https://api.github.com/users/Kvalme","html_url":"https://github.com/Kvalme","followers_url":"https://api.github.com/users/Kvalme/followers","following_url":"https://api.github.com/users/Kvalme/following{/other_user}","gists_url":"https://api.github.com/users/Kvalme/gists{/gist_id}","starred_url":"https://api.github.com/users/Kvalme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kvalme/subscriptions","organizations_url":"https://api.github.com/users/Kvalme/orgs","repos_url":"https://api.github.com/users/Kvalme/repos","events_url":"https://api.github.com/users/Kvalme/events{/privacy}","received_events_url":"https://api.github.com/users/Kvalme/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kvalme/RadeonProRender-Baikal","description":null,"fork":true,"url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal","forks_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/forks","keys_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/teams","hooks_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/hooks","issue_events_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues/events{/number}","events_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/events","assignees_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/assignees{/user}","branches_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/branches{/branch}","tags_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/tags","blobs_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/statuses/{sha}","languages_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/languages","stargazers_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/stargazers","contributors_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/contributors","subscribers_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/subscribers","subscription_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/subscription","commits_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/contents/{+path}","compare_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/merges","archive_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/downloads","issues_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues{/number}","pulls_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls{/number}","milestones_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/milestones{/number}","notifications_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/labels{/name}","releases_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/releases{/id}","deployments_url":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/deployments","created_at":"2017-11-14T12:36:49Z","updated_at":"2018-08-14T08:13:53Z","pushed_at":"2018-08-14T08:13:44Z","git_url":"git://github.com/Kvalme/RadeonProRender-Baikal.git","ssh_url":"git@github.com:Kvalme/RadeonProRender-Baikal.git","clone_url":"https://github.com/Kvalme/RadeonProRender-Baikal.git","svn_url":"https://github.com/Kvalme/RadeonProRender-Baikal","homepage":null,"size":60872,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9"},"html":{"href":"https://github.com/Kvalme/RadeonProRender-Baikal/pull/9"},"issue":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues/9"},"comments":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Kvalme/RadeonProRender-Baikal/statuses/3f550b98c8ec59409bc575c545b702463128b8a6"}},"author_association":"NONE"}}
{"actor":{"display_login":"Kvalme"}}