Re: [godot-devel] Help debug the WebGL2 code! |
[ Thread Index |
Date Index
| More godotengine.org/devel Archives
]
- To: devel@xxxxxxxxxxxxxxx
- Subject: Re: [godot-devel] Help debug the WebGL2 code!
- From: Hein-Pieter van Braam <hp@xxxxxx>
- Date: Thu, 23 Feb 2017 12:52:24 +0100
- Dkim-filter: OpenDKIM Filter v2.10.3 lliana.tmm.cx 9A205AE30B
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmm.cx; s=mail; t=1487850750; bh=EHXkWlq9qmb04hO3mvx6aMGDs2zRc9U6h6eq3bAl9to=; h=Subject:From:To:Date:In-Reply-To:References:From; b=OjnOTDMLgKtk8NPQWdVUMmH4HYhO5O+HWPDtvacAxM8F1Ntn8EfCEpcUNAJ6yAhY6 /8gGIyQ9svnhytUu14l46DcWmEYZMVNESM/QNISl4EBKWnsuEME1i0q9Z6QfXoaytM JHWqV97oXUG9ftolXSrVotJV967n/twY21Crnfdk=
Has anyone started on this? If not I'll go do it.
On Thu, 2017-02-23 at 07:28 +0100, Rémi Verschelde wrote:
> If anyone can help Juan :D
>
> ---------- Forwarded message ----------
> From: Juan Linietsky <reduzio@xxxxxxxxx>
> Date: 2017-02-23 0:31 GMT+01:00
> Subject: help with webgl2!
> To: Rémi Verschelde <rverschelde@xxxxxxxxx>
>
>
>
> If you read this message it means i'll be on a plane until Friday! I
> still haven't got WebGL to work, am super close though.
>
> The last error i'm gettnig is related to the size of Uniform Buffer
> Objects, I have no idea how to tell which one is not working, but I
> would really appreciate if you or anyone you can ask on irc can do
> the
> folowing
>
>
>
> 1) Get this test project
>
> https://www.dropbox.com/s/ay88qrktxh24bjc/test.zip?dl=0
>
> 2) Run http server on it:
>
> python -m SimpleHTTPServe
>
> 3) Get Firefox and build it from source to run this :D
>
> the error will be:
>
> Error: WebGL: drawElementsInstanced: Buffer for uniform block is
> smaller than UNIFORM_BLOCK_DATA_SIZE.
>
> A dozen of UBOs are being used, all seem fine in code, so I have no
> idea which one is wrong (error could be more helpful..), so..
>
> 4) Find in the firefox source code where this error is printed, and
> change it to obtain the following information:
>
> -Which uniform block binding point # is this error about (there can
> be
> up to 16 i think)
> -What size was being bound, and which size is expected
>
> 5) Let me know the result :D
>
>
> Cheers and Thanks!
>
> Juan
>
>