• Home
  • Raw
  • Download

Lines Matching refs:fragNdx

54 void writeFragmentOutput (const FragmentShadingContext& context, int packetNdx, int fragNdx, int ou…  in writeFragmentOutput()  argument
57 DE_ASSERT(fragNdx >= 0 && fragNdx < 4); in writeFragmentOutput()
60 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; in writeFragmentOutput()
66 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readPointVarying() argument
68 DE_UNREF(fragNdx); in readPointVarying()
75 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readLineVarying() argument
77 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readLineVarying()
78 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>(); in readLineVarying()
82 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readTriangleVarying() argument
84 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readTriangleVarying()
85 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>() in readTriangleVarying()
86 + packet.barycentric[2][fragNdx] * context.varyings[2][varyingLoc].get<T>(); in readTriangleVarying()
90 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readVarying() argument
92 …context.varyings[1] == DE_NULL) return readPointVarying<T> (packet, context, varyingLoc, fragNdx); in readVarying()
93 …(context.varyings[2] == DE_NULL) return readLineVarying<T> (packet, context, varyingLoc, fragNdx); in readVarying()
94 return readTriangleVarying<T> (packet, context, varyingLoc, fragNdx); in readVarying()
159 inline float readFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in readFragmentDepth() argument
163 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth()
166 inline void writeFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in writeFragmentDepth() argument
170 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()