• Zebediah Figura's avatar
    wined3d: Trigger constant update when an SRV requiring NPOT fixup is bound. · 60e4722b
    Zebediah Figura authored
    Ported from state_sampler().
    
    This is currently relevant to the case where a d3d11 device is created with a
    9.x feature level—this will have resources bound via SRVs [and will therefore
    go through wined3d_context_gl_bind_shader_resources() rather than
    state_sampler()] but need not support ARB_texture_non_power_of_two.
    
    The NPOT non-requirement is explicitly called out in the d3d11 documentation,
    and because we need some degree of emulation for conditional NPOT textures, we
    need to hook that up for feature level 9.x d3d11 devices as well.
    
    Looking forward, d3d 1-9 will be normalized to creating internal SRVs and
    binding those through the d3d10+ path, so this will also be necessary for that
    reason.
    60e4722b
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...