2 Replies Latest reply on Sep 22, 2010 12:20 PM by echeeser

    Filter using inputSize crashes Pixel Bender 2.1.432154

    echeeser Level 1

      Hi there, I've been having trouble with this filter:

       

      <languageVersion : 1.0;>


      kernel NewFilter

      <   namespace : "Your Namespace";

          vendor : "Your Vendor";

          version : 1;

          description : "your description";

      >

      {

          input image4 src;

          output pixel4 dst;

         

          parameter float2 srcSize

          <

              parameterType: "inputSize";

              inputSizeName: "src";

          >;


          void

          evaluatePixel()

          {

              dst = sampleNearest(src,outCoord()/srcSize*10.0);

          }

      }

       

      Every time I run it, it says "Adobe Image Foundation has stopped working" and the entire program crashes. It works if I use a regular float2 parameter for srcSize.