Skip to content
Snippets Groups Projects
Commit bacc24a0 authored by Niklas Haas's avatar Niklas Haas
Browse files

shaders/sampling: generalize PL_SHADER_SIG_SAMPLER2D

This allows us to accept sampler types other than sampler2D. In
principle, any sampler type is supported, but due to shaders/sampling
being the only user of this API, we can restrict ourselves to only 2D
samplers in the implementation. Notably, though, we also support e.g.
PL_SAMPLER_RECT.
parent 663c8cb3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment