libobs/graphics: Add ability to set shader texture sampler

(Note: This also modifies libobs-d3d11 and libobs-opengl)

Allows overriding the sampler for a specific shader parameter.
This commit is contained in:
jp9000
2016-06-29 04:15:38 -07:00
parent f60952fe09
commit 4dc0024198
10 changed files with 60 additions and 0 deletions

View File

@@ -356,6 +356,7 @@ struct gs_shader_param {
gs_shader_param_type type;
uint32_t textureID;
struct gs_sampler_state *nextSampler = nullptr;
int arrayCount;