Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:e0709176be0f75f889c92d5bf3c708601dd371a5
  • Code
  • Branches (1)
  • Releases (0)
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • cb9187d
  • /
  • dbg_cm.frag
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge Iframe embedding
swh:1:cnt:c2353a586db8e9864db636b5f9bfd427b030dfd7
directory badge Iframe embedding
swh:1:dir:cb9187d2b0589a2aab4ebc94781e690c18c7a26e
revision badge
swh:1:rev:a26bd38e4abcbfd6bf58e9a5fa424d9ceb959960
snapshot badge
swh:1:snp:e0709176be0f75f889c92d5bf3c708601dd371a5
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: a26bd38e4abcbfd6bf58e9a5fa424d9ceb959960 authored by Sylvain Thery on 02 December 2022, 14:10:09 UTC
update README
Tip revision: a26bd38
dbg_cm.frag
#version 300 es
precision highp float;
precision highp sampler2DArray;
uniform sampler2DArray TU_cm;
uniform int id_cm;
in vec2 tc;
in vec3 P;
out vec4 frag_out;

void main()
{
	vec3 texel = texture(TU_cm,vec3(tc,id_cm)).rgb;
	frag_out = vec4(texel,1);
}

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top