[v2.1] metal shader fix

Minor issues with the Ogre API that can be trivial to fix

[v2.1] metal shader fix

Postby 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
cloud
Gremlin
 
Posts: 194
Kudos: 14
Joined: 08 Aug 2006

Re: [v2.1] metal shader fix

Postby 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.
berserkerviking
OGRE Retired Team Member
OGRE Retired Team Member
 
Posts: 63
Kudos: 16
Joined: 02 May 2017

Re: [v2.1] metal shader fix

Postby 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')
berserkerviking
OGRE Retired Team Member
OGRE Retired Team Member
 
Posts: 63
Kudos: 16
Joined: 02 May 2017


Return to Papercuts

Who is online

Users browsing this forum: No registered users and 2 guests