Imagination PowerVR SDK Blog

Shader object sharing between the program object


#1

When a shader object was done sharing of between plural program objects, it did not follow that the rendering was expected.


The following image is expected rendering result.



 






The following image is rendering result in Galaxy S (PowerVR SGX 540).



 



It is information of Galaxy S which executed application as follows.

  Model number: SC-02B
  Firmware version: 2.2.1
  Baseband version: SC02BOMKA5
  Kernel version: 2.6.32.9
  Build number: FROYO.OMKA5


The following link has the source code of this application.

  http://dl.dropbox.com/u/23346852/ticket-532/Test532-source.zip


The following file is built application package.

  http://dl.dropbox.com/u/23346852/ticket-532/Test532.apk





#2
PenCyot3 wrote:
When a shader object was done sharing of between plural program objects, it did not follow that the rendering was expected.




Hi,
 

Thanks for reporting this issue. This is a known problem and has already been fixed in a later version of the DDK. Unfortunately, I can't say when or if the Galaxy S will get updated with drivers that include the fix.

 

Thanks,

 

Scott

#3

Thank you for a reply. I understood it.


#4

The problem was improved when I updated the version of the Android from 2.2 to 2.3.