Home
last modified time | relevance | path

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

/external/swiftshader/src/Pipeline/
DSpirvShaderGLSLstd450.cpp47 uint32_t ComputeInterpolantOffset(uint32_t offset, uint32_t components_per_row, bool useArrayOffset) in ComputeInterpolantOffset() argument
51 uint32_t interpolant_offset = offset / components_per_row; in ComputeInterpolantOffset()
52 offset = (interpolant_offset * 4) + (offset - interpolant_offset * components_per_row); in ComputeInterpolantOffset()
57 rr::Int ComputeInterpolantOffset(rr::Int offset, uint32_t components_per_row, bool useArrayOffset) in ComputeInterpolantOffset() argument
61 rr::Int interpolant_offset = offset / rr::Int(components_per_row); in ComputeInterpolantOffset()
62 offset = (interpolant_offset << 2) + (offset - interpolant_offset * rr::Int(components_per_row)); in ComputeInterpolantOffset()
1000 uint32_t components_per_row = GetNumInputComponents(location); in Interpolate() local
1001 if((location < 0) || (interpolant >= inputs.size()) || (components_per_row == 0)) in Interpolate()
1010 bool useArrayOffset = (components_per_row == 1) || (component_count > 1); in Interpolate()
1081 …(ptr.dynamicOffsets, 0) + ptr.staticOffsets[0]) >> 2) + component, components_per_row, useArrayOff… in Interpolate()
[all …]