Lines Matching refs:regSampleNdx

80 	for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++)  in executeScissorTest()  local
82 if (m_sampleRegister[regSampleNdx].isAlive) in executeScissorTest()
84 int fragNdx = fragNdxOffset + regSampleNdx/numSamplesPerFragment; in executeScissorTest()
87 m_sampleRegister[regSampleNdx].isAlive = false; in executeScissorTest()
95 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeStencilCompare()
97 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeStencilCompare()
99 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; \ in executeStencilCompare()
100 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeStencilCompare()
107 m_sampleRegister[regSampleNdx].stencilPassed = (COMPARE_EXPRESSION); \ in executeStencilCompare()
133 …for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) … in executeStencilSFail()
135 …if (m_sampleRegister[regSampleNdx].isAlive && !m_sampleRegister[regSampleNdx].stencilPassed) … in executeStencilSFail()
137 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; \ in executeStencilSFail()
138 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeStencilSFail()
142 m_sampleRegister[regSampleNdx].isAlive = false; \ in executeStencilSFail()
168 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeDepthCompare()
170 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeDepthCompare()
172 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; \ in executeDepthCompare()
173 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeDepthCompare()
178 m_sampleRegister[regSampleNdx].depthPassed = (COMPARE_EXPRESSION); \ in executeDepthCompare()
186 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeDepthCompare()
188 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeDepthCompare()
190 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; \ in executeDepthCompare()
191 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeDepthCompare()
205 m_sampleRegister[regSampleNdx].depthPassed = (COMPARE_EXPRESSION); \ in executeDepthCompare()
253 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeDepthWrite() local
255 if (m_sampleRegister[regSampleNdx].isAlive && m_sampleRegister[regSampleNdx].depthPassed) in executeDepthWrite()
257 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in executeDepthWrite()
258 const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; in executeDepthWrite()
269 …for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) … in executeStencilDpFailAndPass()
271 if (m_sampleRegister[regSampleNdx].isAlive && (CONDITION)) \ in executeStencilDpFailAndPass()
273 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; \ in executeStencilDpFailAndPass()
274 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeStencilDpFailAndPass()
298 SWITCH_DPFAIL_OR_DPPASS(dpFail, !m_sampleRegister[regSampleNdx].depthPassed) in executeStencilDpFailAndPass()
299 SWITCH_DPFAIL_OR_DPPASS(dpPass, m_sampleRegister[regSampleNdx].depthPassed) in executeStencilDpFailAndPass()
308 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeBlendFactorComputeRGB()
310 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeBlendFactorComputeRGB()
312 const Vec4& src = m_sampleRegister[regSampleNdx].clampedBlendSrcColor; \ in executeBlendFactorComputeRGB()
313 const Vec4& src1 = m_sampleRegister[regSampleNdx].clampedBlendSrc1Color; \ in executeBlendFactorComputeRGB()
314 const Vec4& dst = m_sampleRegister[regSampleNdx].clampedBlendDstColor; \ in executeBlendFactorComputeRGB()
319 m_sampleRegister[regSampleNdx].FACTOR_NAME = (FACTOR_EXPRESSION); \ in executeBlendFactorComputeRGB()
359 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeBlendFactorComputeA()
361 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeBlendFactorComputeA()
363 const Vec4& src = m_sampleRegister[regSampleNdx].clampedBlendSrcColor; \ in executeBlendFactorComputeA()
364 const Vec4& src1 = m_sampleRegister[regSampleNdx].clampedBlendSrc1Color; \ in executeBlendFactorComputeA()
365 const Vec4& dst = m_sampleRegister[regSampleNdx].clampedBlendDstColor; \ in executeBlendFactorComputeA()
370 m_sampleRegister[regSampleNdx].FACTOR_NAME = (FACTOR_EXPRESSION); \ in executeBlendFactorComputeA()
410 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeBlend()
412 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeBlend()
414 SampleData& sample = m_sampleRegister[regSampleNdx]; \ in executeBlend()
561 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeAdvancedBlend()
563 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeAdvancedBlend()
565 SampleData& sample = m_sampleRegister[regSampleNdx]; \ in executeAdvancedBlend()
579 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) \ in executeAdvancedBlend()
581 if (m_sampleRegister[regSampleNdx].isAlive) \ in executeAdvancedBlend()
583 SampleData& sample = m_sampleRegister[regSampleNdx]; \ in executeAdvancedBlend()
595 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeAdvancedBlend() local
597 if (m_sampleRegister[regSampleNdx].isAlive) in executeAdvancedBlend()
599 SampleData& sample = m_sampleRegister[regSampleNdx]; in executeAdvancedBlend()
644 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeColorWrite() local
646 if (m_sampleRegister[regSampleNdx].isAlive) in executeColorWrite()
648 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in executeColorWrite()
649 const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; in executeColorWrite()
652 combinedColor.xyz() = m_sampleRegister[regSampleNdx].blendedRGB; in executeColorWrite()
653 combinedColor.w() = m_sampleRegister[regSampleNdx].blendedA; in executeColorWrite()
670 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeRGBA8ColorWrite() local
672 if (m_sampleRegister[regSampleNdx].isAlive) in executeRGBA8ColorWrite()
674 const int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in executeRGBA8ColorWrite()
675 const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; in executeRGBA8ColorWrite()
678 dstPtr[0] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.x()); in executeRGBA8ColorWrite()
679 dstPtr[1] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.y()); in executeRGBA8ColorWrite()
680 dstPtr[2] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.z()); in executeRGBA8ColorWrite()
681 dstPtr[3] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedA); in executeRGBA8ColorWrite()
688 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeMaskedColorWrite() local
690 if (m_sampleRegister[regSampleNdx].isAlive) in executeMaskedColorWrite()
692 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in executeMaskedColorWrite()
693 const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; in executeMaskedColorWrite()
697 newColor.xyz() = m_sampleRegister[regSampleNdx].blendedRGB; in executeMaskedColorWrite()
698 newColor.w() = m_sampleRegister[regSampleNdx].blendedA; in executeMaskedColorWrite()
712 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeSignedValueWrite() local
714 if (m_sampleRegister[regSampleNdx].isAlive) in executeSignedValueWrite()
716 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in executeSignedValueWrite()
717 const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; in executeSignedValueWrite()
720 …colorBuffer.setPixel(tcu::select(m_sampleRegister[regSampleNdx].signedValue, originalValue, colorM… in executeSignedValueWrite()
727 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in executeUnsignedValueWrite() local
729 if (m_sampleRegister[regSampleNdx].isAlive) in executeUnsignedValueWrite()
731 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in executeUnsignedValueWrite()
732 const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; in executeUnsignedValueWrite()
735 …colorBuffer.setPixel(tcu::select(m_sampleRegister[regSampleNdx].unsignedValue, originalValue, colo… in executeUnsignedValueWrite()
791 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
793 int fragNdx = groupFirstFragNdx + regSampleNdx/numSamplesPerFragment; in render()
794 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in render()
798 …m_sampleRegister[regSampleNdx].isAlive = (inputFragments[fragNdx].coverage & (1u << fragSampleNdx… in render()
799 …m_sampleRegister[regSampleNdx].depthPassed = true; // \note This will stay true if depth test is d… in render()
802 m_sampleRegister[regSampleNdx].isAlive = false; in render()
838 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
839 …m_sampleRegister[regSampleNdx].isAlive = m_sampleRegister[regSampleNdx].isAlive && m_sampleRegiste… in render()
873 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
875 if (m_sampleRegister[regSampleNdx].isAlive) in render()
877 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in render()
878 … const Fragment& frag = inputFragments[groupFirstFragNdx + regSampleNdx/numSamplesPerFragment]; in render()
881 …m_sampleRegister[regSampleNdx].clampedBlendSrcColor = clamp(frag.value.get<float>(), minClampValu… in render()
882 …m_sampleRegister[regSampleNdx].clampedBlendSrc1Color = clamp(frag.value1.get<float>(), minClampVal… in render()
883 …m_sampleRegister[regSampleNdx].clampedBlendDstColor = clamp(sRGBTarget ? tcu::sRGBToLinear(dstCol… in render()
898 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
900 if (m_sampleRegister[regSampleNdx].isAlive) in render()
902 int fragSampleNdx = regSampleNdx % numSamplesPerFragment; in render()
903 … const Fragment& frag = inputFragments[groupFirstFragNdx + regSampleNdx/numSamplesPerFragment]; in render()
907 …m_sampleRegister[regSampleNdx].clampedBlendSrcColor = unpremultiply(clamp(srcColor, minClampValue… in render()
908 …m_sampleRegister[regSampleNdx].clampedBlendDstColor = unpremultiply(clamp(sRGBTarget ? tcu::sRGBT… in render()
919 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
921 if (m_sampleRegister[regSampleNdx].isAlive) in render()
923 … const Fragment& frag = inputFragments[groupFirstFragNdx + regSampleNdx/numSamplesPerFragment]; in render()
925 m_sampleRegister[regSampleNdx].blendedRGB = frag.value.get<float>().xyz(); in render()
926 m_sampleRegister[regSampleNdx].blendedA = frag.value.get<float>().w(); in render()
934 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
936 if (m_sampleRegister[regSampleNdx].isAlive) in render()
938 …m_sampleRegister[regSampleNdx].blendedRGB = clamp(m_sampleRegister[regSampleNdx].blendedRGB, minCl… in render()
939 …m_sampleRegister[regSampleNdx].blendedA = clamp(m_sampleRegister[regSampleNdx].blendedA, minClamp… in render()
959 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
961 if (m_sampleRegister[regSampleNdx].isAlive) in render()
963 const Fragment& frag = inputFragments[groupFirstFragNdx + regSampleNdx/numSamplesPerFragment]; in render()
965 m_sampleRegister[regSampleNdx].signedValue = frag.value.get<deInt32>(); in render()
975 for (int regSampleNdx = 0; regSampleNdx < SAMPLE_REGISTER_SIZE; regSampleNdx++) in render() local
977 if (m_sampleRegister[regSampleNdx].isAlive) in render()
979 const Fragment& frag = inputFragments[groupFirstFragNdx + regSampleNdx/numSamplesPerFragment]; in render()
981 m_sampleRegister[regSampleNdx].unsignedValue = frag.value.get<deUint32>(); in render()