#version 430 core
////////////////////////////////////////////////////////////////////////////////
// <copyright>
// Copyright (c) 2015 Hue AS. All rights reserved.
//
// All rights are reserved. Reproduction or transmission in whole or in part, in
// any form or by any means, electronic, mechanical or otherwise, is prohibited
// without the prior written permission of the copyright owner.
// </copyright>
////////////////////////////////////////////////////////////////////////////////

uniform uint volumeProbeBit;

layout(location = 0) out uint fragColor;

void main()
{
  fragColor = gl_FragCoord.z < 0.0 ? 0u : volumeProbeBit;
}
