Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthTests.cpp205 deUint32 shaderID = context.createProgram(&shader); in render() local
219 shader.setColor(context, shaderID, red); in render()
220 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
222 shader.setColor(context, shaderID, green); in render()
223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
227 shader.setColor(context, shaderID, red); in render()
228 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); in render()
230 shader.setColor(context, shaderID, green); in render()
231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); in render()
235 shader.setColor(context, shaderID, red); in render()
[all …]
Des2fFboRenderTest.cpp704 deUint32 shaderID = context.createProgram(&shader); in render() local
706 shader.setUnit(context, shaderID, 0); in render()
710 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
960 deUint32 shaderID = context.createProgram(&shader); in render() local
970 shader.setUnit(context, shaderID, 0); in render()
981 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
989 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
1015 deUint32 shaderID = context.createProgram(&shader); in render() local
1051 shader.setUnit(context, shaderID, 0); in render()
1052 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
[all …]
Des2fTextureSpecificationTests.cpp574 deUint32 shaderID = getCurrentContext()->createProgram(&m_tex2DShader); in renderTex2D() local
576 m_tex2DShader.setUniforms(*getCurrentContext(), shaderID); in renderTex2D()
577 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTex2D()
601 deUint32 shaderID = getCurrentContext()->createProgram(shaders[face]); in renderTexCube() local
603 shaders[face]->setUniforms(*getCurrentContext(), shaderID); in renderTexCube()
604 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*… in renderTexCube()
1326 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() local
1332 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
1374 deUint32 shaderID = getCurrentContext()->createProgram(&shader); in createTexture() local
1382 …sglr::drawQuad(*getCurrentContext(), shaderID, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(1.0f, 1.0f… in createTexture()
[all …]
Des2fTextureUnitTests.cpp906 deUint32 shaderID = context.createProgram(m_shader); in render() local
912 m_shader->setUniforms(context, shaderID); in render()
913 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthTests.cpp208 deUint32 shaderID = context.createProgram(&shader); in render() local
222 shader.setColor(context, shaderID, red); in render()
223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
225 shader.setColor(context, shaderID, green); in render()
226 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
230 shader.setColor(context, shaderID, red); in render()
231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); in render()
233 shader.setColor(context, shaderID, green); in render()
234 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); in render()
238 shader.setColor(context, shaderID, red); in render()
[all …]
Des3fTextureSpecificationTests.cpp312 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture() local
315 shader.setUniforms(*ctx, shaderID); in verifyTexture()
316 renderTex(dst, shaderID, levelW, levelH); in verifyTexture()
403 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture() local
406 shader.setUniforms(*ctx, shaderID); in verifyTexture()
407 renderTex(dst, shaderID, levelSize, levelSize); in verifyTexture()
503 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture() local
506 shader.setUniforms(*ctx, shaderID); in verifyTexture()
507 renderTex(dst, shaderID, levelW, levelH); in verifyTexture()
604 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture() local
[all …]
Des3fTextureUnitTests.cpp1211 deUint32 shaderID = context.createProgram(m_shader); in render() local
1217 m_shader->setUniforms(context, shaderID); in render()
1218 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
Des3fFboRenderTest.cpp826 deUint32 shaderID = context.createProgram(&shader); in render() local
828 shader.setUniforms(context, shaderID); in render()
832 sglr::drawQuad(context, shaderID, Vec3(-0.9f, -0.9f, 0.0f), Vec3(0.9f, 0.9f, 0.0f)); in render()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPixelProcessor.cpp83 state.shaderID = fragmentShader->getIdentifier(); in update()
88 state.shaderID = 0; in update()
190 routine = (*generator)("PixelRoutine_%0.8X", state.shaderID); in routine()
DVertexProcessor.cpp72 state.shaderID = vertexShader->getIdentifier(); in update()
102 routine = (*generator)("VertexRoutine_%0.8X", state.shaderID); in routine()
DVertexProcessor.hpp67 uint64_t shaderID; member
DPixelProcessor.hpp66 uint64_t shaderID; member
/third_party/flutter/skia/src/shaders/
DSkPictureShader.cpp51 uint32_t shaderID, in BitmapShaderKey()
64 this->init(&gBitmapShaderKeyNamespaceLabel, MakeSharedID(shaderID), keySize); in BitmapShaderKey()
67 static uint64_t MakeSharedID(uint32_t shaderID) { in MakeSharedID()
69 return (sharedID << 32) | shaderID; in MakeSharedID()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DShaderGL.h23 GLuint shaderID,
DShaderGL.cpp151 GLuint shaderID, in ShaderGL() argument
155 mShaderID(shaderID), in ShaderGL()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DShaderGL.h23 GLuint shaderID,
DShaderGL.cpp149 GLuint shaderID, in ShaderGL() argument
153 mShaderID(shaderID), in ShaderGL()
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp559 if (GrGLuint shaderID = GrGLCompileAndAttachShader(glGpu->glContext(), programID, type, in PrecompileProgram() local
562 shadersToDelete.push_back(shaderID); in PrecompileProgram()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DVertexProcessor.cpp939 state.shaderID = context->vertexShader->getSerialID(); in update()
943 state.shaderID = 0; in update()
1118 routine = (*generator)("VertexRoutine_%0.8X", state.shaderID); in routine()
DVertexProcessor.hpp53 uint64_t shaderID; member
DPixelProcessor.cpp971 state.shaderID = context->pixelShader->getSerialID(); in update()
975 state.shaderID = 0; in update()
1213 routine = (*generator)("PixelRoutine_%0.8X", state.shaderID); in routine()
DPixelProcessor.hpp37 int shaderID; member
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp291 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture() local
294 shader.setUniforms(*ctx, shaderID); in verifyTexture()
295 renderTex(dst, shaderID, levelSize, levelSize); in verifyTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DContext.cpp884 const ShaderProgramID shaderID = PackParam<ShaderProgramID>(createShader(type)); in createShaderProgramv() local
885 if (shaderID.value) in createShaderProgramv()
887 Shader *shaderObject = getShader(shaderID); in createShaderProgramv()
908 deleteShader(shaderID); in createShaderProgramv()
914 deleteShader(shaderID); in createShaderProgramv()
933 deleteShader(shaderID); in createShaderProgramv()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp5129 gl::ShaderProgramID shaderID = in maybeCapturePreCallUpdates() local
5132 const gl::Shader *shader = context->getShader(shaderID); in maybeCapturePreCallUpdates()
5136 setShaderSource(shaderID, shader->getSourceString()); in maybeCapturePreCallUpdates()