Sweden-Number/dlls/wined3d
Henri Verbeet 00275acca8 wined3d: Validate format capabilities against the bind flags instead of the usage flags in resource_init().
Note that buffer resources don't have an inherent format, so validating bind
flags against WINED3DFMT_UNKNOWN doesn't make a lot of sense. This wasn't an
issue previously because d3d11 doesn't set the usage flags corresponding to
the bind flags for buffer resources, and earlier versions of D3D didn't allow
buffers to be used as e.g. shader resources.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:17:36 +01:00
..
Makefile.in wined3d: Move OpenGL initialisation code to adapter_gl.c. 2018-08-17 18:47:00 +02:00
adapter_gl.c wined3d: Avoid using GL_MAX_VARYING_FLOATS_ARB in core profile contexts. 2018-10-13 00:30:57 +02:00
arb_program_shader.c wined3d: Pass correct bind flags to texture creation functions. 2018-10-31 16:17:36 +01:00
ati_fragment_shader.c wined3d: Get rid of the dst_arg enum. 2018-03-23 14:02:53 +01:00
buffer.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
context.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
cs.c wined3d: Move the "target" field from struct wined3d_texture to struct wined3d_texture_gl. 2018-10-30 10:53:59 +01:00
device.c wined3d: Pass correct bind flags to swapchain creation functions. 2018-10-31 16:17:36 +01:00
directx.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
gl_compat.c
glsl_shader.c wined3d: Pass correct bind flags to texture creation functions. 2018-10-31 16:17:36 +01:00
nvidia_texture_shader.c wined3d: Move the "target" field from struct wined3d_texture to struct wined3d_texture_gl. 2018-10-30 10:53:59 +01:00
palette.c wined3d: Use the global memory allocation helpers. 2018-02-14 09:06:58 +01:00
query.c wined3d: Add sync object after query buffer issue. 2018-10-15 20:13:51 +02:00
resource.c wined3d: Validate format capabilities against the bind flags instead of the usage flags in resource_init(). 2018-10-31 16:17:36 +01:00
sampler.c wined3d: Move the "target" field from struct wined3d_texture to struct wined3d_texture_gl. 2018-10-30 10:53:59 +01:00
shader.c wined3d: Move the "target" field from struct wined3d_texture to struct wined3d_texture_gl. 2018-10-30 10:53:59 +01:00
shader_sm1.c wined3d: Use the global memory allocation helpers. 2018-02-14 09:06:58 +01:00
shader_sm4.c wined3d: Accept full DXBC. 2018-10-05 11:25:53 -05:00
state.c wined3d: Move the "target" field from struct wined3d_texture to struct wined3d_texture_gl. 2018-10-30 10:53:59 +01:00
stateblock.c wined3d: Store the blend factor as a struct wined3d_color. 2018-10-18 01:00:52 +02:00
surface.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
swapchain.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
texture.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
utils.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
version.rc
vertexdeclaration.c wined3d: Introduce WINED3DFMT_FLAG_VERTEX_ATTRIBUTE. 2018-09-14 12:48:31 +02:00
view.c wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00
wined3d.spec wined3d: Pass bind flags to wined3d_check_device_format(). 2018-10-31 16:17:36 +01:00
wined3d_gl.h wined3d: Implement depth bias clamp. 2018-10-08 20:27:00 +02:00
wined3d_main.c wined3d: Also default to OpenGL core contexts on NVIDIA GPUs. 2018-10-08 20:26:53 +02:00
wined3d_private.h wined3d: Pass bind flags to wined3d_get_format(). 2018-10-31 16:17:36 +01:00