[v2.1] metal shader fix

Minor issues with the Ogre API that can be trivial to fix
Post Reply
cloud
Gremlin
Posts: 195
Joined: Tue Aug 08, 2006 6:45 pm

[v2.1] metal shader fix

Post by cloud » Mon Aug 28, 2017 8:24 am

ogre / Samples / Media / 2.0 / scripts / materials / TutorialCompute01_UavTexture / Metal / ComputeTest.metal

line 5
kernel void main
should be
kernel void main_metal
0 x

berserkerviking
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 63
Joined: Tue May 02, 2017 8:15 pm

Re: [v2.1] metal shader fix

Post by berserkerviking » Thu Aug 31, 2017 5:03 pm

This is correct. Thanks for the find! I'll make the change in the v2-1 branch.
Also, as I'm sure you're aware, this will fix the TutorialCompute01_UavTexture sample on iOS as well.
0 x

berserkerviking
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 63
Joined: Tue May 02, 2017 8:15 pm

Re: [v2.1] metal shader fix

Post by berserkerviking » Thu Aug 31, 2017 10:27 pm

Okay. I have pushed your fix. Thank you very much for your help!

changeset: 11402:5d3c0827f49e
branch: v2-1
tag: tip
user: berkserkerviking
date: Thu Aug 31 14:20:58 2017 -0700
summary: Fix for Sample_TutorialCompute01_UavTexture on macOS and iOS (from user 'cloud')
0 x

Post Reply