{"action":"created","issue":{"url":"https://api.github.com/repos/baldurk/renderdoc/issues/292","repository_url":"https://api.github.com/repos/baldurk/renderdoc","labels_url":"https://api.github.com/repos/baldurk/renderdoc/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/baldurk/renderdoc/issues/292/comments","events_url":"https://api.github.com/repos/baldurk/renderdoc/issues/292/events","html_url":"https://github.com/baldurk/renderdoc/issues/292","id":163839637,"number":292,"title":"Miplevel 0 shown even if other level is bound","user":{"login":"karyon","id":1891915,"avatar_url":"https://avatars.githubusercontent.com/u/1891915?v=3","gravatar_id":"","url":"https://api.github.com/users/karyon","html_url":"https://github.com/karyon","followers_url":"https://api.github.com/users/karyon/followers","following_url":"https://api.github.com/users/karyon/following{/other_user}","gists_url":"https://api.github.com/users/karyon/gists{/gist_id}","starred_url":"https://api.github.com/users/karyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karyon/subscriptions","organizations_url":"https://api.github.com/users/karyon/orgs","repos_url":"https://api.github.com/users/karyon/repos","events_url":"https://api.github.com/users/karyon/events{/privacy}","received_events_url":"https://api.github.com/users/karyon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/baldurk/renderdoc/labels/status:%20to%20be%20verified","name":"status: to be verified","color":"bfe5bf"},{"url":"https://api.github.com/repos/baldurk/renderdoc/labels/type:%20enhancement","name":"type: enhancement","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-05T12:32:50Z","updated_at":"2016-07-20T07:56:22Z","closed_at":null,"body":"\r\n```\r\n    glBindImageTexture(0, someTexture, miplevel, False, 0, GL_READ_ONLY, GL_R32F);\r\n    glDispatchCompute(x, y, z);\r\n```\r\nIn the outputs window, miplevel 0 is always shown, regardless of the `miplevel` parameter, which is somewhat incorrect since the shader cannot access level 0 at all in this case.\r\n\r\nAdditionally i noticed that the `Inputs` pane is never used when using textures as images, even if bound with `GL_READ_ONLY`."},"comment":{"url":"https://api.github.com/repos/baldurk/renderdoc/issues/comments/233872941","html_url":"https://github.com/baldurk/renderdoc/issues/292#issuecomment-233872941","issue_url":"https://api.github.com/repos/baldurk/renderdoc/issues/292","id":233872941,"user":{"login":"karyon","id":1891915,"avatar_url":"https://avatars.githubusercontent.com/u/1891915?v=3","gravatar_id":"","url":"https://api.github.com/users/karyon","html_url":"https://github.com/karyon","followers_url":"https://api.github.com/users/karyon/followers","following_url":"https://api.github.com/users/karyon/following{/other_user}","gists_url":"https://api.github.com/users/karyon/gists{/gist_id}","starred_url":"https://api.github.com/users/karyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karyon/subscriptions","organizations_url":"https://api.github.com/users/karyon/orgs","repos_url":"https://api.github.com/users/karyon/repos","events_url":"https://api.github.com/users/karyon/events{/privacy}","received_events_url":"https://api.github.com/users/karyon/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T07:56:22Z","updated_at":"2016-07-20T07:56:22Z","body":"locked textures work as expected now. and when selecting a texture in the output widget, the correct miplevel is opened.\r\n\r\nhowever, the output pane itself still always shows miplevel 0 even if a different miplevel is bound.\r\n\r\ni cannot repro the last issue as well. indeed i don't clear those buffers so i don't know what i saw there.\r\n\r\ni thought about the naming of the input/output widget and while i understand that it's technically complicated because you can't get this information from the shader bindings, but i still think that having the widget \"output\" and having widgets in there that are definitely not output is... well, wrong. the name clashes could be solved by actually calling the resources \"texture 1\" and \"image 1\". but i don't have any suggestions for a simple implementation this if the program introspection API does not support this."}}
{"actor":{"display_login":"karyon"}}