{"action":"created","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/2271","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/2271/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/2271/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/2271/events","html_url":"https://github.com/mono/MonoGame/issues/2271","id":29142497,"number":2271,"title":"2MGFX instancing shader","user":{"login":"Vodacek","id":2104849,"avatar_url":"https://avatars.githubusercontent.com/u/2104849?v=3","gravatar_id":"","url":"https://api.github.com/users/Vodacek","html_url":"https://github.com/Vodacek","followers_url":"https://api.github.com/users/Vodacek/followers","following_url":"https://api.github.com/users/Vodacek/following{/other_user}","gists_url":"https://api.github.com/users/Vodacek/gists{/gist_id}","starred_url":"https://api.github.com/users/Vodacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vodacek/subscriptions","organizations_url":"https://api.github.com/users/Vodacek/orgs","repos_url":"https://api.github.com/users/Vodacek/repos","events_url":"https://api.github.com/users/Vodacek/events{/privacy}","received_events_url":"https://api.github.com/users/Vodacek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-03-10T23:35:39Z","updated_at":"2015-06-20T07:52:48Z","closed_at":null,"body":"When I want to compile shader for instancing by 2MGFX tool I get there errors:\r\nMonoGame\\Tools\\2MGFX\\bin\\Debug>2mgfx instancedeffect.fx instancedeffect.mgfxo \r\nfail - IF src0 must have replicate swizzle\r\nIF src0 must have replicate swizzle\r\nFailed to compile the input file 'instancedeffect.fx'!\r\n\r\nShader: https://github.com/Vodacek/TestProjects/blob/master/sh/instancedEffect.fx"},"comment":{"url":"https://api.github.com/repos/mono/MonoGame/issues/comments/113725921","html_url":"https://github.com/mono/MonoGame/issues/2271#issuecomment-113725921","issue_url":"https://api.github.com/repos/mono/MonoGame/issues/2271","id":113725921,"user":{"login":"Vodacek","id":2104849,"avatar_url":"https://avatars.githubusercontent.com/u/2104849?v=3","gravatar_id":"","url":"https://api.github.com/users/Vodacek","html_url":"https://github.com/Vodacek","followers_url":"https://api.github.com/users/Vodacek/followers","following_url":"https://api.github.com/users/Vodacek/following{/other_user}","gists_url":"https://api.github.com/users/Vodacek/gists{/gist_id}","starred_url":"https://api.github.com/users/Vodacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vodacek/subscriptions","organizations_url":"https://api.github.com/users/Vodacek/orgs","repos_url":"https://api.github.com/users/Vodacek/repos","events_url":"https://api.github.com/users/Vodacek/events{/privacy}","received_events_url":"https://api.github.com/users/Vodacek/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T07:52:48Z","updated_at":"2015-06-20T07:52:48Z","body":"I got this error when I try to use:\r\n\r\n    bool cond;\r\n    if(cond){...\r\n\r\ncorrect way is:\r\n\r\n    if(cond==true){ ...\r\n\r\nPerhaps this will help :)"}}