vmw_shader_id_ok(9)
π NAME π
okay so welcome to the vmw_shader_id_ok(9) page in the Kernel API Manual π this function does a vibe check on a compat shader user key + shader type to see whether theyβre within valid bounds. thatβs the whole name, bestie β no cap.
β¨ SYNOPSIS β¨
bool vmw_shader_id_ok (u32 user_key , SVGA3dShaderType shader_type );
π«Ά ARGUMENTS π«Ά
user_keyβ the user space id of the shader. yes, thatβs the key, periodt.shader_typeβ the shader type. iconic little type parameter.
π DESCRIPTION π
it returns true if valid and false if not. literally that simple, no extra lore, no side quests. vibe check passed? thatβs true π vibe check failed? thatβs false π bestie π¦
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_shader.cβ the main character file for this whole shader situation π vmw_res_to_dx_shader(9)vmw_dx_shader_commit_notify(9)vmw_dx_shader_unscrub(9)vmw_dx_shader_create(9)vmw_dx_shader_bind(9)vmw_dx_shader_scrub(9)vmw_dx_shader_unbind(9)vmw_dx_shader_cotable_list_scrub(9)vmw_dx_shader_res_free(9)vmw_dx_shader_add(9)vmw_shader_key(9)vmw_shader_remove(9)vmw_compat_shader_add(9)vmw_shader_lookup(9)
mwah π thatβs the whole page, served fresh from ./drivers/gpu/drm/vmwgfx and dated October 2026 β slay, go read the source bestie π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms