• Home
  • Raw
  • Download

Lines Matching refs:fragNdx

53 void writeFragmentOutput (const FragmentShadingContext& context, int packetNdx, int fragNdx, int ou…  in writeFragmentOutput()  argument
56 DE_ASSERT(fragNdx >= 0 && fragNdx < 4); in writeFragmentOutput()
59 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; in writeFragmentOutput()
65 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readPointVarying() argument
67 DE_UNREF(fragNdx); in readPointVarying()
74 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readLineVarying() argument
76 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readLineVarying()
77 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>(); in readLineVarying()
81 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readTriangleVarying() argument
83 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readTriangleVarying()
84 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>() in readTriangleVarying()
85 + packet.barycentric[2][fragNdx] * context.varyings[2][varyingLoc].get<T>(); in readTriangleVarying()
89 … (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) in readVarying() argument
91 …context.varyings[1] == DE_NULL) return readPointVarying<T> (packet, context, varyingLoc, fragNdx); in readVarying()
92 …(context.varyings[2] == DE_NULL) return readLineVarying<T> (packet, context, varyingLoc, fragNdx); in readVarying()
93 return readTriangleVarying<T> (packet, context, varyingLoc, fragNdx); in readVarying()
158 inline float readFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in readFragmentDepth() argument
162 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth()
165 inline void writeFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in writeFragmentDepth() argument
169 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()