Home
last modified time | relevance | path

Searched refs:barycentric (Results 1 – 4 of 4) sorted by relevance

/external/deqp/framework/referencerenderer/
DrrShadingContext.hpp77 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()
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()
DrrRasterizer.cpp633 packet.barycentric[0] = b0 / bSum; in rasterizeSingleSample()
634 packet.barycentric[1] = b1 / bSum; in rasterizeSingleSample()
635 packet.barycentric[2] = 1.0f - packet.barycentric[0] - packet.barycentric[1]; in rasterizeSingleSample()
838 packet.barycentric[0] = b0 / bSum; in rasterizeMultiSample()
839 packet.barycentric[1] = b1 / bSum; in rasterizeMultiSample()
840 packet.barycentric[2] = 1.0f - packet.barycentric[0] - packet.barycentric[1]; in rasterizeMultiSample()
993 packet.barycentric[0] = b0 * ooSum; in rasterize()
994 packet.barycentric[1] = b1 * ooSum; in rasterize()
995 packet.barycentric[2] = tcu::Vec4(0.0f); in rasterize()
1064 float removedValue = fragmentPackets[packNdx].barycentric[2][fragNdx]; in rasterize()
[all …]
DrrFragmentPacket.hpp54 tcu::Vec4 barycentric[3]; //!< Perspective-correct barycentric values. member
/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c165 nir_ssa_def *barycentric = NULL; in lower_load() local
184 barycentric = nir_load_barycentric(&state->builder, bary_op, in lower_load()
220 } else if (barycentric) { in lower_load()
221 load->src[0] = nir_src_for_ssa(barycentric); in lower_load()