Skip to content

Instantly share code, notes, and snippets.

@Groovounet
Groovounet / gist:01aa31a61ea81f9f3009a9e5ec7cddb1
Created February 14, 2018 17:04
Independent texture fetches with ASM
#version 430 core
#define FETCH_COUNT 16
#define FRAG_COLOR 0
#define NORMALIZE_COORD float(1.0 / 2048.0)
layout(binding = 0) uniform sampler2D Texture[FETCH_COUNT];