[Mesa-dev] [Bug 106480] A2B10G10R10_SNORM vertex attribute doesn't work.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 11 22:30:22 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106480
Bug ID: 106480
Summary: A2B10G10R10_SNORM vertex attribute doesn't work.
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/radeon
Assignee: mesa-dev at lists.freedesktop.org
Reporter: maister at archlinux.us
QA Contact: mesa-dev at lists.freedesktop.org
Created attachment 139506
--> https://bugs.freedesktop.org/attachment.cgi?id=139506&action=edit
Pipelines
I've tried to make a vertex shader which uses this vertex format, but it does
not work on RADV.
It is almost as if the format becomes SNORM for RGB, but UNORM for A.
To replay the pipeline creation:
git clone git://github.com/Themaister/Fossilize
cd Fossilize
git submodule update --init
mkdir build
cd build
cmake ..
make -j16
./cli/fossilize-replay /tmp/pipelines.json --filter-graphics 0
The ISA generated in VK_AMD_shader_info is:
.cli/fossilize-disasm /tmp/pipelines.json --target amd --graphics-pipeline 0
--stage vert
s_load_dwordx4 s[8:11], s[2:3], 0x0 ; C00A0201 00000000
s_load_dwordx4 s[0:3], s[2:3], 0x10 ; C00A0001 00000010
v_add_u32_e32 v0, vcc, s4, v0 ; 32000004
v_mov_b32_e32 v6, 1.0 ; 7E0C02F2
v_mov_b32_e32 v7, 0 ; 7E0E0280
s_waitcnt lgkmcnt(0) ; BF8C007F
buffer_load_format_xy v[4:5], v0, s[8:11], 0 idxen ; E0042000 80020400
buffer_load_format_xyzw v[0:3], v0, s[0:3], 0 idxen ; E00C2000 80000000
s_waitcnt vmcnt(1) ; BF8C0F71
exp pos0 v4, v5, v7, v6 done ; C40008CF 06070504
s_waitcnt vmcnt(0) ; BF8C0F70
exp param0 v0, v1, v2, v3 ; C400020F 03020100
s_endpgm ; BF810000
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180511/6a4f527f/attachment.html>
More information about the mesa-dev
mailing list