
Real Interview Questions for the Graphics Engineer at CD Projekt
NewPractice MCQs
Answers count toward the Graphics Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A renderer loads a 4K texture into `Texture tex;` and calls `gpu.upload(std::move(tex));`, where `upload` takes `Texture&&` and stores the buffer on the GPU. After the call, the renderer destroys `tex` at scope exit. What state is `tex` guaranteed to be in?
Answer to see the discussion.
MCQ-2A C++ renderer passes `std::vector<uint8_t> texture` by value to `UploadTexture`, which moves it into a GPU buffer, then the caller logs `texture.size()` and reads `texture[0]` expecting the original pixels. What does the caller observe?
Answer to see the discussion.
MCQ-3A particle system updates 1,200,000 vertices every frame at 60 Hz, calling a `std::function<void(Vertex&)>` stored per system to apply forces. Profiling shows the call overhead dominates the update and the compiler cannot inline through the type erasure. What change removes that overhead while keeping the call site readable?
Answer to see the discussion.
MCQ-4A client sends a `HitEvent` claiming `damage=9999` against `targetId=42`, and the server applies that damage directly to the boss. The client is untrusted and can be modified. What must the server do with this event before applying it?
Answer to see the discussion.
MCQ-5A co-op shooter sends a one-shot `PickupCollected` event over unreliable UDP, and a duplicate packet grants the item twice. The client must apply each pickup exactly once before the next snapshot arrives. Which handling prevents the duplicate grant?
Answer to see the discussion.
MCQ-6A shipped PS5 patch adds dense forest foliage and players report stutter only there on base hardware. Profiling shows frame time spikes when new foliage LODs stream in, with no GPU saturation between spikes. What is the most likely root cause to investigate first?
Answer to see the discussion.
MCQ-7Three days before certification, a PS5 build intermittently hangs in one cutscene after a bloom pass was added. Profiling isolates an uninitialized uniform in the shader variant used only there, while a compiler validation fix would touch every variant and needs two weeks. What should the graphics engineer ship?
Answer to see the discussion.
Curated: · Written: · Reviewed: