/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
D | esextcFragmentShadingRateBasic.cpp | 267 for (deUint32 drawID = 1; drawID < TRIANGLE_COUNT; drawID++) in iterate() local 270 fsrutils::packShadingRate(translateDrawIDToShadingRate(drawID))); in iterate() 273 gl.uniform1i(gl.getUniformLocation(m_program->getProgram(), "drawID"), drawID); in iterate() 276 gl.shadingRateEXT(translateDrawIDToShadingRate(drawID)); in iterate() 278 gl.drawArrays(GL_TRIANGLES, drawID * 2, 3); in iterate() 299 const deUint32 drawID = sample[1]; in iterate() local 301 if (fsrutils::packShadingRate(translateDrawIDToShadingRate(drawID)) != shadingRate) in iterate() 307 …error_sstream << "The draw ID is " << drawID << "Shading Rate is" << shadingRate << ", But we expe… in iterate() 308 << fsrutils::packShadingRate(translateDrawIDToShadingRate(drawID)); in iterate() 331 glw::GLenum FragmentShadingRateBasic::translateDrawIDToShadingRate(deUint32 drawID) const in translateDrawIDToShadingRate() [all …]
|
D | esextcFragmentShadingRateCombinedTests.cpp | 415 for (deUint32 drawID = 1; drawID < TRIANGLE_COUNT; drawID++) in iterate() local 417 const deUint32 primID = getPrimitiveID(drawID); in iterate() 425 gl.uniform1i(gl.getUniformLocation(m_renderProgram->getProgram(), "drawID"), drawID); in iterate() 430 gl.shadingRateEXT(translateDrawIDToShadingRate(drawID)); in iterate() 437 gl.drawArrays(GL_TRIANGLES, drawID * 2, 3); in iterate() 496 const deUint32 drawID = sample[1]; in iterate() local 498 const deUint32 expectedShadingRateMask = simulate(drawID, primID, x, y); in iterate() 503 error_sstream << "The draw ID is " << drawID << "The primitive ID is " << primID in iterate() 532 glw::GLenum FragmentShadingRateCombined::translateDrawIDToShadingRate(deUint32 drawID) const in translateDrawIDToShadingRate() 534 return m_availableShadingRates[drawID % m_availableShadingRates.size()]; in translateDrawIDToShadingRate() [all …]
|
D | esextcFragmentShadingRateAttachmentTests.cpp | 397 for (deUint32 drawID = 1; drawID < TRIANGLE_COUNT; drawID++) in iterate() local 399 gl.uniform1i(gl.getUniformLocation(m_program->getProgram(), "drawID"), drawID); in iterate() 404 gl.shadingRateEXT(translateDrawIDToShadingRate(drawID)); in iterate() 408 …const deUint32 startVertex = (drawID - 1) * 2; // to use first vertices "-1" because drawID start … in iterate() 465 const deUint32 drawID = sample[1]; in iterate() local 476 expectedShadingRate = fsrutils::packShadingRate(translateDrawIDToShadingRate(drawID)); in iterate() 483 error_sstream << "The draw ID is " << drawID << "Shading Rate is" << shadingRate in iterate() 508 glw::GLenum FragmentShadingRateAttachment::translateDrawIDToShadingRate(deUint32 drawID) const in translateDrawIDToShadingRate() 510 return m_availableShadingRates[drawID % m_availableShadingRates.size()]; in translateDrawIDToShadingRate() 518 deUint32 FragmentShadingRateAttachment::drawIDToViewID(deUint32 drawID) const in drawIDToViewID() [all …]
|
D | esextcFragmentShadingRateCombinedTests.hpp | 77 glw::GLenum translateDrawIDToShadingRate(deUint32 drawID) const; 80 deUint32 getPrimitiveID(deUint32 drawID) const; 81 deUint32 simulate(deUint32 drawID, deUint32 primID, deUint32 x, deUint32 y);
|
D | esextcFragmentShadingRateAttachmentTests.hpp | 93 glw::GLenum translateDrawIDToShadingRate(deUint32 drawID) const; 94 deUint32 drawIDToViewID(deUint32 drawID) const;
|
D | esextcFragmentShadingRateBasic.hpp | 70 glw::GLenum translateDrawIDToShadingRate(deUint32 drawID) const;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Context11.cpp | 480 context, mode, firsts[drawID], counts[drawID], gl::DrawElementsType::InvalidEnum, \ 483 mRenderer->drawArrays(context, mode, firsts[drawID], counts[drawID], 0, 0, false)); \ 488 context, mode, firsts[drawID], counts[drawID], gl::DrawElementsType::InvalidEnum, \ 489 nullptr, instanceCounts[drawID], 0, 0, false)); \ 490 ANGLE_TRY(mRenderer->drawArrays(context, mode, firsts[drawID], counts[drawID], \ 491 instanceCounts[drawID], 0, true)); \ 496 context, mode, firsts[drawID], counts[drawID], gl::DrawElementsType::InvalidEnum, \ 497 nullptr, instanceCounts[drawID], 0, baseInstances[drawID], false)); \ 498 ANGLE_TRY(mRenderer->drawArrays(context, mode, firsts[drawID], counts[drawID], \ 499 instanceCounts[drawID], baseInstances[drawID], true)); \ [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 1007 #define DRAW_ARRAYS__ contextImpl->drawArrays(context, mode, firsts[drawID], counts[drawID]) 1009 contextImpl->drawArraysInstanced(context, mode, firsts[drawID], counts[drawID], \ 1010 instanceCounts[drawID]) 1012 contextImpl->drawElements(context, mode, counts[drawID], type, indices[drawID]) 1014 contextImpl->drawElementsInstanced(context, mode, counts[drawID], type, indices[drawID], \ 1015 instanceCounts[drawID]) 1017 contextImpl->drawArraysInstancedBaseInstance(context, mode, firsts[drawID], counts[drawID], \ 1018 instanceCounts[drawID], baseInstances[drawID]) 1021 context, mode, counts[drawID], type, indices[drawID], instanceCounts[drawID], \ 1022 baseVertices[drawID], baseInstances[drawID]) [all …]
|
D | renderer_utils.h | 457 #define ANGLE_SET_DRAW_ID_UNIFORM_0(drawID) \ argument 459 #define ANGLE_SET_DRAW_ID_UNIFORM_1(drawID) programObject->setDrawIDUniform(drawID) argument 473 #define ANGLE_NOOP_DRAW_ context->noopDraw(mode, counts[drawID]) 475 context->noopDrawInstanced(mode, counts[drawID], instanceCounts[drawID]) 479 gl::MarkTransformFeedbackBufferUsage(context, counts[drawID], 1) 481 gl::MarkTransformFeedbackBufferUsage(context, counts[drawID], instanceCounts[drawID])
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Context.cpp | 5483 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in multiDrawArrays() local 5485 if (noopDraw(mode, counts[drawID])) in multiDrawArrays() 5489 programObject->setDrawIDUniform(drawID); in multiDrawArrays() 5491 mImplementation->drawArrays(this, mode, firsts[drawID], counts[drawID])); in multiDrawArrays() 5492 MarkTransformFeedbackBufferUsage(this, counts[drawID], 1); in multiDrawArrays() 5498 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in multiDrawArrays() local 5500 if (noopDraw(mode, counts[drawID])) in multiDrawArrays() 5505 mImplementation->drawArrays(this, mode, firsts[drawID], counts[drawID])); in multiDrawArrays() 5506 MarkTransformFeedbackBufferUsage(this, counts[drawID], 1); in multiDrawArrays() 5523 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in multiDrawArraysInstanced() local [all …]
|
D | validationES3.cpp | 3182 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawArraysInstancedANGLE() local 3184 if (!ValidateDrawArraysInstancedBase(context, mode, firsts[drawID], counts[drawID], in ValidateMultiDrawArraysInstancedANGLE() 3185 instanceCounts[drawID])) in ValidateMultiDrawArraysInstancedANGLE() 3218 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawElementsInstancedANGLE() local 3220 if (!ValidateDrawElementsInstancedBase(context, mode, counts[drawID], type, indices[drawID], in ValidateMultiDrawElementsInstancedANGLE() 3221 instanceCounts[drawID])) in ValidateMultiDrawElementsInstancedANGLE() 3286 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawArraysInstancedBaseInstanceANGLE() local 3288 if (!ValidateDrawArraysInstancedBase(context, mode, firsts[drawID], counts[drawID], in ValidateMultiDrawArraysInstancedBaseInstanceANGLE() 3289 instanceCounts[drawID])) in ValidateMultiDrawArraysInstancedBaseInstanceANGLE() 3316 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE() local [all …]
|
D | validationES2.cpp | 7152 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawArraysANGLE() local 7154 if (!ValidateDrawArrays(context, mode, firsts[drawID], counts[drawID])) in ValidateMultiDrawArraysANGLE() 7174 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawElementsANGLE() local 7176 if (!ValidateDrawElements(context, mode, counts[drawID], type, indices[drawID])) in ValidateMultiDrawElementsANGLE()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | EmulateMultiDrawShaderBuiltins.cpp | 113 const TVariable *drawID = in EmulateGLDrawID() local 134 DeclareGlobalVariable(root, drawID); in EmulateGLDrawID() 135 ReplaceVariable(root, builtInVariable, drawID); in EmulateGLDrawID()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | EmulateMultiDrawShaderBuiltins.cpp | 132 const TVariable *drawID = in EmulateGLDrawID() local 134 const TIntermSymbol *drawIDSymbol = new TIntermSymbol(drawID); in EmulateGLDrawID() 154 DeclareGlobalVariable(root, drawID); in EmulateGLDrawID()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationES3.cpp | 3717 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawArraysInstancedANGLE() local 3719 if (!ValidateDrawArraysInstancedBase(context, entryPoint, mode, firsts[drawID], in ValidateMultiDrawArraysInstancedANGLE() 3720 counts[drawID], instanceCounts[drawID])) in ValidateMultiDrawArraysInstancedANGLE() 3754 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawElementsInstancedANGLE() local 3756 if (!ValidateDrawElementsInstancedBase(context, entryPoint, mode, counts[drawID], type, in ValidateMultiDrawElementsInstancedANGLE() 3757 indices[drawID], instanceCounts[drawID])) in ValidateMultiDrawElementsInstancedANGLE() 3826 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawArraysInstancedBaseInstanceANGLE() local 3828 if (!ValidateDrawArraysInstancedBase(context, entryPoint, modePacked, firsts[drawID], in ValidateMultiDrawArraysInstancedBaseInstanceANGLE() 3829 counts[drawID], instanceCounts[drawID])) in ValidateMultiDrawArraysInstancedBaseInstanceANGLE() 3857 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE() local [all …]
|
D | validationES2.cpp | 6217 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawArraysANGLE() local 6219 if (!ValidateDrawArrays(context, entryPoint, mode, firsts[drawID], counts[drawID])) in ValidateMultiDrawArraysANGLE() 6240 for (GLsizei drawID = 0; drawID < drawcount; ++drawID) in ValidateMultiDrawElementsANGLE() local 6242 if (!ValidateDrawElements(context, entryPoint, mode, counts[drawID], type, indices[drawID])) in ValidateMultiDrawElementsANGLE()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.0.0.rst | 2045 - mesa: remove constant drawID parameter from \_mesa_draw_arrays
|