mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
|
From 403ca5c3b1f87c94c800e2a40480083eec09ebf5 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||
|
Date: Thu, 25 Aug 2016 19:26:07 +0200
|
||
|
Subject: wined3d: Allow creation of 1d shader views.
|
||
|
|
||
|
---
|
||
|
dlls/wined3d/view.c | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/dlls/wined3d/view.c b/dlls/wined3d/view.c
|
||
|
index 7f07d57..97cc11e 100644
|
||
|
--- a/dlls/wined3d/view.c
|
||
|
+++ b/dlls/wined3d/view.c
|
||
|
@@ -291,6 +291,10 @@ static HRESULT wined3d_shader_resource_view_init(struct wined3d_shader_resource_
|
||
|
}
|
||
|
view_types[] =
|
||
|
{
|
||
|
+ {GL_TEXTURE_1D, 0, GL_TEXTURE_1D},
|
||
|
+ {GL_TEXTURE_1D, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_1D_ARRAY},
|
||
|
+ {GL_TEXTURE_1D_ARRAY, 0, GL_TEXTURE_1D},
|
||
|
+ {GL_TEXTURE_1D_ARRAY, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_1D_ARRAY},
|
||
|
{GL_TEXTURE_2D, 0, GL_TEXTURE_2D},
|
||
|
{GL_TEXTURE_2D, WINED3D_VIEW_TEXTURE_ARRAY, GL_TEXTURE_2D_ARRAY},
|
||
|
{GL_TEXTURE_2D_ARRAY, 0, GL_TEXTURE_2D},
|
||
|
--
|
||
|
2.8.1
|
||
|
|