Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_impl.h339 INLINE void CalcCentroidPos(SWR_PS_CONTEXT &psContext, const SWR_MULTISAMPLE_POS& samplePos,
360 simdscalar vXSample = _simd_set_ps(samplePos.X(sampleNum[7]),
361 samplePos.X(sampleNum[6]),
362 samplePos.X(sampleNum[5]),
363 samplePos.X(sampleNum[4]),
364 samplePos.X(sampleNum[3]),
365 samplePos.X(sampleNum[2]),
366 samplePos.X(sampleNum[1]),
367 samplePos.X(sampleNum[0]));
369 simdscalar vYSample = _simd_set_ps(samplePos.Y(sampleNum[7]),
[all …]
Dbackend_sample.cpp54 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSampleRate() local
55 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSampleRate()
90 …CalcCentroid<T, false>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMa… in BackendSampleRate()
119 psContext.vX.sample = _simd_add_ps(psContext.vX.UL, samplePos.vX(sample)); in BackendSampleRate()
120 psContext.vY.sample = _simd_add_ps(psContext.vY.UL, samplePos.vY(sample)); in BackendSampleRate()
Dmultisample.h253 …isNonStandardPattern(const SWR_MULTISAMPLE_COUNT sampleCount, const SWR_MULTISAMPLE_POS& samplePos)
290 bIsStandard = (standardPosX[i] == samplePos.Xi(i)) ||
291 (standardPosY[i] == samplePos.Yi(i));
Dbackend_singlesample.cpp54 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSingleSample() local
55 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSingleSample()
106 …CalcCentroid<T, true>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMas… in BackendSingleSample()
Dbackend.cpp224 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendNullPS() local
263 psContext.vX.sample = _simd_add_ps(vXSamplePosUL, samplePos.vX(sample)); in BackendNullPS()
264 psContext.vY.sample = _simd_add_ps(vYSamplePosUL, samplePos.vY(sample)); in BackendNullPS()
Drasterizer_impl.h1123 const SWR_MULTISAMPLE_POS &samplePos = rastState.samplePositions;
1124 const __m128i vTileSampleBBoxXh = samplePos.TileSampleOffsetsX();
1125 const __m128i vTileSampleBBoxYh = samplePos.TileSampleOffsetsY();
1212 const SWR_MULTISAMPLE_POS &samplePos = rastState.samplePositions;
1213 __m128i vSampleOffsetXh = samplePos.vXi(sampleNum);
1214 __m128i vSampleOffsetYh = samplePos.vYi(sampleNum);
Dcontext.h274 float samplePos[SWR_MAX_NUM_MULTISAMPLES * 2]; in OSALIGNLINE() local
/external/deqp/external/openglcts/modules/gl/
Dgl4cPostDepthCoverageTests.cpp424 GLfloat samplePos[2]; in iterate() local
425 gl.getMultisamplefv(GL_SAMPLE_POSITION, i, &samplePos[0]); in iterate()
427 if (pdcCase == PDCCASE_ENABLED && (samplePos[0] + samplePos[1]) < 0.7f) in iterate()
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp141 tcu::Vec2 samplePos = tcu::Vec2(-1, -1); in iterate() local
143 gl.glGetMultisamplefv(GL_SAMPLE_POSITION, ndx, samplePos.getPtr()); in iterate()
147 if (samplePos.x() < 0.0f || samplePos.x() > 1.0f || in iterate()
148 samplePos.y() < 0.0f || samplePos.y() > 1.0f) in iterate()
150 …:Message << "Sample " << ndx << " is not in valid range [0,1], got " << samplePos << tcu::TestLog:… in iterate()
Des31fTextureMultisampleTests.cpp151 void convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const;
522 …sRasterizationTest::convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const in convertToSceneSpec()
525 …const tcu::Vec4 offset = tcu::Vec4(samplePos.x() - 0.5f, samplePos.y() - 0.5f, 0.0f, 0.0f) / tcu::… in convertToSceneSpec()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp711 const deInt64* samplePos = DE_NULL; in rasterizeMultiSample() local
722 case 2: samplePos = s_samplePos2; break; in rasterizeMultiSample()
723 case 4: samplePos = s_samplePos4; break; in rasterizeMultiSample()
724 case 8: samplePos = s_samplePos8; break; in rasterizeMultiSample()
725 case 16: samplePos = s_samplePos16; break; in rasterizeMultiSample()
762 const deInt64 ox = samplePos[sampleNdx*2 + 0]; in rasterizeMultiSample()
763 const deInt64 oy = samplePos[sampleNdx*2 + 1]; in rasterizeMultiSample()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp5336 …const tcu::Vec4 samplePos = getSamplePos(m_viewType, m_baseMipLevel, m_baseArraySlice, sam… in fetchSampleValue() local
5343 …_baseMipLevel, m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), lod); in fetchSampleValue()
5345 …pLevel, m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), samplePos.z… in fetchSampleValue()
5346 …pLevel, m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), samplePos.z… in fetchSampleValue()
5348 …m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), samplePos.z(), samp… in fetchSampleValue()