We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4239

Summary: GLES2: Get sin/cos out of vertex shader
Product: SDL Reporter: Andreas Müller <schnitzeltony>
Component: renderAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: All   
OS: Linux   
Attachments: [PATCH] GLES2: Get sin/cos out of vertex shader

Description Andreas Müller 2018-08-26 14:10:30 UTC
Created attachment 3289 [details]
[PATCH] GLES2: Get sin/cos out of vertex shader

Hi,

the patch attached should (more details in patch description)

* fix left rotated rendering on RaspberryPi with VC open source graphics driver
* give a tiny performance win for simple render operations
* might fix https://bugzilla.libsdl.org/show_bug.cgi?id=3192

One note: I am a total newbee when it comes to OpenGL / shaders so if this patch looks silly - feel free to let me know
Comment 1 Sam Lantinga 2018-08-28 19:58:20 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/e5a666405750