Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit907acce

Browse files
tests: Fix D3D12 validation error in copy_texture test.
Copy out of bounds now seems to trigger device lost.Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
1 parent8b92d8e commit907acce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/d3d12_copy.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void test_copy_texture(void)
207207

208208
for (i=0;i<ARRAY_SIZE(resource_states);++i)
209209
{
210-
src_texture=create_default_texture(device,16,16,DXGI_FORMAT_R8G8B8A8_UNORM,
210+
src_texture=create_default_texture(device,4,4,DXGI_FORMAT_R8G8B8A8_UNORM,
211211
0,D3D12_RESOURCE_STATE_COPY_DEST);
212212
texture_data.pData=bitmap_data;
213213
texture_data.RowPitch=4*sizeof(*bitmap_data);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp