[v2.1] metal shader fix

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

[v2.1] metal shader fix

Post by cloud »

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

line 5
kernel void main
should be
kernel void main_metal
berserkerviking
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 63
Joined: Tue May 02, 2017 8:15 pm
x 16

Re: [v2.1] metal shader fix

Post by berserkerviking »

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.
berserkerviking
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 63
Joined: Tue May 02, 2017 8:15 pm
x 16

Re: [v2.1] metal shader fix

Post by berserkerviking »

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')