Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_impl.h444 const SWR_MULTISAMPLE_POS& samplePos,
467 simdscalar vXSample = _simd_set_ps(samplePos.X(sampleNum[7]),
468 samplePos.X(sampleNum[6]),
469 samplePos.X(sampleNum[5]),
470 samplePos.X(sampleNum[4]),
471 samplePos.X(sampleNum[3]),
472 samplePos.X(sampleNum[2]),
473 samplePos.X(sampleNum[1]),
474 samplePos.X(sampleNum[0]));
476 simdscalar vYSample = _simd_set_ps(samplePos.Y(sampleNum[7]),
[all …]
Dbackend_sample.cpp58 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSampleRate() local
59 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSampleRate()
105 &psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSampleRate()
136 psContext.vX.sample = _simd_add_ps(psContext.vX.UL, samplePos.vX(sample)); in BackendSampleRate()
137 psContext.vY.sample = _simd_add_ps(psContext.vY.UL, samplePos.vY(sample)); in BackendSampleRate()
Dmultisample.h415 const SWR_MULTISAMPLE_POS& samplePos)
453 (standardPosX[i] == samplePos.Xi(i)) || (standardPosY[i] == samplePos.Yi(i));
Dbackend_singlesample.cpp59 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSingleSample() local
60 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSingleSample()
125 &psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSingleSample()
Dbackend.cpp280 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendNullPS() local
321 psContext.vX.sample = _simd_add_ps(vXSamplePosUL, samplePos.vX(sample)); in BackendNullPS()
322 psContext.vY.sample = _simd_add_ps(vYSamplePosUL, samplePos.vY(sample)); in BackendNullPS()
Drasterizer_impl.h1212 const SWR_MULTISAMPLE_POS& samplePos = rastState.samplePositions;
1213 const __m128i vTileSampleBBoxXh = samplePos.TileSampleOffsetsX();
1214 const __m128i vTileSampleBBoxYh = samplePos.TileSampleOffsetsY();
1316 const SWR_MULTISAMPLE_POS& samplePos = rastState.samplePositions;
1317 __m128i vSampleOffsetXh = samplePos.vXi(sampleNum);
1318 __m128i vSampleOffsetYh = samplePos.vYi(sampleNum);
Dcontext.h292 float samplePos[SWR_MAX_NUM_MULTISAMPLES * 2]; in OSALIGNLINE() local
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRasterizer.cpp699 deInt64 samplePos[DE_LENGTH_OF_ARRAY(s_samplePts16)]; in rasterizeMultiSample() local
720 samplePos[c] = toSubpixelCoord(samplePts[c], m_subpixelBits); in rasterizeMultiSample()
754 const deInt64 ox = samplePos[sampleNdx*2 + 0]; in rasterizeMultiSample()
755 const deInt64 oy = samplePos[sampleNdx*2 + 1]; in rasterizeMultiSample()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp5334 …const tcu::Vec4 samplePos = getSamplePos(m_viewType, m_baseMipLevel, m_baseArraySlice, sam… in fetchSampleValue() local
5341 …_baseMipLevel, m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), lod); in fetchSampleValue()
5343 …pLevel, m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), samplePos.z… in fetchSampleValue()
5344 …pLevel, m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), samplePos.z… in fetchSampleValue()
5346 …m_baseArraySlice, &levelStorage).sample(sampler, samplePos.x(), samplePos.y(), samplePos.z(), samp… in fetchSampleValue()