Home
last modified time | relevance | path

Searched refs:fragCoord (Results 1 - 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelProgram.cpp92 routine.fragCoord[0] = SIMD::Float(Float(x)) + SIMD::Float(x0, x1, x0, x1); in setBuiltins()
93 routine.fragCoord[1] = SIMD::Float(Float(y)) + SIMD::Float(y0, y0, y1, y1); in setBuiltins()
94 routine.fragCoord[2] = z[0]; // sample 0 in setBuiltins()
95 routine.fragCoord[3] = w; in setBuiltins()
104 // Note we don't add a 0.5 offset to x and y here (like for fragCoord) because pointCoordX/Y have 0.5 subtracted as part of the viewport transform. in setBuiltins()
116 value[builtin.FirstComponent + 0] = routine.fragCoord[0]; in setBuiltins()
117 value[builtin.FirstComponent + 1] = routine.fragCoord[1]; in setBuiltins()
118 value[builtin.FirstComponent + 2] = routine.fragCoord[2]; in setBuiltins()
119 value[builtin.FirstComponent + 3] = routine.fragCoord[3]; in setBuiltins()
H A DSpirvShaderDebugger.cpp1243 sw::SIMD::vec4 fragCoord;
2463 buildGlobal("fragCoord", state->globals.fragment.fragCoord);
2637 store(fragment + OFFSET(Globals::Fragment, fragCoord), routine->fragCoord);
H A DSpirvShader.hpp1501 std::array<SIMD::Float, 4> fragCoord;
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_from_common.h54 Value *fragCoord[4]; member in nv50_ir::ConverterCommon
H A Dnv50_ir_from_tgsi.cpp1847 insn->setSrc(1, fragCoord[3]); in interpolate()
3142 w = fragCoord[3]; in handleINTERP()
4376 fragCoord[3] = mkOp1v(OP_RDSV, TYPE_F32, getSSA(), sv); in run()
4377 mkOp1(OP_RCP, TYPE_F32, fragCoord[3], fragCoord[3]); in run()
H A Dnv50_ir_from_nir.cpp1389 fragCoord[3] = mkOp1v(OP_RDSV, TYPE_F32, getSSA(), sv);
1390 fp.position = mkOp1v(OP_RCP, TYPE_F32, fragCoord[3], fragCoord[3]);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DTranslatorMetalDirect.cpp315 const TVariable *fragCoord = static_cast<const TVariable *>( in InsertFragCoordCorrection() local
318 fragCoord, kFlippedFragCoordName, pivot, fragRotation); in InsertFragCoordCorrection()
934 const TVariable *fragCoord = static_cast<const TVariable *>( in translateImpl() local
936 DeclareRightBeforeMain(*root, *fragCoord); in translateImpl()
H A DTranslatorVulkan.cpp644 const TVariable *fragCoord = static_cast<const TVariable *>( in InsertFragCoordCorrection() local
647 fragCoord, kFlippedFragCoordName, pivot, fragRotation); in InsertFragCoordCorrection()
719 const TVariable *fragCoord = static_cast<const TVariable *>( in AddBresenhamEmulationFS() local
721 TIntermSwizzle *fragCoordXY = CreateSwizzle(new TIntermSymbol(fragCoord), 0, 1); in AddBresenhamEmulationFS()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderBuiltinVarTests.cpp340 const tcu::Vec3 fragCoord (float(x)+.5f, float(y)+.5f, z); in iterate()
341 const tcu::Vec3 scaledFC = fragCoord*scale; in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderBuiltinVarTests.cpp358 const tcu::Vec3 fragCoord (float(x)+.5f, float(y)+.5f, z); in iterate()
359 const tcu::Vec3 scaledFC = fragCoord*scale; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderBuiltinVarTests.cpp1793 const Vec3 fragCoord (float(x) + .5f, float(y) + .5f, z); in iterate()
1794 const Vec3 scaledFC = fragCoord*scale; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderBuiltinVarTests.cpp1793 const Vec3 fragCoord (float(x) + .5f, float(y) + .5f, z); in iterate()
1794 const Vec3 scaledFC = fragCoord*scale; in iterate()
/third_party/skia/src/sksl/codegen/
H A DSkSLSPIRVCodeGenerator.cpp2100 dsl::DSLGlobalVar fragCoord("sk_FragCoord"); in writeVariableReference()
2101 return this->getLValue(*dsl::DSLExpression(fragCoord).release(), out)->load(out); in writeVariableReference()

Completed in 36 milliseconds